Bug Report
Issue details
Following the ROS 2 Install, there are errors after running tests with the following code
colcon test --executor sequential --parallel-workers 0 --base-paths src/ardupilot --event-handlers=console_cohesion+
Version
The commit e4a718d
Platform
[X] All
[ ] AntennaTracker
[ ] Copter
[ ] Plane
[ ] Rover
[ ] Submarine
Airframe type
What type of airframe (flying wing, glider, hex, Y6, octa etc)
Hardware type
What autopilot hardware was used? (Pixhawk, Cube, Pixracer, Navio2, etc)
Logs
==================================== ERRORS ====================================
________________________ ERROR collecting test session _________________________
/usr/lib/python3/dist-packages/pluggy/hooks.py:286: in __call__
return self._hookexec(self, self.get_hookimpls(), kwargs)
/usr/lib/python3/dist-packages/pluggy/manager.py:92: in _hookexec
return self._inner_hookexec(hook, methods, kwargs)
/usr/lib/python3/dist-packages/pluggy/manager.py:83: in <lambda>
self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall(
/usr/lib/python3/dist-packages/_pytest/python.py:200: in pytest_collect_file
module: Module = ihook.pytest_pycollect_makemodule(path=path, parent=parent)
/usr/lib/python3/dist-packages/pluggy/hooks.py:286: in __call__
return self._hookexec(self, self.get_hookimpls(), kwargs)
/usr/lib/python3/dist-packages/pluggy/manager.py:92: in _hookexec
return self._inner_hookexec(hook, methods, kwargs)
/usr/lib/python3/dist-packages/pluggy/manager.py:83: in <lambda>
self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall(
/opt/ros/humble/lib/python3.10/site-packages/launch_testing/pytest/hooks.py:193: in pytest_pycollect_makemodule
entrypoint = find_launch_test_entrypoint(path)
/opt/ros/humble/lib/python3.10/site-packages/launch_testing/pytest/hooks.py:186: in find_launch_test_entrypoint
module = path.pyimport()
/usr/lib/python3/dist-packages/py/_path/local.py:704: in pyimport
__import__(modname)
<frozen importlib._bootstrap>:1027: in _find_and_load
???
<frozen importlib._bootstrap>:1006: in _find_and_load_unlocked
???
<frozen importlib._bootstrap>:688: in _load_unlocked
???
/usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:170: in exec_module
exec(co, module.__dict__)
test/ardupilot_dds_tests/test_geopose_msg_received.py:30: in <module>
from scipy.spatial.transform import Rotation as R
/usr/lib/python3/dist-packages/scipy/spatial/__init__.py:102: in <module>
from ._kdtree import *
/usr/lib/python3/dist-packages/scipy/spatial/_kdtree.py:5: in <module>
from ._ckdtree import cKDTree, cKDTreeNode
_ckdtree.pyx:1: in init scipy.spatial._ckdtree
???
E ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject
- generated xml file: /home/ardupilotros2/ros2_ws/build/ardupilot_dds_tests/pytest.xml -
=========================== short test summary info ============================
ERROR - ValueError: numpy.dtype size changed, may indicate binary incompatib...
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
========================= 1 warning, 1 error in 0.40s ==========================
=============================== warnings summary ===============================
../../../../../../../../usr/lib/python3/dist-packages/scipy/__init__.py:146
Warning: A NumPy version >=1.17.3 and <1.25.0 is required for this version of SciPy (detected version 2.2.6
-- Docs: https://docs.pytest.org/en/stable/warnings.html
---
--- stderr: ardupilot_dds_tests
=============================== warnings summary ===============================
../../../../../../../../usr/lib/python3/dist-packages/scipy/__init__.py:146
Warning: A NumPy version >=1.17.3 and <1.25.0 is required for this version of SciPy (detected version 2.2.6
-- Docs: https://docs.pytest.org/en/stable/warnings.html
---
Failed <<< ardupilot_dds_tests [0.75s, exited with code 2]
Bug Report
Issue details
Following the ROS 2 Install, there are errors after running tests with the following code
Version
The commit e4a718d
Platform
[X] All
[ ] AntennaTracker
[ ] Copter
[ ] Plane
[ ] Rover
[ ] Submarine
Airframe type
What type of airframe (flying wing, glider, hex, Y6, octa etc)
Hardware type
What autopilot hardware was used? (Pixhawk, Cube, Pixracer, Navio2, etc)
Logs