ethz-asl / waypoint_navigator

Stand-alone waypoint navigator
GNU General Public License v3.0
100 stars 58 forks source link

Error when run waypoint_navigator.launch #19

Open Van-NguyenPham opened 4 years ago

Van-NguyenPham commented 4 years ago

When I run command "roslaunch waypoint_navigator waypoint_navigator.launch", I got this error: image

Can you help me to solve this problem?

alice-st commented 4 years ago

I get the same error. Did you find a solution?

rikba commented 4 years ago

Hi, the problem is that your mav_planning_msgs package is not consitent. Make sure you have the right version of https://github.com/ethz-asl/mav_comm in your catkin_ws.

alice-st commented 4 years ago

I do have this version in my catkin_ws and i still get the same error.some weeks ago it worked just fine. To install the waypoint_navigator i follow the steps exactly as instructed.

alice-st commented 4 years ago

I've tried every possible version of mav_comm and i still get the same error. Could you please tell me what version is needed for the waypoint_navigator to work?

received_558106491641275

rikba commented 4 years ago

Did you try removing the system installed mav_planning_msgs, i.e., sudo apt remove ros-YOUR_ROS_VERSION-mav-planning-msgs? This worked for me for another package.

alice-st commented 4 years ago

yes,but it did not work...

ashwinv96 commented 4 years ago

any solutions to this?

rikba commented 4 years ago

Did you also remove your catkin workspace before rebuilding mav_planning_msgs and waypoint_navigator from source?

alice-st commented 4 years ago

I removed the folders build,devel and logs and I rebuilt the project from scratch,but it did not work. Is that what you are suggesting? Today I also retried everything on another pc that i had just installed ubuntu 16.04 and ROS-kinetic and I got the same error...

babakc commented 4 years ago

I had the same problem. Ended up going through the code and noticing PolynomialTrajectory4D has be deprecated, so i did a find and replace to PolynomialTrajectory on /src/waypoint_navigator_node.cpp

Ran another catkin_make and it's all working now.

marianbrunet commented 4 years ago

Thanks @babakc ! That solved my problem.

kylelindgren commented 4 years ago

Thanks, @babakc! You saved my day as well.

hwb0314 commented 3 years ago

Thanks, @babakc! Your solution also solved my problem.