mavlink / mavros

MAVLink to ROS gateway with proxy for Ground Control Station
Other
879 stars 990 forks source link

Failed to build mavros (0.24.0) #993

Closed capitalPSA closed 6 years ago

capitalPSA commented 6 years ago

Current Error:

........./mavros/mavros_extras/src/plugins/vision_pose_estimate.cpp:128:46: error: ‘struct mavlink::common::msg::VISION_POSITION_ESTIMATE’ has no member named ‘covariance’ ftf::covariance_urt_to_mavlink(cov_map, vp.covariance);

New release was pushed yesterday 4/6/18.

Mavros: 0.24.0 Ros: Kinetic Ubuntu: 16.04 Autopilot: PX4

Standard libs (geographiclib-tools, mavlink, libgeographic-dev, ros-kinetic-control-toolbox, ros-kinetic-mavros-msgs) and scripts (install_geographiclib_datasets.sh).

Is there a new mavlink library not available yet?

vooon commented 6 years ago

Did you update mavlink?

MattMgn commented 6 years ago

Same problem here I have first installed mavros from binaries without problem (so mavlink should be up to date, right ?). But when i compile from source, I also get this error. Any idea ?

mhkabir commented 6 years ago

Mavlink from apt isn't updated yet, I guess. Please also compile mavlink-gbp-release from source.

MattMgn commented 6 years ago

Thank you for your answer. But I am not familiar with patch, how do I compile it ?

vooon commented 6 years ago

Simple rule: if you build mavros from source then build mavlink also. Just follow manual.

capitalPSA commented 6 years ago

Good point and rule to follow. It all checks out. Thanks @vooon @mhkabir.