SITL error for standar VTOL or X500

Hello,

I am trying to perform SITL and HITL but facing some error. Ubuntu 22.04

make px4_sitl gazebo_standard_vtol
– PX4 version: v1.15.0-alpha1-137-gc7672fc68c (1.15.0)
– Found PythonInterp: /usr/bin/python3 (found suitable version “3.10.12”, minimum required is “3”)
– PX4 config file: /home/odonata/px4hil/PX4-Autopilot/boards/px4/sitl/default.px4board
– PLATFORM posix
– ROMFSROOT px4fmu_common
– ROOTFSDIR .
– TESTING y
– ETHERNET y
– PX4 config: px4_sitl_default
– PX4 platform: posix
– PX4 lockstep: enabled
– The CXX compiler identification is GNU 11.4.0
– The C compiler identification is GNU 11.4.0
– The ASM compiler identification is GNU
– Found assembler: /usr/bin/cc
– Detecting CXX compiler ABI info
– Detecting CXX compiler ABI info - done
– Check for working CXX compiler: /usr/bin/c++ - skipped
– Detecting CXX compile features
– Detecting CXX compile features - done
– Detecting C compiler ABI info
– Detecting C compiler ABI info - done
– Check for working C compiler: /usr/bin/cc - skipped
– Detecting C compile features
– Detecting C compile features - done
– cmake build type: RelWithDebInfo
/usr/bin/python3: Error while finding module specification for ‘symforce.symbolic’ (ModuleNotFoundError: No module named ‘symforce’)
– Could NOT find gz-transport (missing: gz-transport_DIR)
– Could NOT find gz-transport (missing: gz-transport_DIR)
– Found Java: /usr/bin/java (found version “11.0.20.1”)
– ROMFS: ROMFS/px4fmu_common
Architecture: amd64
==> CPACK_INSTALL_PREFIX = @DEB_INSTALL_PREFIX@
– Configuring done
– Generating done
– Build files have been written to: /home/odonata/px4hil/PX4-Autopilot/build/px4_sitl_default
ninja: error: unknown target ‘gazebo_standard_vtol’
make: *** [Makefile:232: px4_sitl] Error 1

what i am doing wrong here?
I tied the make distclean cmd also but still same error.

Update

I installed symforce and cloned gz-transport repo to.

This is the new error

  • PX4 version: v1.15.0-alpha1-137-gc7672fc68c (1.15.0)
    – Found PythonInterp: /usr/bin/python3 (found suitable version “3.10.12”, minimum required is “3”)
    – PX4 config file: /home/odonata/px4hil/PX4-Autopilot/boards/px4/sitl/default.px4board
    – PLATFORM posix
    – ROMFSROOT px4fmu_common
    – ROOTFSDIR .
    – TESTING y
    – ETHERNET y
    – PX4 config: px4_sitl_default
    – PX4 platform: posix
    – PX4 lockstep: enabled
    – The CXX compiler identification is GNU 11.4.0
    – The C compiler identification is GNU 11.4.0
    – The ASM compiler identification is GNU
    – Found assembler: /usr/bin/cc
    – Detecting CXX compiler ABI info
    – Detecting CXX compiler ABI info - done
    – Check for working CXX compiler: /usr/bin/c++ - skipped
    – Detecting CXX compile features
    – Detecting CXX compile features - done
    – Detecting C compiler ABI info
    – Detecting C compiler ABI info - done
    – Check for working C compiler: /usr/bin/cc - skipped
    – Detecting C compile features
    – Detecting C compile features - done
    – cmake build type: RelWithDebInfo
    – Could NOT find gz-transport (missing: gz-transport_DIR)
    – Could NOT find gz-transport (missing: gz-transport_DIR)
    – Found Java: /usr/bin/java (found version “11.0.20.1”)
    – ROMFS: ROMFS/px4fmu_common
    Architecture: amd64
    ==> CPACK_INSTALL_PREFIX = @DEB_INSTALL_PREFIX@
    – Configuring done
    – Generating done
    – Build files have been written to: /home/odonata/px4hil/PX4-Autopilot/build/px4_sitl_default
    ninja: error: unknown target ‘gazebo_standard_vtol’
    make: *** [Makefile:232: px4_sitl] Error 1

You need to use make px4_sitl gazebo-classic_standard_vtol

OK. I will try this. But i found what i was doing wrong. I had new version of Gazebo garden which takes command gz_standard_vtol. I install the gazebo classic 11 for HITL and with the command gazebo_standar_vtol, it opened the standard vtol in gazebo classsic 11.