Robotics StackExchange | Archived questions

Why does the Turtlebot 2 rotates toward the desired goal?

I am currently working on the waypoint following of Turtlebot 2 in Gazebo. I am running Ubuntu 14.04 LTS with kernel 4.4.0-135-generic and ROS indigo 1.11.21. The simulated Turtlebot, instead of moving directly, it rotates toward the goal and eventually, it will reach the desired goal. I followed some advice to change the parameter such as simtim and goaltolerance in dwalocalplanner_params.yaml but it does not affect the result. May I know why does the rotation happen and is there any other approach to make a smoother trajectory? Thank you.

I used the python code in the following link, http://www.hotblackrobotics.com/en/blog/2018/01/29/seq-goals-py/ with this launch file, https://github.com/FiorellaSibona/turtlebot3_nav/blob/devel/catkin_ws/src/simple_navigation_goals/launch/movebase_seq.launch.

The following is the steps of launching the code: roslaunch turtlebotgazebo turtlebotworld.launch -> roslaunch turtlebotgazebo amcldemo.launch -> roslaunch turtlebotrvizlaunchers viewnavigation.launch -> roslaunch simplenavigationgoals movebaseseq.launch

Asked by lxu3nol on 2018-10-19 15:47:31 UTC

Comments

Not entirely clear what you're saying. Can you either post a picture or give a detailed description of the observed behavior vs. the expected behavior?

Asked by stevejp on 2018-10-25 19:26:38 UTC

Hi stevejp, the Turtlebot moves toward the goal smoothly if the goal I chose is located in front of it. The rotations happen when I chose the goal behind of the Turtlebot.

The following video shows the abnormal behavior of my Turtlebot in simulation, https://www.youtube.com/watch?v=qXkP-vu_ag4

Asked by lxu3nol on 2018-11-06 17:31:05 UTC

Answers