![]() |
Galaxis Codebase
1.0.0
Team Galaxis software stack for the Carolo Cup 2023 - ROS2 based software
|
#include <Localizer.hpp>
Public Member Functions | |
| PositionTimepointBuffer (unsigned int p_size=200) | |
| void | add (PositionTimepoint const &element) |
| PositionTimepoint | get_last_by_time (rclcpp::Time ×tamp) |
| PositionTimepoint | get_last () |
| bool | is_empty () |
Private Attributes | |
| boost::circular_buffer< PositionTimepoint > | data |
| std::shared_mutex | m_mutex |
| unsigned int | dataSize = 0 |
Definition at line 27 of file Localizer.hpp.
|
inline |
Definition at line 34 of file Localizer.hpp.
|
inline |
Definition at line 37 of file Localizer.hpp.
Referenced by Localizer::add_position_timepoint(), Localizer::add_state(), and Localizer::init().

|
inline |
Definition at line 76 of file Localizer.hpp.
Referenced by Localizer::add_state(), and Localizer::get_latest_position_timepoint().

|
inline |
Definition at line 48 of file Localizer.hpp.
References galaxis::utils::log_warning(), and PositionTimepoint::timestamp.
Referenced by Localizer::get_position_timepoint_by_time().


|
inline |
Definition at line 84 of file Localizer.hpp.
Referenced by Localizer::add_state(), and Localizer::is_empty().

|
private |
Definition at line 29 of file Localizer.hpp.
|
private |
Definition at line 31 of file Localizer.hpp.
|
private |
Definition at line 30 of file Localizer.hpp.