Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make rotation clearer in Orbita3d #24

Merged
merged 2 commits into from
Oct 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 17 additions & 11 deletions protos/orbita3d.proto
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@ message Orbita3DState {
string name = 2;
uint32 id = 3;

Float3D present_position = 4;
Float3D present_speed = 5;
Float3D present_load = 6;
reachy.kinematics.Rotation3D present_position = 4;
Vector3D present_speed = 5;
Vector3D present_load = 6;
Float3D temperature = 7;

google.protobuf.BoolValue compliant = 8;
Float3D goal_position = 9;
reachy.kinematics.Rotation3D goal_position = 9;
Float3D speed_limit = 10;
Float3D torque_limit = 11;

Expand All @@ -60,22 +60,28 @@ message Orbita3DStreamStateRequest {
}

message PID3D {
PIDGains roll = 1;
PIDGains pitch = 2;
PIDGains yaw = 3;
PIDGains motor_1 = 1;
PIDGains motor_2 = 2;
PIDGains motor_3 = 3;
}

message Float3D {
float roll = 1;
float pitch = 2;
float yaw = 3;
float motor_1 = 1;
float motor_2 = 2;
float motor_3 = 3;
}

message Vector3D {
float x = 1;
float y = 2;
float z = 3;
}

message Orbita3DCommand {
component.ComponentId id = 1;

google.protobuf.BoolValue compliant = 2;
reachy.kinematics.Quaternion goal_position = 3;
reachy.kinematics.Rotation3D goal_position = 3;
Float3D speed_limit = 4;
Float3D torque_limit = 5;
}
Expand Down
54 changes: 32 additions & 22 deletions python/reachy_sdk_api_v2/orbita3d_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.