BODY_FRD’ is not a member of ‘mavlink::common::MAV_FRAME
Hello, I have a problem with MavLink and Mavros. When I try to compile with catkin build I have the following error:
/catkinws/src/mavros/mavrosextras/src/plugins/odom.cpp:228:53: error: ‘BODYFRD’ is not a member of ‘mavlink::common::MAVFRAME’
msg.childframeid = utils::enumvalue(MAVFRAME::BODYFRD); ^~~~~~~~ make[2]: *** [CMakeFiles/mavrosextras.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.html
I followed the instruction on this page in order to install MavLink and Mavros:
https://dev.px4.io/v1.9.0/en/ros/mavros_installation.html
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!
Asked by cristian_wp on 2020-05-06 11:24:28 UTC
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.
Asked by gvdhoorn on 2020-05-06 12:50:03 UTC
https://discuss.px4.io/t/body-frd-is-not-a-member-of-mavlink-mav-frame/16616
Asked by cristian_wp on 2020-05-07 02:16:35 UTC