For coursework of group 3 in SOFT564Z
Dependencies: Motordriver ros_lib_kinetic
ROS_Handler.hpp@11:0b9098ec11c7, 2019-12-19 (annotated)
- Committer:
- Jonathan738
- Date:
- Thu Dec 19 00:13:38 2019 +0000
- Revision:
- 11:0b9098ec11c7
- Parent:
- 4:8afc50a3e4ac
- Child:
- 12:82b8fe254222
Fixed several bugs, added status information and TOF data to ROS Topics
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Jonathan738 | 4:8afc50a3e4ac | 1 | #include "mbed.h" |
Jonathan738 | 4:8afc50a3e4ac | 2 | #include "General.hpp" |
Jonathan738 | 4:8afc50a3e4ac | 3 | #include "ros.h" |
Jonathan738 | 4:8afc50a3e4ac | 4 | #include "rtos.h" |
Jonathan738 | 4:8afc50a3e4ac | 5 | #include "Pins.h" |
Jonathan738 | 4:8afc50a3e4ac | 6 | |
Jonathan738 | 0:3dfee562823a | 7 | #include <std_msgs/Empty.h> |
Jonathan738 | 0:3dfee562823a | 8 | #include <std_msgs/Int32.h> |
Jonathan738 | 0:3dfee562823a | 9 | #include <std_msgs/Int32MultiArray.h> |
Jonathan738 | 11:0b9098ec11c7 | 10 | #include <std_msgs/Float32MultiArray.h> |
Jonathan738 | 11:0b9098ec11c7 | 11 | #include "std_msgs/String.h" |
Jonathan738 | 0:3dfee562823a | 12 | #include <geometry_msgs/Twist.h> |
Jonathan738 | 0:3dfee562823a | 13 | #include <geometry_msgs/Vector3.h> |
Jonathan738 | 0:3dfee562823a | 14 | |
Jonathan738 | 0:3dfee562823a | 15 | #ifndef Define_ONCE_ROShandler |
Jonathan738 | 0:3dfee562823a | 16 | #define Define_ONCE_ROShandler |
Jonathan738 | 0:3dfee562823a | 17 | |
Jonathan738 | 0:3dfee562823a | 18 | void ROS_Handler(void); |
Jonathan738 | 0:3dfee562823a | 19 | void CallBack(const geometry_msgs::Twist& msg); |
Jonathan738 | 0:3dfee562823a | 20 | |
Jonathan738 | 0:3dfee562823a | 21 | #endif |