From c89fd99f9cdb24a42badc84b814ce298853d31e6 Mon Sep 17 00:00:00 2001 From: Paul D'Angio Date: Thu, 16 Jul 2020 23:12:02 -0400 Subject: [PATCH] updated msg names --- msg/AnalogVoltage.msg | 6 ------ msg/analog_voltage.msg | 3 +++ msg/{AxisState.msg => axis_state.msg} | 3 ++- msg/{Proximity.msg => proximity.msg} | 6 +++--- srv/{SetAxisHome.srv => set_axis_home.srv} | 0 5 files changed, 8 insertions(+), 10 deletions(-) delete mode 100644 msg/AnalogVoltage.msg create mode 100644 msg/analog_voltage.msg rename msg/{AxisState.msg => axis_state.msg} (77%) rename msg/{Proximity.msg => proximity.msg} (73%) rename srv/{SetAxisHome.srv => set_axis_home.srv} (100%) diff --git a/msg/AnalogVoltage.msg b/msg/AnalogVoltage.msg deleted file mode 100644 index 101cea7..0000000 --- a/msg/AnalogVoltage.msg +++ /dev/null @@ -1,6 +0,0 @@ -# Reports one or more analog voltage measurements. - -Header header # Includes a timestamp for the measurement. - # Frame IDs are not used. - -float64 voltage # The measured analog voltage [v] diff --git a/msg/analog_voltage.msg b/msg/analog_voltage.msg new file mode 100644 index 0000000..31fad16 --- /dev/null +++ b/msg/analog_voltage.msg @@ -0,0 +1,3 @@ +# Reports an analog voltage measurements. + +float64 voltage # The measured analog voltage [v] \ No newline at end of file diff --git a/msg/AxisState.msg b/msg/axis_state.msg similarity index 77% rename from msg/AxisState.msg rename to msg/axis_state.msg index 274ed3c..3d824f3 100644 --- a/msg/AxisState.msg +++ b/msg/axis_state.msg @@ -1,6 +1,7 @@ # Reports the instantaneous state of an axis. -Header header # Includes a timestamp and frame ID for the measurement. float64 position # The current position of the axis in radians. float64 velocity # The current velocity of the axis in radians/second. float64 acceleration # The current acceleration of the axis in radians/second^2. + +string frame_id # The id of the measurement's frame. \ No newline at end of file diff --git a/msg/Proximity.msg b/msg/proximity.msg similarity index 73% rename from msg/Proximity.msg rename to msg/proximity.msg index 75f9050..a28e556 100644 --- a/msg/Proximity.msg +++ b/msg/proximity.msg @@ -1,7 +1,5 @@ # Reports the instantaneous measurement of a proximity sensor. -Header header # Includes a timestamp and frame ID for the measurement. - # Radiation enumerations. uint8 UNSPECIFIED=255 uint8 ULTRASOUND=0 @@ -14,4 +12,6 @@ float32 min_range # The minimum detection range of the sensor [m] float32 max_range # The maximum detection range of the sensor [m] float32 field_of_view # The maximum FoV of the sensor [rad] -bool proximity # Reports TRUE if proximity is detected, otherwise FALSE. +bool proximity # Reports TRUE if proximity is detected, otherwise FALSE. + +string frame_id # The ID of the measurement frame. diff --git a/srv/SetAxisHome.srv b/srv/set_axis_home.srv similarity index 100% rename from srv/SetAxisHome.srv rename to srv/set_axis_home.srv