You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I send Cartesian waypoint trajectories to Gen3 robot. By default (based on api_python example "02-send_cartesian_waypoint_trajectory") the reference frame is BASE. See below code:
I need to change reference frame to CARTESIAN_REFERENCE_FRAME_MIXED. However, I see this error when I change waypoint.reference_frame = Base_pb2.CARTESIAN_REFERENCE_FRAME_BASE with waypoint.reference_frame = Base_pb2.CARTESIAN_REFERENCE_FRAME_MIXED. The error is shown below:
Error found in Stroke trajectory
trajectory_error_elements {
error_type: TRAJECTORY_ERROR_TYPE_INVALID_REFERENCE_FRAME
min_value: 1.0
max_value: 2.0
message: "Requested reference frame is not supported"
waypoint_index: 1
}
My question is, do you know how can I change reference frame to Mixed one? I should mention that I added below code in my Main file but it does not work.
with utilities.DeviceConnection.createTcpConnection(args) as router:
base = BaseClient(router)
vari = ControlConfigClient(router)
ref_f = CartesianReferenceFrameInfo()
ref_f.reference_frame = 1
vari.SetCartesianReferenceFrame(ref_f)
Thanks for time and consideration
regards,
Pouyan
The text was updated successfully, but these errors were encountered:
I have looked into this issue, I found that the first CartesianWaypoint needs to be in a Base Reference Frame. Following waypoints can be in Mixed Reference Frame.
According to the documentation, using SetCartesianReferenceFrame will only work for twist and wrench commands
Defines the reference frame to use with twist and wrench commands
Description
I send Cartesian waypoint trajectories to Gen3 robot. By default (based on api_python example "02-send_cartesian_waypoint_trajectory") the reference frame is BASE. See below code:
I need to change reference frame to CARTESIAN_REFERENCE_FRAME_MIXED. However, I see this error when I change waypoint.reference_frame = Base_pb2.CARTESIAN_REFERENCE_FRAME_BASE with waypoint.reference_frame = Base_pb2.CARTESIAN_REFERENCE_FRAME_MIXED. The error is shown below:
My question is, do you know how can I change reference frame to Mixed one? I should mention that I added below code in my Main file but it does not work.
Thanks for time and consideration
regards,
Pouyan
The text was updated successfully, but these errors were encountered: