19 #include <adore_if_ros_msg/NavigationGoal.h>
20 #include <adore_if_ros_msg/SetPointRequest.h>
21 #include <adore_if_ros_msg/TerminalRequest.h>
22 #include <adore_if_ros_msg/WheelSpeed.h>
24 #include <tf/LinearMath/Quaternion.h>
25 #include <std_msgs/Float64.h>
26 #include <std_msgs/Float32.h>
27 #include <std_msgs/Int8.h>
28 #include <std_msgs/Bool.h>
29 #include <nav_msgs/Odometry.h>
45 MotionCommandWriter(ros::NodeHandle* n,
const std::string axtopic,
const std::string deltatopic,
int qsize)
58 std_msgs::Float32 msg_acceleration,msg_steeringAngle;
94 MotionCommandReader(ros::NodeHandle* n,
const std::string axtopic,
const std::string steeringtopic,
int qsize)
Definition: motioncommand.h:26
void setAcceleration(double acceleration)
Definition: motioncommand.h:51
double getSteeringAngle() const
Definition: motioncommand.h:37
double getAcceleration() const
Definition: motioncommand.h:47
void setSteeringAngle(double steeringAngle)
Definition: motioncommand.h:41
Definition: motioncommandconverter.h:70
virtual void getData(adore::fun::MotionCommand &value)
getData returns the latest data item
Definition: motioncommandconverter.h:113
void receive_steeringRequest(std_msgs::Float32ConstPtr msg)
Definition: motioncommandconverter.h:87
ros::Subscriber accelerationSubscriber_
Definition: motioncommandconverter.h:75
void receive_accelerationRequest(std_msgs::Float32ConstPtr msg)
Definition: motioncommandconverter.h:81
bool steering_initialized_
Definition: motioncommandconverter.h:74
adore::fun::MotionCommand data_
Definition: motioncommandconverter.h:79
ros::Subscriber steeringSubscriber_
Definition: motioncommandconverter.h:76
MotionCommandReader(ros::NodeHandle *n, const std::string axtopic, const std::string steeringtopic, int qsize)
Definition: motioncommandconverter.h:94
virtual bool hasUpdate() const override
hasUpdate indicates whether the data item was updated since last getdata
Definition: motioncommandconverter.h:108
bool acceleration_initialized_
Definition: motioncommandconverter.h:73
bool changed_
Definition: motioncommandconverter.h:72
virtual bool hasData() const override
hasData indicates whether the data has been initialized with a first data item
Definition: motioncommandconverter.h:103
Definition: motioncommandconverter.h:40
virtual bool canWriteMore() const override
canWriteMore indicates whether more data can be written
Definition: motioncommandconverter.h:51
MotionCommandWriter(ros::NodeHandle *n, const std::string axtopic, const std::string deltatopic, int qsize)
Definition: motioncommandconverter.h:45
ros::Publisher accelerationPublisher_
Definition: motioncommandconverter.h:42
virtual void write(const adore::fun::MotionCommand &value) override
write sends out data value
Definition: motioncommandconverter.h:56
ros::Publisher steeringAnglePublisher_
Definition: motioncommandconverter.h:43
Definition: com_patterns.h:68
Definition: com_patterns.h:97
Definition: areaofeffectconverter.h:20