$darkmode
#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< VtdVehicle > | create_or_throw (ScpTransceiver &tx, int id, const std::string &name, cloe::AbortFlag &sig) |
| std::vector< std::string > | unregistered_vehicles () |
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.