Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does PX4 deprecate PX4-FlightGear-Bridge simulation? #31

Open
kevinuav opened this issue Oct 16, 2023 · 4 comments
Open

Does PX4 deprecate PX4-FlightGear-Bridge simulation? #31

kevinuav opened this issue Oct 16, 2023 · 4 comments

Comments

@kevinuav
Copy link

Hi, I am using the simulation with the latest firmware. However. I encounters errors while it simulates with flight gear. Does px4 deprecate px4-flightgear-bridge? It just responds like this:

PX4-Autopilot % make px4_sitl_nolockstep flightgear_rascal
ninja: error: unknown target 'flightgear_rascal'
even the command:

PX4-Autopilot % make px4_sitl list_vmd_make_targets
ninja: error: unknown target 'list_vmd_make_targets'
make: *** [px4_sitl] Error 1

@kaklik
Copy link
Contributor

kaklik commented Oct 16, 2023

This unmerged pull-request should resolve that: PX4/PX4-Autopilot#21853

@slimonslimon
Copy link
Contributor

slimonslimon commented Oct 16, 2023

Hi, do you have Flightgear installed? Does fgfs command work?

In the build system of PX4 are some conditions that disable FG support when the command fgfs binary is not available. (symlink is not enough. I don't know why)

(Will test the current function later)

@kevinuav
Copy link
Author

kevinuav commented Oct 17, 2023 via email

@kaklik
Copy link
Contributor

kaklik commented Oct 17, 2023

"% /Applications/FlightGear.app/Contents/MacOS/fgfs"

Ok, that is the cause of the issue. The PX4 make system expects that the simple "fgfs" command could run FlightGear. Therefore you should use something like PATH variable or a hardlink. (symlink is not enough, as @slimonslimon posted above.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants