3#include <rclcpp/rclcpp.hpp>
5#include <fp_perception_base/options.hpp>
22 virtual void initialize(
const rclcpp::Node::SharedPtr& node)
Definition algorithm_base.hpp:13
std::shared_ptr< fp_perception::DriverBase > vision_driver_
driver for vision
Definition algorithm_base.hpp:116
virtual std::string getName() const
Get the name of the algorithm.
Definition algorithm_base.hpp:47
void set_transcription_driver(const std::shared_ptr< fp_perception::DriverBase > &transcription_driver)
Set the transcription driver shared pointer.
Definition algorithm_base.hpp:77
rclcpp::Node::SharedPtr node_
ROS node for the driver.
Definition algorithm_base.hpp:106
virtual void initialize(const rclcpp::Node::SharedPtr &node)
Initialize the driver with a ROS node and namespace.
Definition algorithm_base.hpp:22
void set_sentiment_driver(const std::shared_ptr< fp_perception::DriverBase > &sentiment_driver)
Set the sentiment driver shared pointer.
Definition algorithm_base.hpp:87
void set_audio_input_driver(const std::shared_ptr< fp_perception::DriverBase > &audio_driver)
Set the audio input driver shared pointer.
Definition algorithm_base.hpp:67
void set_vision_driver(const std::shared_ptr< fp_perception::DriverBase > &vision_driver)
Set the vision driver shared pointer.
Definition algorithm_base.hpp:57
std::shared_ptr< fp_perception::DriverBase > audio_input_driver_
driver for audio input
Definition algorithm_base.hpp:121
virtual void stop()=0
Stop the algorithm.
algorithm_options config_
algorithm options
Definition algorithm_base.hpp:111
std::shared_ptr< fp_perception::DriverBase > transcription_driver_
driver for transcription
Definition algorithm_base.hpp:126
virtual ~AlgorithmBase()=default
virtual void start()=0
Start the algorithm.
void initialize_base(const rclcpp::Node::SharedPtr &node)
Initializer base driver in place of constructor due to plugin semantics.
Definition algorithm_base.hpp:98
std::shared_ptr< fp_perception::DriverBase > sentiment_driver_
driver for sentiment analysis
Definition algorithm_base.hpp:131
Definition audio_buffer.hpp:16