ethz-asl / ethzasl_xsens_driver

Driver for xsens IMUs
BSD 2-Clause "Simplified" License
102 stars 112 forks source link

configure the output from the ros node launch #87

Open amastrobera opened 6 years ago

amastrobera commented 6 years ago

I added one the missing configuration option in the ros-node launch. Removed tabs in that file.

feature being able to decide what output the sensor should publish (for example, mag.field + lin.accel.)

before python mtdevice.py --configure "ad,mg" roslaunch xsens_driver xsens_driver.launch

after roslaunch xsens_driver xsens_driver.launch // the .launch file including that config

amastrobera commented 6 years ago

@fcolas @esteve @LukePhairatt @bdholt1 FYI I added this commit

fcolas commented 6 years ago

Many thanks for this contribution. However, I won't accept it as this since I don't want to needlessly update the configuration.

I assume that you're aware that the configuration is stored on the device and, unless you are switching configuration time, you need to do the mtdevice -c ... only once. Please see discussion in #70 (especially this comment) for more details and what to do to actually set it in the node.