Open soldierofhell opened 4 years ago
Hi @soldierofhell,
Yes, of course. But since the package is still in an early stage, I wanted to focus on bug fixing in ROS1 before porting to ROS2. I also expect some API changes in the integration with homotopy class planning (as it is done for the TEB).
However, the port to ROS2 should be straightforward as most of the code (planning backend) is ROS-free.
The only problem at the moment is my limited spare time for working on the project ;-)
Thank you @croesmann. So I'll try to do it myself. Fortunatelly I noticed some similarities with teb code base, so should be easier.
Regards,
Make sure to PR it back here! @croesmann can you open a ros2
branch?
Also, maybe some documentation about the current status of this work and any positives / negatives people should know.
@croesmann , while doing ROS2 port I found a copy-bug here: https://github.com/rst-tu-dortmund/mpc_local_planner/blob/0ad611113cc215d2dd5f46eaabe7014b57288d30/mpc_local_planner/src/controller.cpp#L894
Can we safely replace g2o::normalize_theta() with normalize_theta() from math_utils.h? https://github.com/rst-tu-dortmund/mpc_local_planner/blob/0ad611113cc215d2dd5f46eaabe7014b57288d30/mpc_local_planner/src/mpc_local_planner_ros.cpp#L280 https://github.com/rst-tu-dortmund/mpc_local_planner/blob/0ad611113cc215d2dd5f46eaabe7014b57288d30/mpc_local_planner/src/controller.cpp#L906
Thanks for the pointer to the bug. I‘ll check that later.
Yes, you can safely replace the g2o variant by the internal normalizing function.
I fixed the bug and synced ros2-master
with the ros1 master.
@soldierofhell I'm also thinking about porting this to ROS2. How far along are you with your port? Maybe we can avoid doing the same work twice.
I've already done it, although didn't have time to test it before holidays. I'm back on Monday and start testing
Any estimation on when the PR will be available?
Is there any update on this PR? I would like to use mpc_local_planner in ros2.
I created a PR in this repo. Check out https://github.com/rst-tu-dortmund/mpc_local_planner/pull/35
Is there any update on this PR? I would like to use mpc_local_planner in ros-foxy.
Hi @croesmann, are there any plans for a ROS2 integration with nav2 stack similar like in teb? There's ros2-master branch, but seems like it doesn't implement nav2_core/controller.hpp interface
Regards,