Fix warning message to show precise jump back in time duration #2435
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🦟 Bug fix
Fixes #2407 (Incorrect warning msg when sim jumps back in time)
Summary
Refactor the following warning message code:
to:
for the following files:
src/systems/ackermann_steering/AckermannSteering.cc
src/systems/advanced_lift_drag/AdvancedLiftDrag.cc
src/systems/air_pressure/AirPressure.cc
src/systems/air_speed/AirSpeed.cc
src/systems/altimeter/Altimeter.cc
src/systems/apply_joint_force/ApplyJointForce.cc
src/systems/battery_plugin/LinearBatteryPlugin.cc
src/systems/contact/Contact.cc
src/systems/diff_drive/DiffDrive.cc
src/systems/force_torque/ForceTorque.cc
src/systems/imu/Imu.cc
src/systems/joint_controller/JointController.cc
src/systems/joint_position_controller/JointPositionController.cc
src/systems/lift_drag/LiftDrag.cc
src/systems/log/LogRecord.cc
src/systems/logical_camera/LogicalCamera.cc
src/systems/magnetometer/Magnetometer.cc
src/systems/mecanum_drive/MecanumDrive.cc
src/systems/multicopter_control/MulticopterVelocityControl.cc
src/systems/multicopter_motor_model/MulticopterMotorModel.cc
src/systems/navsat/NavSat.cc
src/systems/odometry_publisher/OdometryPublisher.cc
src/systems/pose_publisher/PosePublisher.cc
src/systems/touch_plugin/TouchPlugin.cc
src/systems/tracked_vehicle/TrackedVehicle.cc
src/systems/velocity_control/VelocityControl.cc
src/systems/wind_effects/WindEffects.cc