Combination#
Note
Deprecated for navground>=0.5
Use a sequence of sensors instead.
For instance, replace
navground::sim::Agent agent;
auto se = std::make_shared<navground::sim::SensorCombination>();
agent.set_state_estimation(se);
std::vector<std::shared_ptr<navground::sim::Sensor>>sensors = ...;
se.sensors.set_sensors(sensors);
with
navground::sim::Agent agent;
std::vector<std::shared_ptr<navground::sim::Sensor>>sensors = ...;
agent.set_state_estimations(sensors);
#include "navground/sim/state_estimations/sensor_combination.h"
- A combination of sensors. - Public Functions - Constructs a new instance. - Parameters:
- sensors – [in] The sensors to use 
 
 - Sets the sensors to use. - Parameters:
- value – [in] The new value 
 
 - Gets the used sensors. - Returns:
- The sensors