Skip to content

robofoundry/twist_mux_example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Main steps to complete all installation

pre-requisites

  1. ROS2 foxy is installed
  2. You have twist_mux and xterm packages installed [don't worry if you don't you can do this by following next steps]
  3. clone the repo and follow steps below

next steps - get the code and build the workspace

  1. Get the code from github repo for dynabot
git clone https://github.com/robofoundry/twist_mux_example
  1. while in root workspace folder run the following command to execute shell script that will get code from all external github repos installed in workspace and run rosdep to install any depedencies that are missing [on both host and robot computer]
rosdep install --from-path src --ignore-src -y 
  1. while in root workspace folder run the following commands to build and launch the nodes
colcon build
source install/setup.bash
ros2 launch twist_mux_test twist_mux_test.launch.py

'''

publish single twist message every second

ros2 topic pub -r 1 /joy_cmd_vel geometry_msgs/msg/Twist '{linear: {x: 2.0, y: 0.0, z: 0.0}, angular: {x: 0.0, y: 0.0, z: 1.8}}'

'''

About

Example code for using twist_mux

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages