ROS Serial library for Mbed platforms for ROS Kinetic Kame. Check http://wiki.ros.org/rosserial_mbed/ for more information.
Dependents: mbed-os-example-blinky
dynamic_reconfigure/SensorLevels.h@2:f2240ad62eaf, 2019-08-01 (annotated)
- Committer:
- fllay
- Date:
- Thu Aug 01 17:08:55 2019 +0000
- Revision:
- 2:f2240ad62eaf
- Parent:
- 0:9e9b7db60fd5
fix time.h
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
garyservin | 0:9e9b7db60fd5 | 1 | #ifndef _ROS_dynamic_reconfigure_SensorLevels_h |
garyservin | 0:9e9b7db60fd5 | 2 | #define _ROS_dynamic_reconfigure_SensorLevels_h |
garyservin | 0:9e9b7db60fd5 | 3 | |
garyservin | 0:9e9b7db60fd5 | 4 | #include <stdint.h> |
garyservin | 0:9e9b7db60fd5 | 5 | #include <string.h> |
garyservin | 0:9e9b7db60fd5 | 6 | #include <stdlib.h> |
garyservin | 0:9e9b7db60fd5 | 7 | #include "ros/msg.h" |
garyservin | 0:9e9b7db60fd5 | 8 | |
garyservin | 0:9e9b7db60fd5 | 9 | namespace dynamic_reconfigure |
garyservin | 0:9e9b7db60fd5 | 10 | { |
garyservin | 0:9e9b7db60fd5 | 11 | |
garyservin | 0:9e9b7db60fd5 | 12 | class SensorLevels : public ros::Msg |
garyservin | 0:9e9b7db60fd5 | 13 | { |
garyservin | 0:9e9b7db60fd5 | 14 | public: |
garyservin | 0:9e9b7db60fd5 | 15 | enum { RECONFIGURE_CLOSE = 3 }; |
garyservin | 0:9e9b7db60fd5 | 16 | enum { RECONFIGURE_STOP = 1 }; |
garyservin | 0:9e9b7db60fd5 | 17 | enum { RECONFIGURE_RUNNING = 0 }; |
garyservin | 0:9e9b7db60fd5 | 18 | |
garyservin | 0:9e9b7db60fd5 | 19 | SensorLevels() |
garyservin | 0:9e9b7db60fd5 | 20 | { |
garyservin | 0:9e9b7db60fd5 | 21 | } |
garyservin | 0:9e9b7db60fd5 | 22 | |
garyservin | 0:9e9b7db60fd5 | 23 | virtual int serialize(unsigned char *outbuffer) const |
garyservin | 0:9e9b7db60fd5 | 24 | { |
garyservin | 0:9e9b7db60fd5 | 25 | int offset = 0; |
garyservin | 0:9e9b7db60fd5 | 26 | return offset; |
garyservin | 0:9e9b7db60fd5 | 27 | } |
garyservin | 0:9e9b7db60fd5 | 28 | |
garyservin | 0:9e9b7db60fd5 | 29 | virtual int deserialize(unsigned char *inbuffer) |
garyservin | 0:9e9b7db60fd5 | 30 | { |
garyservin | 0:9e9b7db60fd5 | 31 | int offset = 0; |
garyservin | 0:9e9b7db60fd5 | 32 | return offset; |
garyservin | 0:9e9b7db60fd5 | 33 | } |
garyservin | 0:9e9b7db60fd5 | 34 | |
garyservin | 0:9e9b7db60fd5 | 35 | const char * getType(){ return "dynamic_reconfigure/SensorLevels"; }; |
garyservin | 0:9e9b7db60fd5 | 36 | const char * getMD5(){ return "6322637bee96d5489db6e2127c47602c"; }; |
garyservin | 0:9e9b7db60fd5 | 37 | |
garyservin | 0:9e9b7db60fd5 | 38 | }; |
garyservin | 0:9e9b7db60fd5 | 39 | |
garyservin | 0:9e9b7db60fd5 | 40 | } |
garyservin | 0:9e9b7db60fd5 | 41 | #endif |