rst-tu-dortmund / mpc_local_planner

The mpc_local_planner package implements a plugin to the base_local_planner of the 2D navigation stack. It provides a generic and versatile model predictive control implementation with minimum-time and quadratic-form receding-horizon configurations.
http://wiki.ros.org/mpc_local_planner
GNU General Public License v3.0
557 stars 143 forks source link

Dynamic Obstacles on MPC Local Planner #55

Closed brilianputraa closed 10 months ago

brilianputraa commented 1 year ago

Hi we try to implement a dynamic obstacle publisher for the MPC Local planner based on the object detection that we get from Lidar, so we publish a /ObstacleArrayMsg message type to /move_base/MpcLocalPlannerROS/obstacles topic based on this tutorial incorporating dynamic obstacle tutorial from TEB Local Planner. But we only published the position and pose of the obstacles (polygon shape) without the velocity of the obstacles.

We also have set enable_dynamic_obstacles: True

However we have following problems:

Also my question, do we need to add velocity to the dynamic obstacle to make it works? Thank you