Skip to content

Teach mode through programming interface #11

Description

@trzy

Hi,

I was recently informed in a support chat on WhatsApp that it should be possible to place the robot into "teach mode" (the same mode as when the button on the robot is pressed). That is, I would like to be able to programmatically enter this mode that allows the user to freely position the robot while it holds its position, and read back the various joint angles. Sometimes this is referred to as "gravity compensated" operation.

I was told that MIT mode should achieve this:

piper.MotionCtrl_2(ctrl_mode=0x01, move_mode=0x01, move_spd_rate_ctrl=50, is_mit_mode=0xad)

However, this does not have any effect (other than the joint 5 moving slightly when the mode is first entered).

Is it possible to enter this mode? I would like joints 1-6 to be in gravity compensated mode, teachable by a human, and the gripper to continue to be operated by the program (it is controlled separately anyway so that should be simple).

Thank you,

Bart

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions