-
This catkin workspace
ss_ws
contains two packages which were covered in the lecture slides:tut1:
Simple publisher and subscriber transferringHello world
string messages.learning_tf:
Tf broadcaster and listener code, along with the launch file.
-
In order to run the tutorials you need to install ROS according to your ubuntu distribution and build the workspace by running:
- You need to install ros dependencies used in the tutorial, by (replace
kinetic
bymelodic
forUbuntu 18.04
):sudo apt-get install ros-kinetic-ros-tutorials
sudo apt-get install ros-kinetic-ros-tutorials ros-kinetic-geometry-tutorials ros-kinetic-rviz ros-kinetic-rosbash ros-kinetic-rqt-tf-tree
source /opt/ros/kinetic/setup.bash
# Source ROS workspacecd ss_ws
catkin_make
# This would createdevel
andbuild
folder inss_ws
source devel/setup.bash
# Source current workspace path
- You need to install ros dependencies used in the tutorial, by (replace
-
tut1
:- It contains two nodes in the folder
ss_ws/src/tut1/src/
:listener.py
andtalker.py
- In order to run the nodes, do:
roscore
./listner.py
./talker.py
- It contains two nodes in the folder
-
learning_tf
:- It contains two nodes in the folder
ss_ws/src/learning_tf/src/
:turtle_tf_listener.py
andturtle_tf_broadcaster.py
. - In order to run the nodes, do:
roslaunch learning_tf start_demo.launch
- It contains two nodes in the folder
-
References for the tutorials:
ros
Folders and files
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||