Open maxwellmlin opened 1 day ago
foxglove.py
smartEnums
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, }
foxglove.py
must be run inside the containersmartEnums
for ros-typescript-generator.Before:
After: