Skip to content

Commit f4e821a

Browse files
readme: remove obsolete "troubleshooting" section
1 parent 95ecb06 commit f4e821a

File tree

1 file changed

+0
-49
lines changed

1 file changed

+0
-49
lines changed

README.md

Lines changed: 0 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -82,52 +82,3 @@ Build arguments can be added to the above command line as follows:
8282
```
8383
docker build https://github.com/JonasVautherin/px4-gazebo-headless.git#master --build-arg HOME_LAT=37.873350 --build-arg HOME_LON=-122.302525 --build-arg HOME_ALT=20 -t px4-gazebo-headless
8484
```
85-
86-
### Troubleshooting
87-
88-
#### I cannot build the image
89-
90-
__Problem:__
91-
92-
Building the image fails with the following error:
93-
94-
```
95-
c++: internal compiler error: Killed (program cc1plus)
96-
Please submit a full bug report,
97-
with preprocessed source if appropriate.
98-
See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions.
99-
```
100-
101-
__Possible solution:__
102-
103-
If running on Docker for Mac, try to increase the memory in _Preferences > Advanced > Memory_. Increasing from 2GB to 4GB solved the problem for me.
104-
105-
If running on Docker for Windows, you can do it by right clicking on the Docker icon on the task bar and going into _Settings > Resources > Advanced > Memory_.
106-
107-
#### It doesn't work with Docker Toolbox
108-
109-
__Problem:__
110-
111-
Using Docker Toolbox (instead of Docker for Windows/Mac, for instance on Windows 10 Home), px4-gazebo-headless is not detected by QGroundControl running on the host.
112-
113-
__Solution:__
114-
115-
The container automatically detects if it is running inside Docker for Windows/Mac, but not if it is inside Docker Toolbox (let me know if you have a way to detect this). However, it seems that in Docker Toolbox, the host is assigned 10.0.2.2 by default (I am guessing this default is coming from VirtualBox). Therefore it works to redirect to this IP, as described above. For instance:
116-
117-
```
118-
docker run --rm -it jonasvautherin/px4-gazebo-headless:1.15.4 10.0.2.2 10.0.2.2
119-
```
120-
121-
### It doesn't connect with Podman
122-
123-
__Problem:__
124-
125-
Using podman, the MAVLink traffic for port 14550 (and 14540) does not seem to arrive in QGroundControl (and MAVSDK).
126-
127-
__Solution:__
128-
129-
Try to use the "host network" mode and set the MAVLink interfaces for both interfaces.
130-
131-
```
132-
podman run --rm --network host -it jonasvautherin/px4-gazebo-headless:1.15.4 127.0.0.1 127.0.0.1
133-
```

0 commit comments

Comments
 (0)