$darkmode
vtd::VtdVehicleFactory Class Reference

#include <vtd_vehicle.hpp>

Public Member Functions

 VtdVehicleFactory (const cloe::utility::TcpTransceiverConfiguration &c, std::string host, uint16_t initial_port, const std::map< std::string, VtdVehicleConfig > &vehicles)
 
void set_task_control (std::shared_ptr< TaskControl > tc)
 
std::shared_ptr< VtdVehiclecreate_or_throw (ScpTransceiver &tx, int id, const std::string &name, cloe::AbortFlag &sig)
 
std::vector< std::string > unregistered_vehicles ()
 

Detailed Description

The VtdVehicleFactory creates vehicles for VTD, taking any sensor configuration into account.

In VTD vehicles are defined with sensors bolted on afterwards. While it is possible to have a default sensor configuration, in principle we need to configure it ourselves via SCP messages. This is quite an involved process, and so it makes sense to make this external to a vehicle.


The documentation for this class was generated from the following file: