You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to "help" the casters on PRM calibrate with the motors halted. I spun one the wrong way and it calibrated backwards. Since we're now using upper and lower limits in the calibration flag position, we should not trip the calibration controller until we cross the correct flag.
[dking] This change adds a ros::Duration(1.0).sleep() which kills the realtime loop every time this scenario is hit. The proper way to add a delay to the update function would be to add another state to state machine.
I tried to "help" the casters on PRM calibrate with the motors halted. I spun one the wrong way and it calibrated backwards. Since we're now using upper and lower limits in the calibration flag position, we should not trip the calibration controller until we cross the correct flag.
pr2_calibration_controllers/src/caster_calibration_controller.cpp
{{{
bool switch_state_ = actuator_->state_.calibration_reading_ & 1;
if (switch_state_ != original_switch_state_)
{
}}}
This should check whether we trip the rising or falling edge, and only trigger in that case.
trac data:
The text was updated successfully, but these errors were encountered: