17 #include <adore_if_ros_msg/SpeedLimitBundle.h>
18 #include <adore_if_ros_msg/SpeedLimit.h>
31 adore_if_ros_msg::SpeedLimit msg;
32 msg.speedLimitVelocity = data.
value;
33 msg.validFromTo.first.x = data.
startX;
34 msg.validFromTo.first.y = data.
startY;
35 msg.validFromTo.first.z = 0.0;
36 msg.validFromTo.last.x = data.
stopX;
37 msg.validFromTo.last.y = data.
stopY;
38 msg.validFromTo.last.z = 0.0;
47 data.
value = msg->speedLimitVelocity;
48 data.
startX = msg->validFromTo.first.x;
49 data.
startY = msg->validFromTo.first.y;
50 data.
stopX = msg->validFromTo.last.x;
51 data.
stopY = msg->validFromTo.last.y;
Definition: areaofeffectconverter.h:20
Definition: speedlimit.h:31
double startX
Definition: speedlimit.h:41
double value
Definition: speedlimit.h:40
double stopY
Definition: speedlimit.h:44
TSpeedLimitID id
Definition: speedlimit.h:45
double stopX
Definition: speedlimit.h:43
double startY
Definition: speedlimit.h:42
Definition: speedlimitconverter.h:25
void operator()(adore_if_ros_msg::SpeedLimitConstPtr msg, adore::env::SpeedLimit &data)
Definition: speedlimitconverter.h:45
adore_if_ros_msg::SpeedLimit operator()(const adore::env::SpeedLimit &data)
Definition: speedlimitconverter.h:29