BODY_FRD’ is not a member of ‘mavlink::common::MAV_FRAME [closed]

asked 2020-05-06 11:24:28 -0600

cristian_wp gravatar image

Hello, I have a problem with MavLink and Mavros. When I try to compile with catkin build I have the following error:

/catkin_ws/src/mavros/mavros_extras/src/plugins/odom.cpp:228:53: error: ‘BODY_FRD’ is not a member of ‘mavlink::common::MAV_FRAME’
msg.child_frame_id = utils::enum_value(MAV_FRAME::BODY_FRD); ^~~~~~~~ make[2]: * [CMakeFiles/mavros_extras.dir/src/plugins/odom.cpp.o] Error 1 make[1]: [CMakeFiles/mavros_extras.dir/all] Error 2 make: ** [all] Error 2

In this page I found out that the convention are changed.

https://mavlink.io/en/messages/common...

I followed the instruction on this page in order to install MavLink and Mavros:

https://dev.px4.io/v1.9.0/en/ros/mavr...

What can I do to solve this error? Sorry if is a base question, but I do not know how to resolve it. Thank in advance!

edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by gvdhoorn
close date 2020-05-07 07:38:47.889235

Comments

I would suggest to post build errors as issues on MAVROS issue tracker. This is a development problem, not something we can do anything about here on ROS Answers.

If/when you do post an issue on their tracker(s), please post a comment here with a link so we can keep things connected.

gvdhoorn gravatar image gvdhoorn  ( 2020-05-06 12:50:03 -0600 )edit
1