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>
59 std_msgs::Bool msg_left,msg_right;
91 IndicatorCommandReader(ros::NodeHandle* n,
const std::string& topic_leftIndicator,
const std::string& topic_rightIndicator,
int qsize)
Definition: indicatorcommandconverter.h:72
virtual bool hasData() const override
Definition: indicatorcommandconverter.h:97
IndicatorCommandReader(ros::NodeHandle *n, const std::string &topic_leftIndicator, const std::string &topic_rightIndicator, int qsize)
Definition: indicatorcommandconverter.h:91
ros::Subscriber leftIndicatorSubscriber_
Definition: indicatorcommandconverter.h:75
ros::Subscriber rightIndicatorSubscriber_
Definition: indicatorcommandconverter.h:76
void receive_left(std_msgs::BoolConstPtr msg)
Definition: indicatorcommandconverter.h:78
void receive_right(std_msgs::BoolConstPtr msg)
Definition: indicatorcommandconverter.h:84
virtual void getData(adore::fun::IndicatorCommand &value) override
Definition: indicatorcommandconverter.h:105
adore::fun::IndicatorCommand data_
Definition: indicatorcommandconverter.h:74
bool hasUpdate() const override
Definition: indicatorcommandconverter.h:101
bool changed_
Definition: indicatorcommandconverter.h:77
Definition: indicatorcommandconverter.h:41
IndicatorCommandWriter(ros::NodeHandle *n, const std::string lefttopic, const std::string righttopic, int qsize)
Definition: indicatorcommandconverter.h:46
ros::Publisher leftPublisher_
Definition: indicatorcommandconverter.h:43
virtual void write(const adore::fun::IndicatorCommand &value) override
write sends out data value
Definition: indicatorcommandconverter.h:57
virtual bool canWriteMore() const override
canWriteMore indicates whether more data can be written
Definition: indicatorcommandconverter.h:52
ros::Publisher rightPublisher_
Definition: indicatorcommandconverter.h:44
Definition: com_patterns.h:68
Definition: com_patterns.h:97
Definition: areaofeffectconverter.h:20
Definition: indicatorcommand.h:25
void setIndicatorRightOn(bool indicatorRightOn)
Definition: indicatorcommand.h:49
bool getIndicatorLeftOn() const
Definition: indicatorcommand.h:35
void setIndicatorLeftOn(bool indicatorLeftOn)
Definition: indicatorcommand.h:39
bool getIndicatorRightOn() const
Definition: indicatorcommand.h:45