File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -248,6 +248,7 @@ def tool_contact_detection():
248
248
kill thread_trajectory
249
249
clear_remaining_trajectory_points()
250
250
elif control_mode == MODE_FREEDRIVE:
251
+ textmsg("Leaving freedrive mode")
251
252
end_freedrive_mode()
252
253
else:
253
254
kill thread_move
@@ -333,6 +334,7 @@ while keepalive > 0 and control_mode > MODE_STOPPED:
333
334
clear_remaining_trajectory_points()
334
335
# Stop freedrive
335
336
elif control_mode == MODE_FREEDRIVE:
337
+ textmsg("Leaving freedrive mode")
336
338
end_freedrive_mode()
337
339
end
338
340
@@ -383,8 +385,10 @@ while keepalive > 0 and control_mode > MODE_STOPPED:
383
385
set_servo_pose(pose)
384
386
elif control_mode == MODE_FREEDRIVE:
385
387
if params_mult[2] == FREEDRIVE_MODE_START:
388
+ textmsg("Entering freedrive mode")
386
389
freedrive_mode()
387
390
elif params_mult[2] == FREEDRIVE_MODE_STOP:
391
+ textmsg("Leaving freedrive mode")
388
392
end_freedrive_mode()
389
393
end
390
394
end
You can’t perform that action at this time.
0 commit comments