Coder Social home page Coder Social logo

Comments (6)

Jaeyoung-Lim avatar Jaeyoung-Lim commented on June 15, 2024

Multivehicle support would be awesome!

@slimonslimon For the port configuration, this script might be useful to compare how it is done for gazebo

from px4-flightgear-bridge.

slimonslimon avatar slimonslimon commented on June 15, 2024

Thank you for your comment!
Our solution for FG will work in a little bit another way because we need to spawn multiple types of vehicles.

I'm close to working example now.

@Jaeyoung-Lim Do you have some experiences with communication and orchestration of multiple vehicles? And are you able to run current Px4<->FG SITL?

from px4-flightgear-bridge.

slimonslimon avatar slimonslimon commented on June 15, 2024

Now, there is an experimental branch flightgear-multi, which supports:
make px4_sitl_nolockstep flightgear_plane___multi
And you are able to run it multiple times. You only need to connect FG to the server manually, for now. (It will be automated later.)

There is one other problem with selecting "empty" "px4id" - now it counts running px4 instances - this can work only on the first run. (You cannot restart any instance separately)

from px4-flightgear-bridge.

Jaeyoung-Lim avatar Jaeyoung-Lim commented on June 15, 2024

@slimonslimon IMHOI I would prefer moving the multivehicle sim to a separate script, rather than making it part of the make target (e.g. the script link I linked above) so that we can be more versatile on the number of vehicles.

For example, for gazebo you can specify arbitrary number of vehicles and targets through the script

from px4-flightgear-bridge.

slimonslimon avatar slimonslimon commented on June 15, 2024

Thank you for your comment! I will improve this later.

from px4-flightgear-bridge.

slimonslimon avatar slimonslimon commented on June 15, 2024

The last problem of selecting PX4 ID was passed to user start script - it should be set by environmental variable in the experimental branch

but this problem is not part of the FG bridge, It is the problem of start scripts.

The bridge has multi-vehicle support.

from px4-flightgear-bridge.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.