Skip to content

API Examples

C++ SDK usage examples, divided into basic and advanced applications.

Basic Applications

Read in order. Beginners are recommended to start with the first example:

#ExampleDescription
1Get Position in Different Coordinatesconnect_robot + get_current_position
2Single-Point Motion without Smoothingrobot_movej, single-axis movement in teach mode
3Smooth Continuous Trajectory Motionqueue_motion series, queue-based multi-command dispatch
4Teach Mode Type Switching and Trajectory PlaybackDrag teach, trajectory recording and playback
5Tool Hand Calibration7-point and 20-point tool hand calibration procedures
6Curve Motion with Motion QueueMOVS curve interpolation

Advanced Applications

ExampleDescription
servoJ Joint Controlopen_servoJ / set_servoJ_pos / stop_servoJ
servo_move Tracking MotionContinuous trajectory smooth dispatch
Servo Point Position Controlservo_point_position_motion_control