@@ -44,6 +44,8 @@ We support Python2, Python3.5 or later.
4444 - [ Running status and Settings] ( #running-status-and-settings )
4545 - [ get_speed] ( #get_speed )
4646 - [ set_speed] ( #set_speed )
47+ - [ set_joint_min] ( #set_joint_min )
48+ - [ set_joint_max] ( #set_joint_max )
4749 - [ get_joint_min_angle] ( #get_joint_min_angle )
4850 - [ get_joint_max_angle] ( #get_joint_max_angle )
4951 - [ Servo control] ( #servo-control )
@@ -65,13 +67,22 @@ We support Python2, Python3.5 or later.
6567 - [ set_gripper_value] ( #set_gripper_value )
6668 - [ set_gripper_ini] ( #set_gripper_ini )
6769 - [ is_gripper_moving] ( #is_gripper_moving )
68- - [ Basic] ( #basic )
6970 - [ get_basic_input] ( #get_basic_input )
7071 - [ set_basic_output] ( #set_basic_output )
7172 - [ set_ssid_pwd] ( #set_ssid_pwd )
7273 - [ get_ssid_pwd] ( #get_ssid_pwd )
7374 - [ set_server_port] ( #set_server_port )
7475 - [ get_tof_distance] ( #get_tof_distance )
76+ - [ get_tool_reference] ( #get_tool_reference )
77+ - [ set_tool_reference] ( #set_tool_reference )
78+ - [ set_world_reference] ( #set_world_reference )
79+ - [ get_world_reference] ( #get_world_reference )
80+ - [ set_reference_frame] ( #set_reference_frame )
81+ - [ get_reference_frame] ( #get_reference_frame )
82+ - [ set_movement_type] ( #set_movement_type )
83+ - [ get_movement_type] ( #get_movement_type )
84+ - [ set_end_type] ( #set_end_type )
85+ - [ get_movement_type] ( #get_movement_type-1 )
7586 - [ Raspberry pi -- GPIO] ( #raspberry-pi----gpio )
7687 - [ gpio_init] ( #gpio_init )
7788 - [ gpio_output] ( #gpio_output )
@@ -453,6 +464,24 @@ from pymycobot import MyCobot
453464
454465- ** Parameters** : speed: (` int ` ) 0 ~ 100
455466
467+ ### set_joint_min
468+
469+ - ** Prototype** : ` set_joint_min(id, angle) `
470+ - ** Description** : Sets the minimum angle for the specified joint.
471+
472+ - ** Parameters** :
473+ - ` id ` : (` int ` ) joint id 1-6.
474+ - ` angle ` : 0 - 180.
475+
476+ ### set_joint_max
477+
478+ - ** Prototype** : ` set_joint_max(id, angle) `
479+ - ** Description** : Sets the maximum angle of the specified joint.
480+
481+ - ** Parameters** :
482+ - ` id ` : (` int ` ) joint id 1-6.
483+ - ` angle ` : 0 - 180.
484+
456485### get_joint_min_angle
457486
458487- ** Prototype** : ` get_joint_min_angle() `
@@ -651,8 +680,6 @@ from pymycobot import MyCobot
651680 - ` 1 ` : is moving
652681 - ` -1 ` : error data
653682
654- ## Basic
655-
656683### get_basic_input
657684
658685- ** Prototype** : ` get_basic_input(pin_no) `
@@ -703,7 +730,7 @@ from pymycobot import MyCobot
703730
704731- ** Parameters**
705732
706- - ` port ` (` int ` ) The new connection port of the server.
733+ - ` port ` : (` int ` ) The new connection port of the server.
707734
708735### get_tof_distance
709736
@@ -713,6 +740,99 @@ from pymycobot import MyCobot
713740
714741- ** Return** : ` int ` The unit is mm.
715742
743+ ### get_tool_reference
744+
745+ - ** Prototype** : ` get_tool_reference() `
746+
747+ - ** Description** : Get tool coordinate system.
748+
749+ - ** Return** : ` list ` [ x, y, z, rx, ry, rz] .
750+
751+ ### set_tool_reference
752+
753+ - ** Prototype** : ` set_tool_reference(coords) `
754+
755+ - ** Description** : Set tool coordinate system.
756+
757+ - ** Parameters** :
758+ - ` coords ` : (` list ` ) [ x, y, z, rx, ry, rz] .
759+
760+ ### set_world_reference
761+
762+ - ** Prototype** : ` set_world_reference(coords) `
763+
764+ - ** Description** : Set world coordinate system.
765+
766+ - ** Parameters** :
767+ - ` coords ` : (` list ` ) [ x, y, z, rx, ry, rz] .
768+
769+ ### get_world_reference
770+
771+ - ** Prototype** : ` get_world_reference() `
772+
773+ - ** Description** : Get world coordinate system.
774+
775+ - ** Return** : ` list ` [ x, y, z, rx, ry, rz] .
776+
777+ ### set_reference_frame
778+
779+ - ** Prototype** : ` set_reference_frame(rftype) `
780+
781+ - ** Description** : Set base coordinate system.
782+
783+ - ** Parameters** :
784+ - ` rftype ` : 0 - base 1 - tool.
785+
786+ ### get_reference_frame
787+
788+ - ** Prototype** : ` get_reference_frame() `
789+
790+ - ** Description** : Get base coordinate system.
791+
792+ - ** Return** : 0 - base 1 - tool.
793+
794+ ### set_movement_type
795+
796+ - ** Prototype** : ` set_movement_type(move_type) `
797+
798+ - ** Description** : Set movement type.
799+
800+ - ** Parameters** :
801+ - ` move_type ` : 1 - movel, 0 - moveJ.
802+
803+ ### get_movement_type
804+
805+ - ** Prototype** : ` get_movement_type() `
806+
807+ - ** Description** : Get movement type.
808+
809+ - ** Return** : 1 - movel, 0 - moveJ.
810+
811+ ### set_end_type
812+
813+ - ** Prototype** : ` set_end_type(end) `
814+
815+ - ** Description** : Set end coordinate system.
816+
817+ - ** Parameters** :
818+ - ` end ` : 0 - flange, 1 - tool.
819+
820+ ### get_movement_type
821+
822+ - ** Prototype** : ` get_movement_type() `
823+
824+ - ** Description** : Get movement type.
825+
826+ - ** Return** : 0 - flange, 1 - tool.
827+
828+ <!-- ### get_plan_speed
829+
830+ - **Prototype**: `get_movement_type()`
831+
832+ - **Description**: Get movement type.
833+
834+ - **Return**: 0 - flange, 1 - tool. -->
835+
716836## Raspberry pi -- GPIO
717837
718838### gpio_init
0 commit comments