Respected Professor,
When I was solving exercise 4.4,
I did all. But…I couldn’t understand how do I give three different poses. I was thinking of giving velocities in three different loops for different times, but that didn’t work. Then I went for solution. They had given the following:
I realized that it’s been solved in a much more easier way than I thought. I rectified my code, but the robot is not moving at all. Below are the pictures of my code
I run the following command in the terminal:
roslaunch send_goals husky_launcher.launch
Do I need to run any other command in other terminal to make it move. Or, is there something I need to add in my python code. Please help me out.
Also, I didn’t understand that:
-
Is it compulsory to give the goal in the order of: map…then giving positions for x y and z…and then orientations
-
How do I know the sequence. For example:
goal.target_pose.header.frame_id = 'map'
. Is there any place where I can see this structure ? Yeah, I did see it in one place when I wrote the commandrostopic pub /move_base/goal move_base_msgs/MoveBaseActionGoal [tab][tab]
.
But, is this the only place where I can see and understand this structure ? Is there no other link to any website where I can understand this or any other command which can show me this much better likerosmsg show
etc -
Apparently the code is not in loop. Am I correct? Is that what I am supposed to add extra?
-
How do I make my loop infinite ? by adding ctrl_c shutdown loop ?
-
I think the code is only for one pose, so do I need to add two more ? The question asks 3 poses