For coursework of group 3 in SOFT564Z
Dependencies: Motordriver ros_lib_kinetic
Diff: ROS_Handler.hpp
- Revision:
- 12:82b8fe254222
- Parent:
- 11:0b9098ec11c7
--- a/ROS_Handler.hpp Thu Dec 19 00:13:38 2019 +0000 +++ b/ROS_Handler.hpp Sun Jan 05 15:42:22 2020 +0000 @@ -4,18 +4,13 @@ #include "rtos.h" #include "Pins.h" -#include <std_msgs/Empty.h> -#include <std_msgs/Int32.h> -#include <std_msgs/Int32MultiArray.h> #include <std_msgs/Float32MultiArray.h> -#include "std_msgs/String.h" -#include <geometry_msgs/Twist.h> -#include <geometry_msgs/Vector3.h> +#include <std_msgs/String.h> #ifndef Define_ONCE_ROShandler #define Define_ONCE_ROShandler void ROS_Handler(void); -void CallBack(const geometry_msgs::Twist& msg); +void Control_CallBack(const std_msgs::Float32MultiArray& cmd_vel_msg); #endif \ No newline at end of file