31 template <
typename Sensor>
40 template <
typename Sensor>
46 return std::move(output);
static SharedPtr< SensorData > Deserialize(RawData &&data)
boost::shared_ptr< T > SharedPtr
Use this SharedPtr (boost::shared_ptr) to keep compatibility with boost::python, but it would be nice...
static Buffer Serialize(const Sensor &sensor, const data::RadarData &measurement, Buffer &&output)
This file contains definitions of common data structures used in traffic manager. ...
std::vector< RadarDetection > _detections
Serializes the data generated by Radar sensors.
void copy_from(const T &source)
Copy source into this buffer. Allocates memory if necessary.
Wrapper around the raw data generated by a sensor plus some useful meta-information.