18 #include <std_msgs/Float32.h>
19 #include <std_msgs/Float32MultiArray.h>
60 const std::string wheel_speed_topic,
const std::string yawrate_esp_topic,
61 const std::string ax_esp_topic,
const std::string ay_esp_topic,
int qsize)
64 wheel_speed_pub_ = n->advertise<std_msgs::Float32MultiArray>(wheel_speed_topic, qsize);
65 yawrate_esp_pub_ = n->advertise<std_msgs::Float32>(yawrate_esp_topic, qsize);
66 ax_esp_pub_ = n->advertise<std_msgs::Float32>(ax_esp_topic, qsize);
67 ay_esp_pub_ = n->advertise<std_msgs::Float32>(ay_esp_topic, qsize);
77 std_msgs::Float32 steering_msg;
81 std_msgs::Float32MultiArray wheel_msg;
85 std_msgs::Float32 yaw_msg;
89 std_msgs::Float32 ax_msg;
93 std_msgs::Float32 ay_msg;
Definition: vehiclebasemeasurement.h:24
float getEspAx() const
Definition: vehiclebasemeasurement.h:43
float getEspAy() const
Definition: vehiclebasemeasurement.h:46
float getYawRate() const
Definition: vehiclebasemeasurement.h:40
const std::vector< float > & getWheelSpeeds() const
Definition: vehiclebasemeasurement.h:37
float getSteeringAngle() const
Definition: vehiclebasemeasurement.h:34
Definition: vehiclebasemeasurementwriter.h:50
virtual void write(const adore::fun::VehicleBaseMeasurement &value) override
write sends out data value
Definition: vehiclebasemeasurementwriter.h:75
VehicleBaseMeasurementWriter(ros::NodeHandle *n, const std::string steering_topic, const std::string wheel_speed_topic, const std::string yawrate_esp_topic, const std::string ax_esp_topic, const std::string ay_esp_topic, int qsize)
Definition: vehiclebasemeasurementwriter.h:59
ros::Publisher ay_esp_pub_
Definition: vehiclebasemeasurementwriter.h:56
ros::Publisher yawrate_esp_pub_
Definition: vehiclebasemeasurementwriter.h:54
virtual bool canWriteMore() const override
canWriteMore indicates whether more data can be written
Definition: vehiclebasemeasurementwriter.h:70
ros::Publisher steering_angle_pub_
Definition: vehiclebasemeasurementwriter.h:52
ros::Publisher wheel_speed_pub_
Definition: vehiclebasemeasurementwriter.h:53
ros::Publisher ax_esp_pub_
Definition: vehiclebasemeasurementwriter.h:55
Definition: com_patterns.h:97
Definition: areaofeffectconverter.h:20