Skip to content

Commit 494a077

Browse files
committed
Raise the gentle acceleration value used in the stop controller examples
1 parent f975fac commit 494a077

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

getting_started/asyncio/driving/drive_with_stop_controller.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ async def main():
131131
# Control of the motors is handed off to the stop controller,
132132
# which linearly ramps down the velocity targets of both treads.
133133
await rvr.drive_stop_custom_decel(
134-
deceleration_rate=0.25 # Decelerate both treads toward 0 velocity at 0.25 m/s^2
134+
deceleration_rate=0.5 # Decelerate both treads toward 0 velocity at 0.5 m/s^2
135135
)
136136

137137
# In addition to the notification, it is also possible to poll whether the robot

getting_started/observer/driving/drive_with_stop_controller.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ def main():
132132
# Control of the motors is handed off to the stop controller,
133133
# which linearly ramps down the velocity targets of both treads.
134134
rvr.drive_stop_custom_decel(
135-
deceleration_rate=0.25 # Decelerate both treads toward 0 velocity at 0.25 m/s^2
135+
deceleration_rate=0.5 # Decelerate both treads toward 0 velocity at 0.5 m/s^2
136136
)
137137

138138
# In addition to polling to check if the robot has stopped,

0 commit comments

Comments
 (0)