17 #include <adore_if_ros_msg/IndicatorHint.h>
30 adore_if_ros_msg::IndicatorHint msg;
32 msg.validFromTo.first.x = data.
startX;
33 msg.validFromTo.first.y = data.
startY;
34 msg.validFromTo.first.z = 0.0;
35 msg.validFromTo.last.x = data.
stopX;
36 msg.validFromTo.last.y = data.
stopY;
37 msg.validFromTo.last.z = 0.0;
47 data.
startX = msg->validFromTo.first.x;
48 data.
startY = msg->validFromTo.first.y;
49 data.
stopX = msg->validFromTo.last.x;
50 data.
stopY = msg->validFromTo.last.y;
Definition: areaofeffectconverter.h:20
Definition: indicator_hint.h:41
double stopX
Definition: indicator_hint.h:96
double stopY
Definition: indicator_hint.h:97
constexpr static adore::env::IndicatorSide indicatorSideFromString(std::string_view key)
Definition: indicator_hint.h:52
double startY
Definition: indicator_hint.h:95
TIndicatorHintID id
Definition: indicator_hint.h:98
IndicatorSide value
Definition: indicator_hint.h:93
double startX
Definition: indicator_hint.h:94
constexpr static std::string_view stringFromIndicatorSide(adore::env::IndicatorSide side)
Definition: indicator_hint.h:72
Definition: indicatorhintconverter.h:24
void operator()(adore_if_ros_msg::IndicatorHintConstPtr msg, adore::env::IndicatorHint &data)
Definition: indicatorhintconverter.h:44
adore_if_ros_msg::IndicatorHint operator()(const adore::env::IndicatorHint &data)
Definition: indicatorhintconverter.h:28