Closed apockill closed 2 weeks ago
Please provide the software version, which can be queried using the following interfaces: get_robot_firmware_version
, get_robot_modified_version
Absolutely.
Here are the versions of the MyArmC
:
Python Version: 3
Robot Firmware Version: 1.1
Robot Modified Version: 4
Tool Firmware Version: 1.1
Tool Modified Version: 0
and the MyArmM
:
Python Version: 3
Robot Firmware Version: 1.1
Robot Modified Version: 1
Tool Firmware Version: None
Tool Modified Version: None
I got these by using:
def print_robot_info(robot: MyArmM | MyArmC) -> None:
logger.info(f"Python Version: {robot.check_python_version()}")
logger.info(f"Robot Firmware Version: {robot.get_robot_firmware_version()}")
logger.info(f"Robot Modified Version: {robot.get_robot_modified_version()}")
logger.info(f"Tool Firmware Version: {robot.get_robot_tool_firmware_version()}")
logger.info(f"Tool Modified Version: {robot.get_robot_tool_modified_version()}")
The main control software version seems to be incorrect. Please use myStudio
to re-burn the latest picoMain
firmware. The correct get_robot_modified_version
should be 7
Perfect, this solved it. Thank you!
Describe the bug In order to control MyArmM using MyArmC, I need to copy joint angles from MyArmC to MyArmM.
I need to know what the min and max values are, so I can clamp the values to the correct values, before sending them to
set_joint_angle
. However, it's impossible to do so right now becausecalibration_parameters
has different values than reported byget_joints_min
andget_joints_max
.This change is introduced in https://github.com/elephantrobotics/pymycobot/pull/103/files#diff-edb1753620e8370d80dd9ab73dff12930bbf15bac171ea5b08ca00af41f248e6R355
Where the PR sets
However, if you call
get_joints_min
andget_joints_max
, you get:These values are different, leading to
ValueError
s when teleoperating the MyArm pair.This is using v1.1 firmware on both MyArmC and MyArmM.