Let Robot Dance

Preparation

M5Stack series: Make sure robot is connected with PC (Go to 5.1 myBlockly for more information).

Other series: Make sure the robot is in normal status.

Purpose for this section

This section introduces instructions for swinging arms left and right.

Introduction to API

  • Set Angle

  • Applicable to six-axis robots (myCobot 280 series, mechArm series and myCobot 320 series)

  • Applicable to four-axis robots (myPalletizer series)

  • Parameters:

    Joint angle: set angles within its due range according to your needs (refer to 2 Products Profile)

    Speed: set speed within its due range according to your needs (refer to 2 Products Profile)

  • Function: multiple joints move to corresponding degree at the preset speed.

Simple Demo

  • Program for display:

  • Motion:

    All arms move to starting point, RGB light changes to red,

    after 2 seconds, Joint 1, Joint 2 and Joint 3 move to 30 degree, 50 degree and -10 degree at the speed of 50 respectively,

    after 2 seconds, RGB light changes to green,

    after 2 seconds, Joint 1, Joint 2 and Joint 3 move to -30 degree, 30 degree and -30 degree at the speed of 50 respectively,

    after 2 seconds, RGB light changes to blue,

    after 2 seconds, all arms move to starting point.

results matching ""

    No results matching ""