rst-tu-dortmund / teb_local_planner

An optimal trajectory planner considering distinctive topologies for mobile robots based on Timed-Elastic-Bands (ROS Package)
http://wiki.ros.org/teb_local_planner
BSD 3-Clause "New" or "Revised" License
1.06k stars 550 forks source link

/teb_local_planner/src/optimal_planner.cpp :make error #296

Open yesterdai123 opened 3 years ago

yesterdai123 commented 3 years ago

when I run catkin_make ,it occurs following: error: cannot convert ‘g2o::HyperGraphElementCreator*’ How can I solve it?

turtleMaster20 commented 3 years ago

I have the same issue. I tried to install g2o but the problem still persists.

If you just want to only use the package without any modification then you can install it as binaries:

  1. sudo apt install ros-[$ROS_VERSION]-teb-local-planner
  2. Remove the package from catkin workspace.

I would still like to install this package locally, any solutions to this issue?

turtleMaster20 commented 3 years ago

I installed g2o and all it's dependencies (here), restarted my system and tried to install the package from source again. This time it worked. ROS Melodic.

This issue can now be closed.