DukeRobotics / robosub-ros2

ROS 2 system to control a robot for the RoboSub Competition.
4 stars 0 forks source link

Migrate foxglove #22

Open maxwellmlin opened 1 day ago

maxwellmlin commented 1 day ago

Before:

export enum CustomMsgsPidGainConst {
  LOOP_POSITION = 0,
  LOOP_VELOCITY = 1,
  AXIS_X = 0,
  AXIS_Y = 1,
  AXIS_Z = 2,
  AXIS_ROLL = 3,
  AXIS_PITCH = 4,
  AXIS_YAW = 5,
  GAIN_KP = 0,
  GAIN_KI = 1,
  GAIN_KD = 2,
  GAIN_FF = 3,
}

After:

export enum CustomMsgsPidGainLoop {
  POSITION = 0,
  VELOCITY = 1,
}

export enum CustomMsgsPidGainAxis {
  X = 0,
  Y = 1,
  Z = 2,
  ROLL = 3,
  PITCH = 4,
  YAW = 5,
}

export enum CustomMsgsPidGainGain {
  KP = 0,
  KI = 1,
  KD = 2,
  FF = 3,
}