syntax = "proto3";
package robot.v1;

option csharp_namespace = "Messages.Common.V1";
option go_package = "github.com/cobotar/protocol/messages/robot/v1";

enum RobotState {
  ROBOT_STATE_UNSPECIFIED = 0;
  ROBOT_STATE_STOPPING = 1;
  ROBOT_STATE_STOPPED = 2;
  ROBOT_STATE_PLAYING = 3;
  ROBOT_STATE_PAUSING = 4;
  ROBOT_STATE_PAUSED = 5;
  ROBOT_STATE_RESUMING = 6;
}

message RobotStateMessage {
  string robot_id = 1;
  RobotState state_code = 2;
  string state = 3;
  double target_speed = 4;
  double actual_speed = 5;
}
