Robotics StackExchange | Archived questions

What's the proper way to launch mavros and mavros_extras?

There's very little info about this on either package's page. Do I launch mavros and include mavrosextras plugins in the plugins list? Do I launch both mavros and mavrosextras? An example would be supremely helpful.

Asked by seanarm on 2017-04-10 15:24:18 UTC

Comments

Answers

There is actually an example launch in the PX4 repo, here: https://github.com/PX4/Firmware/blob/master/launch/mavros.launch You would need to change the fcu_url and gcs_url to suit your needs, but otherwise that launch file would launch mavros properly. As you can see there are two extras files of concern, pluginlists_yaml and config_yaml, both those files are in mavros' launch directory, and if you want to modify them, say disable or enable some plugins you can either change those files or point the arg to your own yaml config file

EDIT: if you have mavros_extras installed just add the appropriate plugins to the pluginlists_yaml

Asked by eric1221bday on 2017-06-21 12:18:32 UTC

Comments