Giter Site home page Giter Site logo

Comments (13)

dkuenster avatar dkuenster commented on June 5, 2024 1

I created a PR in this repo. Check out #35

from mpc_local_planner.

croesmann avatar croesmann commented on June 5, 2024

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 ;-)

from mpc_local_planner.

soldierofhell avatar soldierofhell commented on June 5, 2024

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,

from mpc_local_planner.

SteveMacenski avatar SteveMacenski commented on June 5, 2024

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.

from mpc_local_planner.

soldierofhell avatar soldierofhell commented on June 5, 2024

@croesmann , while doing ROS2 port I found a copy-bug here:

double delta_rot = normalize_theta(fd_grid->getState(i)[i + 1] - fd_grid->getState(i)[0]);

from mpc_local_planner.

soldierofhell avatar soldierofhell commented on June 5, 2024

Can we safely replace g2o::normalize_theta() with normalize_theta() from math_utils.h?

double delta_orient = g2o::normalize_theta(tf2::getYaw(global_goal.pose.orientation) - _robot_pose.theta());

intermediate_pose.theta() = g2o::normalize_theta(intermediate_pose.theta() + delta_rot / (n_additional_samples + 1.0));

from mpc_local_planner.

croesmann avatar croesmann commented on June 5, 2024

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.

from mpc_local_planner.

croesmann avatar croesmann commented on June 5, 2024

I fixed the bug and synced ros2-master with the ros1 master.

from mpc_local_planner.

dkuenster avatar dkuenster commented on June 5, 2024

@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.

from mpc_local_planner.

soldierofhell avatar soldierofhell commented on June 5, 2024

I've already done it, although didn't have time to test it before holidays. I'm back on Monday and start testing

from mpc_local_planner.

dkuenster avatar dkuenster commented on June 5, 2024

Any estimation on when the PR will be available?

from mpc_local_planner.

ss26 avatar ss26 commented on June 5, 2024

Is there any update on this PR? I would like to use mpc_local_planner in ros2.

from mpc_local_planner.

rzeeshan565 avatar rzeeshan565 commented on June 5, 2024

Is there any update on this PR? I would like to use mpc_local_planner in ros-foxy.

from mpc_local_planner.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.