XTDrone/sitl_config/ugv/stepvel/slros_busmsg_conversion.h

19 lines
645 B
C

#ifndef _SLROS_BUSMSG_CONVERSION_H_
#define _SLROS_BUSMSG_CONVERSION_H_
#include <ros/ros.h>
#include <geometry_msgs/Twist.h>
#include <geometry_msgs/Vector3.h>
#include "stepvel_types.h"
#include "slros_msgconvert_utils.h"
void convertFromBus(geometry_msgs::Twist* msgPtr, SL_Bus_stepvel_geometry_msgs_Twist const* busPtr);
void convertToBus(SL_Bus_stepvel_geometry_msgs_Twist* busPtr, geometry_msgs::Twist const* msgPtr);
void convertFromBus(geometry_msgs::Vector3* msgPtr, SL_Bus_stepvel_geometry_msgs_Vector3 const* busPtr);
void convertToBus(SL_Bus_stepvel_geometry_msgs_Vector3* busPtr, geometry_msgs::Vector3 const* msgPtr);
#endif