Closed fnoop closed 6 years ago
We still have not released MAVROS to Melodic, no. Also we are planning to extend the CI system to multiple releases, so I guess that would be something done together.
Is there work to be done to release it, or is it a matter of registering it? Ubuntu 18.04 is now the current LTS version so would be great to be able to run mavros on it, even if melodic is still in beta.
@vooon ^
I think you should be able to compile master on Melodic, but right now it lack most of dependencies. E.g. mav_msgs
.
@vooon, @fnoop as already tried and it and it built by src. What about we do a release of mavros, mavros_extras and mavros_msgs to Melodic in the mean time?
We can't release until all dependency packages will be released. That is why i don't like add deps on non core packages. mav_msgs
several times "forgot" to release.
Solved by https://github.com/ros/rosdistro/pull/17773 .
I still get this:
Notice: /Stage[main]/Maverick_ros/Exec[catkin_make_mavros]/returns: mavros: No definition of [geographiclib] for OS version [bionic]
Notice: /Stage[main]/Maverick_ros/Exec[catkin_make_mavros]/returns: mavlink: No definition of [python-future] for OS version [bionic]
If I remove geographiclib from package.xml and continue, I get this:
[ 16%] Building CXX object CMakeFiles/mavconn.dir/src/mavlink_helpers.cpp.o
/srv/maverick/var/build/ros_catkin_ws/src/mavros/libmavconn/src/mavlink_helpers.cpp: In static member function ‘static void mavconn::MAVConnInterface::init_msg_entry()’:
/srv/maverick/var/build/ros_catkin_ws/src/mavros/libmavconn/src/mavlink_helpers.cpp:30:2: error: ‘logDebug’ was not declared in this scope
logDebug("mavconn: Initialize message_entries map");
^~~~~~~~
/srv/maverick/var/build/ros_catkin_ws/src/mavros/libmavconn/src/mavlink_helpers.cpp:30:2: note: suggested alternative: ‘logbl’
logDebug("mavconn: Initialize message_entries map");
^~~~~~~~
logbl
CMakeFiles/mavconn.dir/build.make:62: recipe for target 'CMakeFiles/mavconn.dir/src/mavlink_helpers.cpp.o' failed
make[2]: *** [CMakeFiles/mavconn.dir/src/mavlink_helpers.cpp.o] Error 1
CMakeFiles/Makefile2:323: recipe for target 'CMakeFiles/mavconn.dir/all' failed
make[1]: *** [CMakeFiles/mavconn.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2
That looks like you have problem with libconsole-bridge-dev
.
Related: https://github.com/mavlink/mavros/issues/985 I'm already using catkin_make_isolated
https://github.com/ros/ros-overlay/issues/509 If I prefix logDebug, LogError etc with CONSOLEBRIDGE, then mavros compiles
Issue details
Ubuntu 18.04 LTS (Bionic) has now been released. ROS Melodic looks to be the first distro to support it and compiles/runs fine, but when trying to compile mavros I get this:
MAVROS version and platform
Mavros: ? ROS: Melodic Ubuntu: 18.04