Universal Robots Forum

Difference between and teach_mode() and freedrive_mode()

Hello,

What is the difference between the two functions :

  • teach_mode()
  • freedrive_mode()

In the documentation the description is exactly the same :
“Set robot in freedrive mode. In this mode the robot can be moved around by hand in the same way as by pressing the “freedrive” button. The robot will not be able to follow a trajectory (eg. a movej) in this mode”

Thanks for your help.

Regards

1 Like

They are the same. The teach_mode() function is an older version that existed in the first CB3 robot and this function was later replaced by freedrive (for consistency in naming). The teach_mode function was left in the API to support legacy code that might have used it.

3 Likes