|
DW_API_PUBLIC dwStatus | dwVehicleIO_addCANSensor (uint32_t const vehicleIOId, dwSensorHandle_t const sensorHandle, dwVehicleIOHandle_t const obj) |
| Add CAN sensor handle and corresponding VehicleIO configuration ID. More...
|
|
DW_API_PUBLIC dwStatus | dwVehicleIO_addDataSensor (uint32_t const vehicleIOId, dwSensorHandle_t const sensorHandle, dwVehicleIOHandle_t const obj) |
| Add data sensor handle and corresponding VehicleIO configuration ID. More...
|
|
DW_API_PUBLIC dwStatus | dwVehicleIO_consumeCANFrame (dwCANMessage const *const msg, uint32_t const sensorId, dwVehicleIOHandle_t const obj) |
| Parse a received event. More...
|
|
DW_API_PUBLIC dwStatus | dwVehicleIO_consumeDataPacket (const dwDataPacket *const pkt, uint32_t const sensorId, dwVehicleIOHandle_t const obj) |
| Similar to dwVehicleIO_consumeCANFrame. More...
|
|
DW_API_PUBLIC dwStatus | dwVehicleIO_getCapabilities (dwVehicleIOCapabilities *const caps, dwVehicleIOHandle_t const obj) |
| Retrieve current VehicleIO capabilities. More...
|
|
DW_API_PUBLIC dwStatus | dwVehicleIO_getVehicleActuationFeedback (dwVehicleIOActuationFeedback *const actuationFeedback, dwVehicleIOHandle_t const obj) |
| Retrieve current vehicle actuation feedback. More...
|
|
DW_API_PUBLIC dwStatus | dwVehicleIO_getVehicleNonSafetyState (dwVehicleIONonSafetyState *const nonSafeState, dwVehicleIOHandle_t const obj) |
| Retrieve current vehicle non-safety state. More...
|
|
DW_API_PUBLIC dwStatus | dwVehicleIO_getVehicleSafetyState (dwVehicleIOSafetyState *const safeState, dwVehicleIOHandle_t const obj) |
| Retrieve current vehicle safety state. More...
|
|
DW_API_PUBLIC dwStatus | dwVehicleIO_getVehicleState (dwVehicleIOState *const state, dwVehicleIOHandle_t const obj) |
| Retrieve current vehicle state. More...
|
|
DW_API_PUBLIC dwStatus | dwVehicleIO_initialize (dwVehicleIOHandle_t *const obj, dwVehicleIOType const type, const dwVehicle *const properties, dwContextHandle_t const ctx) |
| Initialize VehicleIO and prepare all internal structures. More...
|
|
DW_API_PUBLIC dwStatus | dwVehicleIO_initializeFromDBC (dwVehicleIOHandle_t *const obj, dwVehicleIOType const type, const dwVehicle *const properties, const char *const dbcFilePath, dwContextHandle_t const ctx) |
| Initialize VehicleIO and prepare all internal structures from DBC File. More...
|
|
DW_API_PUBLIC dwStatus | dwVehicleIO_initializeFromRig (dwVehicleIOHandle_t *const obj, dwConstRigHandle_t const rig, dwContextHandle_t const ctx) |
| Initialize VehicleIO and prepare all internal structures from Rig Configuration. More...
|
|
DW_API_PUBLIC dwStatus | dwVehicleIO_release (dwVehicleIOHandle_t const obj) |
| Release used memory and close all modules. More...
|
|
DW_API_PUBLIC dwStatus | dwVehicleIO_reset (dwVehicleIOHandle_t const obj) |
| Reset VehicleIO to default state. More...
|
|
DW_API_PUBLIC dwStatus | dwVehicleIO_selectDriverOverrides (bool const throttleOverride, bool const steeringOverride, bool const brakeOverride, bool const gearOverride, dwVehicleIOHandle_t const obj) |
| Select the overrides that the driver can use to disable vehicle control. More...
|
|
DW_API_PUBLIC dwStatus | dwVehicleIO_sendCommand (const dwVehicleIOCommand *const cmd, dwVehicleIOHandle_t const obj) |
| Send a vehicle command to the VehicleIO. More...
|
|
DW_API_PUBLIC dwStatus | dwVehicleIO_sendMiscCommand (const dwVehicleIOMiscCommand *const cmd, dwVehicleIOHandle_t const obj) |
| Send a vehicle command to the VehicleIO. More...
|
|
DW_API_PUBLIC dwStatus | dwVehicleIO_sendNonSafetyCommand (const dwVehicleIONonSafetyCommand *const nonSafeCmd, dwVehicleIOHandle_t const obj) |
| Send a vehicle non-safety command to the VehicleIO. More...
|
|
DW_API_PUBLIC dwStatus | dwVehicleIO_sendSafetyCommand (const dwVehicleIOSafetyCommand *const safeCmd, dwVehicleIOHandle_t const obj) |
| Send a vehicle safety command to the VehicleIO. More...
|
|
DW_API_PUBLIC dwStatus | dwVehicleIO_setDrivingMode (dwVehicleIODrivingMode const mode, dwVehicleIOHandle_t const obj) |
| Setting driving mode allows to control the behaviour of VehicleIO module with regards to the permitted commands and number of safety checks performed. More...
|
|