FP Perception 0.1.2
Loading...
Searching...
No Matches
structs.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <string>
4
5#include <rclcpp/rclcpp.hpp>
6
7namespace fp_perception
8{
9
11{
12 std::string text;
13 bool use_device_audio = false;
17};
18
20{
21 std::string label;
22 double score = 0.0;
23 std::string analyzed_text;
24 bool success = false;
25 std::string error;
26};
27
28} // namespace fp_perception
Definition audio_buffer.hpp:16
Definition structs.hpp:11
bool use_device_audio
Definition structs.hpp:13
int audio_request_window
Definition structs.hpp:14
rclcpp::Time device_audio_start_time
Definition structs.hpp:16
bool use_device_audio_time_window
Definition structs.hpp:15
std::string text
Definition structs.hpp:12
Definition structs.hpp:20
std::string error
Definition structs.hpp:25
std::string analyzed_text
Definition structs.hpp:23
double score
Definition structs.hpp:22
std::string label
Definition structs.hpp:21
bool success
Definition structs.hpp:24