Class SpiralBehavior

Nested Relationships

Nested Types

Inheritance Relationships

Base Type

Class Documentation

class SpiralBehavior : public create3_coverage::Behavior

Public Types

using OpCodeMsg = irobot_create_msgs::msg::IrOpcode
using TwistMsg = geometry_msgs::msg::Twist

Public Functions

SpiralBehavior(Config config, rclcpp::Publisher<TwistMsg>::SharedPtr cmd_vel_publisher, rclcpp::Logger logger, rclcpp::Clock::SharedPtr clock)
~SpiralBehavior() = default
virtual State execute(const Data &data) override
inline virtual int32_t get_id() const override
struct Config

Public Members

rclcpp::Duration spiral_duration = {rclcpp::Duration(std::chrono::seconds(30))}
double linear_vel = {0.4}
double initial_radius = {0.25}
double radius_increment = {0.25}
rclcpp::Duration radius_increment_interval = {rclcpp::Duration(std::chrono::seconds(5))}