Lecture 2. Ros Basic
Lecture 2. Ros Basic
ROS BASIC
Contents
• Ros master, nodes, and topic
• Console commands
• Catkin workspace and build system
• Launch-files
• Gazebo simulator
*.msg
Publish Subscribe
Int velx
Topic
Int vely
String description Message definition
> roscore
• Catkin is the ROS build system to generate executables, libraries, and interfaces
• Suggest to use the Catkin Command Line Tools
Use catkin build instead of catkin_make
> cd ~/catkin_ws
The source space contains the The build space is where The development (devel) space
source code. This is where you CMake is invoked to build the is where built targets are placed
can clone, create, and edit packages in the source space. (prior to being installed).
source code for the packages Cache information and other
you want to build. intermediate files are kept here
http://catkin-tools.readthedocs.io/en/latest/verbs/catkin_config.html
http://catkin-tools.readthedocs.io/en/latest/cheat_sheet.html
https://emanual.robotis.com/docs/en/platform/turtlebot3/overview/
http://wiki.ros.org/turtlesim
$(arg arg_name)
http://wiki.ros.org/roslaunch/XML/arg
$(find package_name)
http://wiki.ros.org/roslaunch/XML/include
http://gazebosim.org/
http://gazebosim.org/tutorials