This repo has contains the 3th lab Intro to ROS. The goal of this lab is to set up the environment necesary to start working with ROS and familiarize the participants with its usage.
The version of software used is:
- ROS noetic
- Ubuntu 2020.4
- MATLAB 2023a
Testing the installation by running roscore
and in a second terminal
rosrun turtlesim turtlesim_node
and in a third
rosrun turtlesim turtle_teleop_key
The program created has the function to manage the topics in order to edit the pose and the orientation of the turtle. And, as turtlesim is subscribe to this topics we get the turtle move. We write in console the key and with this we can verify the correcto function of the program.
After seting up the catkin workspace . We create a basic ROS package
catkin_create_pkg robotics-lab3 std_msgs rospy roscpp turtlesim
Use the turtlesim package a base for the desired
rospack find turtlesim
#/opt/ros/noetic/share/turtlesim
cd ~/catkin_ws/
catkin_make
roslaunch robotics-lab3 mylaunch.launch
rosnode info turtle_teleop_key
In this lab we explored a powerful tool called ros that allows us to run different parallel processes with different programs and connect between them, its modular structure allows us to make changes in some of them without affecting the others, the use of ros allowed us to modify, in this particular case, the control of a program without altering its code, which opens a large window of opportunities when controlling processes.