For coursework of group 3 in SOFT564Z
Dependencies: Motordriver ros_lib_kinetic
ROS_Handler.hpp@12:82b8fe254222, 2020-01-05 (annotated)
- Committer:
- Jonathan738
- Date:
- Sun Jan 05 15:42:22 2020 +0000
- Revision:
- 12:82b8fe254222
- Parent:
- 11:0b9098ec11c7
Added working version of TOF 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 | 11:0b9098ec11c7 | 7 | #include <std_msgs/Float32MultiArray.h> |
Jonathan738 | 12:82b8fe254222 | 8 | #include <std_msgs/String.h> |
Jonathan738 | 0:3dfee562823a | 9 | |
Jonathan738 | 0:3dfee562823a | 10 | #ifndef Define_ONCE_ROShandler |
Jonathan738 | 0:3dfee562823a | 11 | #define Define_ONCE_ROShandler |
Jonathan738 | 0:3dfee562823a | 12 | |
Jonathan738 | 0:3dfee562823a | 13 | void ROS_Handler(void); |
Jonathan738 | 12:82b8fe254222 | 14 | void Control_CallBack(const std_msgs::Float32MultiArray& cmd_vel_msg); |
Jonathan738 | 0:3dfee562823a | 15 | |
Jonathan738 | 0:3dfee562823a | 16 | #endif |