-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
use UDP telemetry in NPS sim #1404
Conversation
- get rid off all the datalink parsing "hacks" and use the actual parser from the firmware - this however means that you need to run link with the -udp option to use the NPS sim
I also added parsing of DL_SETTING messages directly via ivy again, so that you can turn the |
Or we create another ground message to set all the NPS options and we can completely get rid of the nps settings "hack".... |
we are generating a SETTINGS_NAME macro in settings.h, so can init a table with that and search for the index of the settings you need. |
When I have some time I'll look into checking the settings names, but I guess that doesn't have to be the focus now... was working like this so far as well... Any ideas on how to best also start link for NPS sim sessions? Create a separate NPS session? |
and remove the old jsbsim option
When starting a simulator session with NPS, link should now be started automatically as well... @gautierhattenberger @dewagter any comments/objections? Otherwise I would like to merge this. |
I like the idea that a simulation is as similar to flight as possible: so no problem starting link (and being able to simulate link loss as well). Probably needs some mention on the mailing list as well. |
use UDP telemetry in NPS sim When launching a Simulator session from the Paparazzi Center, link should be automatically started as well. If sitl is started directly, one also needs to start link with the -udp option.
and use it in NPS sim session. Should fix #1404 with multiple vehicles: When simulating multiple vehicles with NPS (which now uses UDP), link needs to send the messages via broadcast so that every sim agent gets the messages.
So you need the added |
For Mac OS X, the |
Get rid off all the datalink parsing "hacks" and use the actual parser from the firmware. That includes that the datalink parse functions of modules are run...
This however means that you need to run link with the -udp option to use the NPS sim.
So I guess we should find a nice way to also automatically start link with the simulation session (but only for type NPS).