forked from isaac-sim/IsaacSimZMQ
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathserver_control_message.proto
More file actions
35 lines (30 loc) · 1.05 KB
/
Copy pathserver_control_message.proto
File metadata and controls
35 lines (30 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
syntax = "proto3";
// Vector3 represents a 3D vector with x, y, z components
message Vector3 {
double x = 1;
double y = 2;
double z = 3;
}
// CameraControlCommand represents all camera-related controls
message CameraControlCommand {
Vector3 joints_vel = 1; // Velocities for camera mount joints (x, y, z axes)
double focal_length = 2; // The focal length value
}
// SettingsCommand represents general control parameters
message SettingsCommand {
bool adaptive_rate = 1; // Whether to use adaptive rate
}
// FrankaCommand represents a command for the Franka robot
message FrankaCommand {
Vector3 effector_pos = 1; // The effector position
bool show_marker = 2; // Whether to show the marker
}
// ServerControlMessage is the main message that can contain any of the command types
message ServerControlMessage {
// Only one of these fields will be set
oneof command {
CameraControlCommand camera_control_command = 1;
SettingsCommand settings_command = 2;
FrankaCommand franka_command = 3;
}
}