Class DriveDistanceBehavior

Inheritance Relationships

Base Type

Class Documentation

class DriveDistanceBehavior : public irobot_create_nodes::DriveGoalBaseBehavior<irobot_create_msgs::action::DriveDistance>

This class manages the DriveDistance action server.

Public Functions

DriveDistanceBehavior(rclcpp::node_interfaces::NodeBaseInterface::SharedPtr node_base_interface, rclcpp::node_interfaces::NodeClockInterface::SharedPtr node_clock_interface, rclcpp::node_interfaces::NodeLoggingInterface::SharedPtr node_logging_interface, rclcpp::node_interfaces::NodeWaitablesInterface::SharedPtr node_waitables_interface, std::shared_ptr<BehaviorsScheduler> behavior_scheduler, float servo_speed, const std::string &server_name)
void initialize_goal(const irobot_create_msgs::action::DriveDistance::Goal &goal) override
virtual bool iterate_on_goal(const tf2::Transform &current_pose, BehaviorsScheduler::optional_output_t &output) override
virtual std::shared_ptr<irobot_create_msgs::action::DriveDistance::Feedback> get_feedback(const rclcpp::Duration &time_since_feedback) override