ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Problem of Robot Tracking A Desired Trajectory

asked 2016-01-20 16:52:06 -0600

tn0432 gravatar image

Hello! I am studying the problem of robot tracking a desired trajectory. I have designed my implementation as following description:

I have my robot frame, \robot_frame, and desired position frame, \goal. I write a ROS node to make the \goal run on a desired trajectory. I use tf to calculate the position errors (i.e. transforms between \goal and \robot_frame). By minimizing the position errors, the robot can track the desired trajectory.

However, when the robot bypass the desired position (overshoot), it will try to turn back because my \goal frame runs slowly on the desired trajectory. It will make my robot unstable. I can improve my position controller for better performance but it is not good way to go.

Does anyone have any idea how to eliminate the turning back?


edit retag flag offensive close merge delete


This doesn't seem like it is really a ROS question, it seems more like a control systems question. There are likely better sources for help. That said, anyone that would want to help you needs to know a little bit about your robot.

jarvisschultz gravatar image jarvisschultz  ( 2016-01-20 17:12:48 -0600 )edit

The specifics of the kinematic (or dynamic) model are going to have a serious impact on what types of controllers will be effective for your system. Based on your reference to "turning back", I think you may be have a differential drive robot or some other sort of kinematic mobile robot. Correct?

jarvisschultz gravatar image jarvisschultz  ( 2016-01-20 17:15:04 -0600 )edit

My robot is quadrotor. PID is good enough. Actually, I want to find out the best way to provide the desired trajectory and desired position? Or other anyway to provide desired trajectory in ROS?

tn0432 gravatar image tn0432  ( 2016-01-20 17:37:11 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2016-01-20 19:49:27 -0600

Did you take a look to hector_quadrotor stack? It contains packages related to modeling, control and simulation of quadrotor UAV systems.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2016-01-20 16:52:06 -0600

Seen: 592 times

Last updated: Jan 20 '16