SITL tailsitter does not found /lpe/tailsitter file


I used Gazebo SITL with tailsitter VTOL without any problem but I have pull the master repository yesterday and since the “make posix_sitl_default gazebo_tailsitter” command does not work because the /src/Firmware/posix-configs/SITL/init/lpe/tailsitter file is not found:

[ 98%] Built target modules__fw_pos_control_l1
[ 98%] Built target modules__fw_att_control
[ 99%] Built target modules__logger
[100%] Built target px4
args: /home/vivien/src/Firmware/build_posix_sitl_default/src/firmware/posix/px4 posix-configs/SITL/init/lpe none gazebo tailsitter /home/vivien/src/Firmware /home/vivien/src/Firmware/build_posix_sitl_default
sitl_bin: /home/vivien/src/Firmware/build_posix_sitl_default/src/firmware/posix/px4
label: posix-configs/SITL/init/lpe
debugger: none
program: gazebo
model: tailsitter
src_path: /home/vivien/src/Firmware
build_path: /home/vivien/src/Firmware/build_posix_sitl_default
GAZEBO_PLUGIN_PATH /home/vivien/src/Firmware/build_posix_sitl_default/build_gazebo:
GAZEBO_MODEL_PATH :/home/vivien/src/Firmware/Tools/sitl_gazebo/models
LD_LIBRARY_PATH :/home/vivien/src/Firmware/Tools/sitl_gazebo/Build/msgs/:/home/vivien/src/Firmware/build_posix_sitl_default/build_gazebo
SITL COMMAND: /home/vivien/src/Firmware/build_posix_sitl_default/src/firmware/posix/px4 /home/vivien/src/Firmware /home/vivien/src/Firmware/posix-configs/SITL/init/lpe/tailsitter
data path: /home/vivien/src/Firmware
commands file: /home/vivien/src/Firmware/posix-configs/SITL/init/lpe/tailsitter
ERROR [Unknown] Error opening commands file, does not exist: /home/vivien/src/Firmware/posix-configs/SITL/init/lpe/tailsitter
Restoring terminal
[100%] Built target gazebo_tailsitter

I tried to copy Firmware/posix-configs/SITL/init/ekf2/gazebo_tailsitter file in Firmware/posix-configs/SITL/init/lpe and rename it tailsitter: Gazebo is started but commander takeoff does not make the VTOL take off (nothing happens).

It’s just tailsitter SITL which does not work, standard VTOL or other models are ok.

  • Another people can’t use SITL tailsitter since few days (since last merge ?) ?
  • Maybe “make posix_sitl_default gazebo_tailsitter” have to use Firmware/posix-configs/SITL/init/ekf2/gazebo_tailsitter file Firmware/posix-configs/SITL/init/lpe/tailsitter ?


1 Like

Same problem after the last pull… I had to revert back to the previous version
I think the changes were done here:

Pls let me of the fix as well. trying to get the VTOL tailsitter to fly and do transition in SITL.