1. Download PX4
cd ~/catkin_ws/src
git clone https://github.com/PX4/Firmware.git --recursive
2. Run the ubuntu.sh with no arguments (in a bash shell) to install everything:
cd Firmware
bash ./Tools/setup/ubuntu.sh
3. Build PX4(&run gazebo)
make px4_sitl_default gazebo
If you want to build PX4 without running gazebo,
DONT_RUN=1 make px4_sitl_default gazebo
# Trouble shooting
1.
[Err] [REST.cc:205] Error in REST request
libcurl: (51) SSL: no alternative certificate subject name matches target host name 'api.ignitionfuel.org'
open ~/.ignition/fuel/config.yaml
gedit ~/.ignition/fuel/config.yaml
and change url
from
to
https://fuel.ignitionrobotics.org
2.
Failed to import jinja2: No module named 'jinja2'
You may need to install it using:
pip3 install --user jinja2
empy
toml
packaging
numpy
jinja2
...
-> install dependencies
pip3 install --user pyserial empy toml numpy pandas jinja2 pyyaml pyros-genmsg packaging
3. catkin_make error
sudo apt-get install python-toml python-packaging python-jinja2
'임시' 카테고리의 다른 글
ROS Install & Setup (0) | 2020.09.03 |
---|