From f7237e6c32ab6ca856ec5e80c134e0ee3e4e1768 Mon Sep 17 00:00:00 2001 From: David Leins Date: Thu, 12 Oct 2023 10:58:53 +0200 Subject: [PATCH] fix: add missing sensor example config --- mujoco_ros/CHANGELOG.md | 1 + mujoco_ros_sensors/CMakeLists.txt | 4 ++++ mujoco_ros_sensors/config/example_sensors.yaml | 2 ++ 3 files changed, 7 insertions(+) create mode 100644 mujoco_ros_sensors/config/example_sensors.yaml diff --git a/mujoco_ros/CHANGELOG.md b/mujoco_ros/CHANGELOG.md index 225abfc..68e16a8 100644 --- a/mujoco_ros/CHANGELOG.md +++ b/mujoco_ros/CHANGELOG.md @@ -7,6 +7,7 @@ ### Fixed * re-added setting realtime settings via ros param or in the mujoco model xml. * Add missing install of mujoco_ros's `config` and `assets` directories (#28). +* Added missing example config for `mujoco_ros_sensors`. ### Changed * Reduced sensor noise std in tests to reduce wrongful fails due to too stochasticity. diff --git a/mujoco_ros_sensors/CMakeLists.txt b/mujoco_ros_sensors/CMakeLists.txt index e128401..c8cdce6 100644 --- a/mujoco_ros_sensors/CMakeLists.txt +++ b/mujoco_ros_sensors/CMakeLists.txt @@ -79,6 +79,10 @@ install(FILES DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION} ) +install(DIRECTORY config + DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION} +) + ############# ## Testing ## ############# diff --git a/mujoco_ros_sensors/config/example_sensors.yaml b/mujoco_ros_sensors/config/example_sensors.yaml new file mode 100644 index 0000000..47c3333 --- /dev/null +++ b/mujoco_ros_sensors/config/example_sensors.yaml @@ -0,0 +1,2 @@ +MujocoPlugins: + - type: mujoco_ros_sensors/MujocoRosSensorsPlugin