1#ifndef BITSIM_SENSORS_SENSOR_MANAGER_H
2#define BITSIM_SENSORS_SENSOR_MANAGER_H
6#include <boost/noncopyable.hpp>
33 void add(std::shared_ptr<SensorBase> sensor);
57 std::vector<std::shared_ptr<SensorBase>> sensors_;
The basic types of bitsim. Code outside this file names Eigen's matrix and vector types only through ...
void add(std::shared_ptr< SensorBase > sensor)
Add a new sensor to manage.
Definition sensor_manager.cpp:17
SensorManager(uint_t n_sensors)
Definition sensor_manager.cpp:9
std::vector< std::shared_ptr< SensorBase > >::iterator iterator
Definition sensor_manager.h:24
const_iterator begin() const
Definition sensor_manager.h:48
iterator begin()
Definition sensor_manager.h:45
std::vector< std::shared_ptr< SensorBase > >::const_iterator const_iterator
Definition sensor_manager.h:25
void update()
Update all the enabled sensors.
Definition sensor_manager.cpp:19
const_iterator end() const
Definition sensor_manager.h:49
iterator end()
Definition sensor_manager.h:46
uint_t n_sensors() const
Definition sensor_manager.h:43
Definition infrared_line_follower.h:9
Definition dc_motor_backend_base.h:9
std::size_t uint_t
uint_t
Definition bitsim_types.h:40