Closed Guohao23 closed 6 months ago
I've updated your comment to have the code in the right format.
The colcon build seems to fail on a package called CFlib, which is the Crazyflie python library I assume? If the crazyflie-lib-python is in there, that is not setup to be a ROS package at all.
If you want the latest cflib build from source, you'll need to clone the repository in a completely different directory outside of the ROS workspace.
Hi, thanks for your reply. I have made modifications to the ROS workspace and resolved the issue. When I follow https://imrclab.github.io/crazyswarm2/installation.html, 7. set up software-in-the-loop simulation (optional). I finished install swig,and make cf2_defconfig. But when I run make bindings_python, generate an error. If you could reply to me, I would greatly appreciate it。
guo@Guo:~/crazyswarm2/crazyflie-firmware$ make bindings_python
Makefile:213: warning: overriding recipe for target 'bindings_python'
tools/kbuild/Makefile.kbuild:147: warning: ignoring old recipe for target 'bindings_python'
make[1]: Entering directory '/home/guo/crazyswarm2/crazyflie-firmware/build'
GEN ./Makefile
scripts/kconfig/conf --silentoldconfig Kconfig
make[1]: Nothing to be done for 'bindings_python'.
make[1]: Leaving directory '/home/guo/crazyswarm2/crazyflie-firmware/build'
swig -python -Isrc/modules/interface -Isrc/hal/interface -Isrc/utils/interface -Isrc/modules/interface/controller -Isrc/platform/interface -Isrc/modules/interface/outlierfilter -Isrc/modules/interface/kalman_core -o build/cffirmware_wrap.c bindings/cffirmware.i
python3 bindings/setup.py build_ext --inplace
In file included from src/modules/interface/kalman_core/kalman_core.h:56,
from build/cffirmware_wrap.c:2757:
src/utils/interface/cf_math.h:35:10: fatal error: arm_math.h: No such file or directory
35 | #include "arm_math.h"
| ^~~~
compilation terminated.
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
make: *** [Makefile:214: bindings_python] Error 1
Thank you again
Hi! I'm closing this issue since the problem was resolved.
For your other question, could you please start a discussion here https://github.com/IMRCLab/crazyswarm2/discussions. That is the proper place for support. Also remember to start one discussion per issue
ubuntu:20.04 ros2:galatic colcon build --symlink-install The following error message was generated