Closed idorobotics closed 1 year ago
Can you give this a try?
make px4_sitl gz_x500
and share the full outputWorked well, thanks!
I think the issue was that following the instructions to first set up ROS 2 requires running make px4_sitl
but the Gazebo setup instructions expect you to run make px4_sitl gz_x500
instead.
Worked well, thanks! I think the issue was that following the instructions to first set up ROS 2 requires running
make px4_sitl
but the Gazebo setup instructions expect you to runmake px4_sitl gz_x500
instead.
why I can run "make px4_sitl"seccessfully,but then failed to run "make px4_sitl gz_x500" anyway.
Describe the bug
Describe the bug
Following the latest PX4 Gazebo Simulation instructions installs Gazebo Garden but the PX4 simulator cannot be run. The error when running
make px4_sitl gz_x500
isninja: error: unknown target 'gz_x500'
. The error is the same for all available models.ROS 2 works fine on its own. Gazebo Garden also works fine on its own.
Performing a make clean on PX4 Autopilot and running the install script and make does not solve the problem.
To Reproduce
make px4_sitl gz_x500
and the output isninja: error: unknown target 'gz_x500'
make --trace px4_sitl gz_x500
(output below)Expected behavior
Run PX4 simulator in Gazebo Garden
Screenshot / Media
No response
Flight Log
No flight report - cannot run simulator
Software Version
Main branch from https://github.com/PX4/PX4-Autopilot
Flight controller
No physical hardware connected.
Vehicle type
None
How are the different components wired up (including port information)
No response
Additional context
No response