ROS CheatSheet
Catkin Commands
catkin_make
catkin_make --only-pkg-with-deps
catkin_create_pkg package dependencies
ROS Commands
roscore
roslaunch package x.launch
rosrun package x.py
roscd package
rospack list # list package
rospack profile # refrest package list
rospack depends turtlebot3_description
rosnode list # running node
rosnode info /node # example, /ObiWan
rosparam list
rosparam get parameter_name
rosparam set parameter_name value
rosparam get /camera/imager_rate
rosparam set /camera/imager_rate 4.0
rosparam get /camera/imager_rate
rosservice call /service_demo "{}"
rosservice call /gazebo/reset_simulation "{}"
rosservice call /gazebo/reset_world "{}"
rosservice call /gazebo/delete_model "my_robot"
rosrun rviz rviz
rostopic pub -r 10 /cmd_vel geometry_msgs/Twist '{linear: {x: 1.0, y: 0.0, z: 0.0}, angular: {x: 0.0,y: 0.0,z: 0.0}}
rostopic list
rostopic info /cmd_vel
rostopic echo /cmd_vel
Directories
/opt/ros/kinetic/share
~/.bashrc
~/.gazebo/models
~/.rviz
References