From 2abad017e34e2852a7eeaf87427c83e36516d9f1 Mon Sep 17 00:00:00 2001 From: Steve Peters Date: Sun, 28 Jul 2024 18:12:58 -0700 Subject: [PATCH] ForceTorque use SystemConfigurePriority Set the default priority to 10 so we don't have to set the priority in XML for every world that uses force-torque sensors. Signed-off-by: Steve Peters --- examples/worlds/sensors.sdf | 1 - src/systems/force_torque/ForceTorque.cc | 7 +++++++ src/systems/force_torque/ForceTorque.hh | 4 ++++ test/worlds/force_torque.sdf | 4 +--- 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/examples/worlds/sensors.sdf b/examples/worlds/sensors.sdf index 8ca7b63789..9717bb11b3 100644 --- a/examples/worlds/sensors.sdf +++ b/examples/worlds/sensors.sdf @@ -38,7 +38,6 @@ - 10 0 - - 10 - + true