[Bug] Robot gets stuck when moving forward

This is an error report.


Screenshot of the error


Error details

When running my custom_trajectory function, I try to move the robot straight first by calling the move_forward function and then try to make it turn using the turn function call, but the robot seems to be getting stuck after moving just a little (it's not hitting the wall).

This is unlikely to be a bug, but some gaps in your code or knowledge. It might as well be the way the code was designed to work.

If you could record a short screencast showing this problem, with every part shown (code, sim window, output on the web shell), we can see if there’s any problem.

If not, I would say that you should not worry too much about this now, as the goal of this course is to learn C++, not ROS. You will learn ROS better when you take the ROS basics courses.

Hi @vinaypra,

If this happens again, could you press the “Restart the simulation” button that appears on the top right corner of the simulation window?

We have instructions in the notebook about restarting it, but now I see that they may not be clear enough:


By the way, we have captured this on Issue 304 of the notebooks, @bayodesegun

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.