Installing PX4 bash file is missing symforce install?


I am very new to PX4, I was following the instructions on ROS 2 User Guide | PX4 User Guide (main)

and I noticed that I got the following error during the “make px4_sitl”

/usr/bin/python3: Error while finding module specification for 'symforce.symbolic' (ModuleNotFoundError: No module named 'symforce')

I was able to get rid of this error by installing pip and then installing

sudo apt install python3-pip -y
pip3 install symforce

I was still able to get the make file complete without symforce, but the error was gone when I installed it and ran the make again. I just figured this would be something to share and ask if this is something that should be added to the ./PX4-Autopilot/Tools/setup/ Where would a suggestion like this be put? Here or on the github?

1 Like

According to this PR symforce should be optional.

1 Like

It works for PX4 master, thanks