JonasVautherin / px4-gazebo-headless

An unofficial Ubuntu-based container building and running PX4 SITL (Software In The Loop) through gazebo.
Apache License 2.0
74 stars 42 forks source link

Changing the version to v1.8.2 fails building the image. #7

Closed DiegoGLagash closed 4 years ago

DiegoGLagash commented 4 years ago

It seems there is a change in the makefiles and building the image with a different version of Firmware fails.

Step 12/13 : RUN ["/bin/bash", "-c", "     cd ${FIRMWARE_DIR} &&     DONT_RUN=1 make px4_sitl gazebo &&     DONT_RUN=1 make px4_sitl gazebo "]
 ---> Running in fd627ab6b07b
Makefile:378: *** "px4_sitl cannot be the first argument. Use 'make help|list_config_targets' to get a list of all possible [configuration] targets.".  Stop.
The command '/bin/bash -c      cd ${FIRMWARE_DIR} &&     DONT_RUN=1 make px4_sitl gazebo &&     DONT_RUN=1 make px4_sitl gazebo ' returned a non-zero code: 2
julianoes commented 4 years ago

If you go back to to v1.8.2 you also need to switch back to the older make target: make posix_sitl_default jmavsim.