21 #include <adore_if_ros_msg/Border.h>
22 #include <adore_if_ros_msg/NavigationGoal.h>
23 #include <adore_if_ros_msg/SetPointRequest.h>
24 #include <adore_if_ros_msg/TerminalRequest.h>
25 #include <adore_if_ros_msg/WheelSpeed.h>
26 #include <std_msgs/Float64.h>
27 #include <std_msgs/Float32.h>
28 #include <std_msgs/Int8.h>
29 #include <std_msgs/Bool.h>
30 #include <nav_msgs/Odometry.h>
48 state->
setTime(msg->header.stamp.toSec());
49 state->
setX(msg->pose.pose.position.x);
50 state->
setY(msg->pose.pose.position.y);
51 state->
setZ(msg->pose.pose.position.z);
54 state->
setvx(msg->twist.twist.linear.x);
55 state->
setvy(msg->twist.twist.linear.y);
56 state->
setOmega(msg->twist.twist.angular.z);
Definition: areaofeffectconverter.h:20
This struct holds the motion state of the vehicle in 9d.
Definition: vehiclemotionstate9d.h:39
void setZ(double value)
Set the z-coordinate.
Definition: vehiclemotionstate9d.h:127
void setY(double value)
Set the y-coordinate.
Definition: vehiclemotionstate9d.h:121
void setvx(double value)
set the longitudinal velocity
Definition: vehiclemotionstate9d.h:139
void setOmega(double value)
Set the yaw rate.
Definition: vehiclemotionstate9d.h:151
void setX(double value)
Set the x-coordinate.
Definition: vehiclemotionstate9d.h:115
void setPSI(double value)
set the heading
Definition: vehiclemotionstate9d.h:133
void setvy(double value)
set the lateral velocity
Definition: vehiclemotionstate9d.h:145
void setTime(double value)
Set the time.
Definition: vehiclemotionstate9d.h:109
Definition: quaternion.h:28
double quaternionToHeading(const geometry_msgs::Pose &p) const
convert quaternion to heading
Definition: quaternion.h:49
Definition: envvehiclemotionstateconverter.h:40
void operator()(nav_msgs::OdometryConstPtr msg, adore::env::VehicleMotionState9d *state)
Definition: envvehiclemotionstateconverter.h:46