Skip to content

ROS core nodes and controllers for the Be.Neuro Dynamic Mouse Joystick project. (Powered by RPi5 running Ubuntu 24.04 Server edition)

Notifications You must be signed in to change notification settings

aqc-github/JiggyJoystick

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dynamic Mouse Joystick

ROS2 Package

Running ROS2 Publisher and Subscriber Nodes

source JiggyJoystick/[workspace_path]/install/setup.bash

After sourcing your package, you can run your publisher and subscriber nodes using the ros2 run command.

Run the Publisher Node

ros2 run my_pubsub_pkg publisher

Run the Subscriber Node

In a new terminal (after sourcing your workspace and ROS2 setup files):

ros2 run my_pubsub_pkg subscriber

Important Notes:

  1. Make sure both terminal windows have sourced:

    • ROS2 installation: source /opt/ros/[distro]/setup.bash
    • Your workspace: source ~/[workspace_path]/install/setup.bash
  2. The exact node names depend on how they are defined in your setup.py or CMakeLists.txt file. If your node names are different, you'll need to use those names instead of "publisher" and "subscriber".

  3. You can verify available nodes in your package with:

    ros2 pkg executables my_pubsub_pkg

MicroROS Agent node:

  1. Source the MicroROS Agent environment:

    source JiggyJoystick/[workspace_path]/install/local_setup.bash
  2. Run the MicroROS Agent node:

    ros2 run micro_ros_agent micro_ros_agent serial --dev /dev/ttyUSB0

About

ROS core nodes and controllers for the Be.Neuro Dynamic Mouse Joystick project. (Powered by RPi5 running Ubuntu 24.04 Server edition)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published