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

Flightgear visualization doesn't work in Ubuntu Focal #12

Open
Jaeyoung-Lim opened this issue Sep 28, 2020 · 1 comment
Open

Flightgear visualization doesn't work in Ubuntu Focal #12

Jaeyoung-Lim opened this issue Sep 28, 2020 · 1 comment
Labels
bug Something isn't working SITL

Comments

@Jaeyoung-Lim
Copy link
Contributor

Jaeyoung-Lim commented Sep 28, 2020

Description of issue
Flightgear visualization is not working on Ubuntu Focal and only displays the vehicle in a empty ocean. When the vehicle is in flight, the vehicle does not move even when PX4 is in flight.

image

When looking closer, I noticed the following error:

   11.00 [ALRT]:io         Error: version mismatch in FGNetNativeGUI2Props()
   11.00 [ALRT]:io              read 402653184 need 8
   11.00 [ALRT]:io              Need to upgrade net_fdm.hxx and recompile.

Posted Issue: JSBSim-Team/jsbsim#325

@mvacanti
Copy link
Contributor

mvacanti commented Oct 1, 2020

@Jaeyoung-Lim my attempt at the two issues:

  1. The Ocean issue is likely caused by the fact that the default installation of FlightGear only includes a very small portion of the global scenery. Try downloading and installing the scenery for your particular location using instructions here: FlightGear Scenery

  2. The lack of FlightGear update is likely caused by an incorrectly configured FlightGear input configuration in sitl_run.sh. Try starting FlightGear first using the GUI launcher with the following settings:
    Screenshot from 2020-10-01 07-52-37
    Then launch PX4 and the jsbsim_bridge (may have to modify the FlightGear launch in sitl_run.sh)

As a note I am running my setup on Ubuntu Focal, FlightGear 2020.1, and a Docker container (also Focal) for PX4 and the jsbsim_bridge. I installed FlightGear using the instructions here.

@Jaeyoung-Lim Jaeyoung-Lim added bug Something isn't working SITL labels Oct 22, 2020
frederictaillandier pushed a commit that referenced this issue Apr 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working SITL
Projects
None yet
Development

No branches or pull requests

2 participants