labsheet robotic 1
labsheet robotic 1
To manage this loosely coupled environment, ROS includes a Master node, which is
responsible for name registration and lookup. This allows nodes to find each other and
exchange messages even if they are running on different computers. Without the
Master node, the ROS system would not be able to function. The structure of the ROS
framework is shown in Figure 1.
Figure 1
Objective
At the end of the lab, the students will be able to:-
a. Understand the ROS framework in designing the application of the robotics.
b. Identify the function of the basic ROS command.
c. Use the basic ROS command in executing the robotic operation.
d. Work in a group to undertake the task and produce the technical work report.
1
CEEM242 MEK628-ROBOTIC TECHNOLOGY OCT2023
Theoritical Background
Theoretical back ground can be referred to introduction and notes given in the
lecture .Briefing is given in the beginning of this exercise.
Problem Statement
Question 1
Get the information of the cmd_vel topic and the message structure of the
geometry_msgs/Twist.
a. Show the command used to get the information of the cmd_vel topic.
b. List the output of the command in (a).
c. Show the command used to get the information of the message structure of
geometry_msgs/Twist.
d. List the output of the command in (c).
Question 2
By Using turtlesim node, move turtle1 to a new position by using linear velocity of x=2,
y=0, z = 0 and angular velocity of x=0, y= 0, z = 2 by using terminal.
a. Show the command.
b. Show the output.
c. What is the pose value of turtle1?
Question 3
Spawn a new turtle, namely, turtle2 and move it to a new position x=-2, y=-2, Ɵ = 1
by using terminal.
a. Try to read out the current position of the second turtle by terminal.
b. Then, move the turtle to draw a square shape.
c. Show the command.
d. Show the output.
Question 4
Move turtle1 to draw a circle shape continuously.
a. Show the command.
b. Now, show the pose of turtle1.
Methods
Student have to use determine the suitable procedures to answer all the given
questions in the problem statement.
2
CEEM242 MEK628-ROBOTIC TECHNOLOGY OCT2023
The report must be submitted 7 days after the completion of the exercise.
3
CEEM242 MEK628-ROBOTIC TECHNOLOGY OCT2023
4
CEEM242 MEK628-ROBOTIC TECHNOLOGY OCT2023