For coursework of group 3 in SOFT564Z
Dependencies: Motordriver ros_lib_kinetic
ROS_Handler.hpp@4:8afc50a3e4ac, 2019-11-30 (annotated)
- Committer:
- Jonathan738
- Date:
- Sat Nov 30 10:59:09 2019 +0000
- Revision:
- 4:8afc50a3e4ac
- Parent:
- 0:3dfee562823a
- Child:
- 11:0b9098ec11c7
Added Debug code, re-factored existing code
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 | 0:3dfee562823a | 10 | #include <geometry_msgs/Twist.h> |
Jonathan738 | 0:3dfee562823a | 11 | #include <geometry_msgs/Vector3.h> |
Jonathan738 | 0:3dfee562823a | 12 | |
Jonathan738 | 0:3dfee562823a | 13 | #ifndef Define_ONCE_ROShandler |
Jonathan738 | 0:3dfee562823a | 14 | #define Define_ONCE_ROShandler |
Jonathan738 | 0:3dfee562823a | 15 | |
Jonathan738 | 0:3dfee562823a | 16 | void ROS_Handler(void); |
Jonathan738 | 0:3dfee562823a | 17 | void CallBack(const geometry_msgs::Twist& msg); |
Jonathan738 | 0:3dfee562823a | 18 | |
Jonathan738 | 0:3dfee562823a | 19 | #endif |