PX4 / PX4-Autopilot

PX4 Autopilot Software
https://px4.io
BSD 3-Clause "New" or "Revised" License
8.29k stars 13.43k forks source link

[Bug] ninja: error: unknown target 'ignition' #22429

Closed LShivaRudra closed 10 months ago

LShivaRudra commented 10 months ago

Describe the bug

I'm trying to simulate a quadcopter in sitl and when I try to build the PX4 software with simulation using: make px4_sitl ignition

I get the error: ninja: error: unknown target 'ignition' make: *** [Makefile:232: px4_sitl] Error 1

The same error occurs when I use: make px4_sitl gz or make px4_sitl gz_x500

To Reproduce

I used the following configurations for the softwares: Ubuntu Version: 20.04 PX4-Autopilot: v1.14.0 ROS version: ros2 foxy Ignition version installed: citadel

Expected behavior

-

Screenshot / Media

No response

Flight Log

-

Software Version

v1.14.0

Flight controller

I'm trying to simulate(sitl)

Vehicle type

Multicopter

How are the different components wired up (including port information)

No response

Additional context

No response

avcuenes commented 10 months ago

If you use ubunut 20.04 , you have to insatall gazebo ignition manually Lool this documantation https://docs.px4.io/v1.14/en/sim_gazebo_gz/

LShivaRudra commented 10 months ago

Okay, I'll have a look at it and get back to you. Thanks!