You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please describe the problem, or desired feature
It seems that mavros 2.8.0 has some bugs making it impossiable to connect FC and mavros, and these bugs are fixed in mavros 2.9.0 and I want to have a try
When I using apt to install mavros, it is still mavros 2.8.0. While using source code to install, when sudo colcon build, I met errors as Node logs shown.
So when can we use apt to install mavros 2.9.0 ?
Masters please help me
MAVROS version and platform
Mavros: 2.8.0
ROS: Jazzy
Ubuntu: 24.04
Autopilot type and version
[ ] ArduPilot
[ ] PX4
[*] Betaflight
Version: 4.4.0
Node logs
nyf@nyf-OPi5:/opt/ros/jazzy$ sudo colcon build
[3.687s] WARNING:colcon.colcon_ros.task.ament_python.build:Package 'ament_package' doesn't explicitly install a marker in the package index (colcon-ros currently does it implicitly but that fallback will be removed in the future)[3.693s] WARNING:colcon.colcon_ros.task.ament_python.build:Package 'ament_package' doesn't explicitly install the 'package.xml' file (colcon-ros currently does it implicitly but that fallback will be removed in the future)
[3.701s] WARNING:colcon.colcon_ros.task.ament_python.build:Package 'ament_lint' doesn't explicitly install a marker in the package index (colcon-ros currently does it implicitly but that fallback will be removed in the future)[3.702s] WARNING:colcon.colcon_ros.task.ament_python.build:Package 'ament_lint' doesn't explicitly install the 'package.xml' file (colcon-ros currently does it implicitly but that fallback will be removed in the future)
[3.728s] WARNING:colcon.colcon_ros.task.ament_python.build:Package 'osrf_pycommon' doesn't explicitly install a marker in the package index (colcon-ros currently does it implicitly but that fallback will be removed in the future)[3.729s] WARNING:colcon.colcon_ros.task.ament_python.build:Package 'osrf_pycommon' doesn't explicitly install the 'package.xml' file (colcon-ros currently does it implicitly but that fallback will be removed in the future)
Starting >>> ament_package
Starting >>> ament_lint
Starting >>> gtest_vendor
Starting >>> gtest
Starting >>> osrf_pycommon
Starting >>> mavlink
--- stderr: gtest_vendor
CMake Warning:
Ignoring extra path from command line:
"/opt/ros/jazzy/share/gtest_vendor"
CMake Error: The source directory "/opt/ros/jazzy/share/gtest_vendor" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/colcon_core/executor/__init__.py", line 91, in __call__
rc = await self.task(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/colcon_core/task/__init__.py", line 93, in __call__
return await task_method(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/colcon_ros/task/cmake/build.py", line 34, in build
rc = await extension.build(
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/colcon_cmake/task/cmake/build.py", line 87, in build
rc = await self._reconfigure(args, env)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/colcon_cmake/task/cmake/build.py", line 182, in _reconfigure
buildfile = get_buildfile(cmake_cache)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/colcon_cmake/task/cmake/__init__.py", line 114, in get_buildfile
if'Visual Studio'in generator:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: argument of type'NoneType' is not iterable
---
Failed <<<gtest_vendor [0.02s, exited with code 1]
Aborted <<<ament_package [0.02s]
Aborted <<<ament_lint [0.02s]
Aborted <<<osrf_pycommon [0.02s]
Aborted <<<gtest [0.15s]
Aborted <<<mavlink [0.21s]
Summary: 0 packages finished [3.87s]
1 package failed: gtest_vendor
5 packages aborted: ament_lint ament_package gtest mavlink osrf_pycommon
2 packages had stderr output: gtest_vendor mavlink
293 packages not processed
argument of type'NoneType' is not iterable
copy output of mavros_node. Usually console where you run roslaunch
### Diagnostics
place here result of:
rostopic echo -n1 /diagnostics
### Check ID
rosrun mavros checkid
The text was updated successfully, but these errors were encountered:
You anyway will need it to host your extra scripts
Tks very much!I'll have a try and stay focused
BTW, after my test, the link between FC and ROS1 (Noetic) Ubuntu 20.04 through mavros 1.19.0 (installed by apt) works well (the operations are the same as those for ROS2 and mavros 2.8.0). When I finished similar operations in ROS2 and mavros, I will close this issue
Issue details
Please describe the problem, or desired feature
It seems that mavros 2.8.0 has some bugs making it impossiable to connect FC and mavros, and these bugs are fixed in mavros 2.9.0 and I want to have a try
When I using apt to install mavros, it is still mavros 2.8.0. While using source code to install, when
sudo colcon build
, I met errors as Node logs shown.So when can we use apt to install mavros 2.9.0 ?
Masters please help me
MAVROS version and platform
Mavros:
2.8.0
ROS:
Jazzy
Ubuntu:
24.04
Autopilot type and version
[ ] ArduPilot
[ ] PX4
[*] Betaflight
Version:
4.4.0
Node logs
copy output of mavros_node. Usually console where you run roslaunch
place here result of:
rostopic echo -n1 /diagnostics
rosrun mavros checkid
The text was updated successfully, but these errors were encountered: