Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support printing sensors using
ign model
(#1157)
* Support printing sensors using Print information about models. ign model [options] Available Options: --list Get a list of the available models. -m [--model] arg Select the model to be shown. -p [--pose] Print the pose of the model. -l [--link] arg Select a link to show its properties. If no arg is passed all links are printed Requires the -m option E.g. to get information about the caster link in the diff_drive world, run: ign model -m vehicle_blue -l caster -s [--sensor] arg Select a sensor to show its properties. If no arg is passed all sensors are printed Requires the -m and -l options E.g. to get information about the imu sensor in the sensors world, run: ign model -m sensors_box -l link -s imu -j [--joint] arg Select a joint to show its properties. If no arg is passed all joints are printed Requires the -m option E.g. to get information about the caster_wheel joint in the diff_drive world, run: ign model -m vehicle_blue -j caster_wheel -h [--help] Print this help message. --force-version <VERSION> Use a specific library version. --versions Show the available versions. Signed-off-by: Nate Koenig <nate@openrobotics.org> * Added tests Signed-off-by: Nate Koenig <nate@openrobotics.org> * Update documentation Signed-off-by: Nate Koenig <nate@openrobotics.org> * use joinPaths Signed-off-by: Nate Koenig <nate@openrobotics.org> * Use commas Signed-off-by: Nate Koenig <nate@openrobotics.org> * More commas Signed-off-by: Nate Koenig <nate@openrobotics.org> * Moved test to require DRI Signed-off-by: Nate Koenig <nate@openrobotics.org> Co-authored-by: Nate Koenig <nate@openrobotics.org>
- Loading branch information