File tree Expand file tree Collapse file tree 3 files changed +16
-1
lines changed
Expand file tree Collapse file tree 3 files changed +16
-1
lines changed Original file line number Diff line number Diff line change 11# ChangeLog for pymycobot
22
3+ ## v3.6.5 (2024-10-25)
4+
5+ - release v3.6.5
6+ - Added 280 set_encoders_drag interface
7+
38## v3.6.4 (2024-10-22)
49
510- release v3.6.4
Original file line number Diff line number Diff line change 8585 from pymycobot .mybuddyemoticon import MyBuddyEmoticon
8686 __all__ .append ("MyBuddyEmoticon" )
8787
88- __version__ = "3.6.4 "
88+ __version__ = "3.6.5 "
8989__author__ = "Elephantrobotics"
9090__email__ = "weiquan.xu@elephantrobotics.com"
9191__git_url__ = "https://github.com/elephantrobotics/pymycobot"
Original file line number Diff line number Diff line change @@ -343,6 +343,16 @@ def get_encoders(self):
343343 """
344344 return self ._mesg (ProtocolCode .GET_ENCODERS , has_reply = True )
345345
346+ def set_encoders_drag (self , encoders , speeds ): # TODO 22-5-19 need test
347+ """Send all encoders and speeds
348+
349+ Args:
350+ encoders: encoders list.
351+ speeds: Obtained by the get_servo_speeds() method
352+ """
353+ self .calibration_parameters (class_name = self .__class__ .__name__ , encoders = encoders , speeds = speeds )
354+ return self ._mesg (ProtocolCode .SET_ENCODERS_DRAG , encoders , speeds )
355+
346356 # Running status and Settings
347357
348358 def get_joint_min_angle (self , joint_id ):
You can’t perform that action at this time.
0 commit comments