Skip to content

Known issues

arturotorresg edited this page Mar 31, 2020 · 4 revisions

Error [REST.cc:205] during startup gazebo

This is an error with the default Gazebo version for Ubuntu 18.04. You can solve it modifying one line in one file. You need to change ~/.ignition/fuel/config.yaml as following:

to

Seen here.


PX4 SITL not connecting: error connecting to socket

It is probably a permission problem, and happens when you have compiled PX4 using sudo (which you shouldn't). Check who owns the files /tmp/px4-sock-*. If it is root, this is your problem. Go to the Firmware folder and do make clean and then make.

Seen here.


Core dumped in Gazebo

If you are using a custom world file, make sure you have the following parameters:

<max_step_size>0.004</max_step_size>
<real_time_factor>1</real_time_factor>
<real_time_update_rate>250</real_time_update_rate>

Otherwise, it could cause this error. Related to this issue.


Mavros node crashes with segmentation fault

We don't know exactly which version of Mavros causes this and why, but updating to 0.28.0 fix the issue.


Protobuf version compile error

#error regenerate this file with a newer version of protoc

This error comes from having a protobuf version higher than 2.6.1, which was used to compile gazebo 7.0.0 messages. If protoc --version gives you 3.x.x, you need to install version 2.6.1:

wget https://github.com/google/protobuf/releases/download/v2.6.1/protobuf-2.6.1.tar.gz
tar xzf protobuf-2.6.1.tar.gz
cd protobuf-2.6.1
sudo apt-get update
sudo apt-get install build-essential
sudo ./configure
sudo make
sudo make check
sudo make install
sudo ldconfig
protoc --version

Credits for https://gist.github.com/samklr/0b8a0620f82005e7f556.