46#ifndef DW_VEHICLEIO_H_
47#define DW_VEHICLEIO_H_
178 bool const brakeOverride,
bool const gearOverride,
NVIDIA DriveWorks API: CAN
NVIDIA DriveWorks API: Core Methods
NVIDIA DriveWorks API: Data
dwStatus
Status definition.
NVIDIA DriveWorks API: Rig Configuration
NVIDIA DriveWorks API: Sensors
NVIDIA DriveWorks API: Core Types
NVIDIA DriveWorks API: VehicleIO car controller
NVIDIA DriveWorks API: VehicleIO VAL interface structures
NVIDIA DriveWorks API: Core Exports
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.
DW_API_PUBLIC dwStatus dwVehicleIO_sendNonSafetyCommand(const dwVehicleIONonSafetyCommand *const nonSafeCmd, dwVehicleIOHandle_t const obj)
Send a vehicle non-safety command to the VehicleIO.
DW_API_PUBLIC dwStatus dwVehicleIO_sendASILCommand(dwVehicleIOASILCommandE2EWrapper const *const asilCmd, dwVehicleIOHandle_t const obj)
Send a vehicle command with ASIL rating to the VehicleIO.
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.
DW_API_PUBLIC dwStatus dwVehicleIO_getVehicleActuationFeedback(dwVehicleIOActuationFeedback *const actuationFeedback, dwVehicleIOHandle_t const obj)
Retrieve current vehicle actuation feedback.
DW_API_PUBLIC dwStatus dwVehicleIO_release(dwVehicleIOHandle_t const obj)
Release used memory and close all modules.
DW_API_PUBLIC dwStatus dwVehicleIO_reset(dwVehicleIOHandle_t const obj)
Reset VehicleIO to default state.
DW_API_PUBLIC dwStatus dwVehicleIO_getVehicleNonSafetyState(dwVehicleIONonSafetyState *const nonSafeState, dwVehicleIOHandle_t const obj)
Retrieve current vehicle non-safety state.
DW_API_PUBLIC dwStatus dwVehicleIO_getVehicleQMState(dwVehicleIOQMState *const qmState, dwVehicleIOHandle_t const obj)
Retrieve current vehicle state with QM rating.
DW_API_PUBLIC dwStatus dwVehicleIO_getCapabilities(dwVehicleIOCapabilities *const caps, dwVehicleIOHandle_t const obj)
Retrieve current VehicleIO capabilities.
DW_API_PUBLIC dwStatus dwVehicleIO_sendSafetyCommand(const dwVehicleIOSafetyCommand *const safeCmd, dwVehicleIOHandle_t const obj)
Send a vehicle safety command to the VehicleIO.
DW_API_PUBLIC dwStatus dwVehicleIO_sendCalibrationData(dwValSensorCalibration const *const sensorCalibration, dwVehicleIOHandle_t const obj)
Send a vehicle sensor calibration to the VehicleIO.
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 permitte...
DW_API_PUBLIC dwStatus dwVehicleIO_getVehicleASILState(dwVehicleIOASILStateE2EWrapper *const asilState, dwVehicleIOHandle_t const obj)
Retrieve current vehicle state with ASIL rating.
struct dwVehicleIOObject * dwVehicleIOHandle_t
DW_API_PUBLIC dwStatus dwVehicleIO_sendQMCommand(dwVehicleIOQMCommand const *const qmCmd, dwVehicleIOHandle_t const obj)
Send a vehicle command with QM rating to the VehicleIO.
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.
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.
DW_API_PUBLIC dwStatus dwVehicleIO_getVehicleSafetyState(dwVehicleIOSafetyState *const safeState, dwVehicleIOHandle_t const obj)
Retrieve current vehicle safety state.
DW_API_PUBLIC dwStatus dwVehicleIO_consumeDataPacket(const dwDataPacket *const pkt, uint32_t const sensorId, dwVehicleIOHandle_t const obj)
Similar to dwVehicleIO_consumeCANFrame.
DW_API_PUBLIC dwStatus dwVehicleIO_consumeCANFrame(dwCANMessage const *const msg, uint32_t const sensorId, dwVehicleIOHandle_t const obj)
Parse a received event.
DW_API_PUBLIC dwStatus dwVehicleIO_sendEgomotionData(dwValEgomotion const *const egomotion, dwVehicleIOHandle_t const obj)
Send a vehicle egomotion data to the VehicleIO.
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.
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.
Command signals of ValEgomotion. Expected to be sent from NDAS to VAL.
Command signals of ValSensorCalibration. Expected to be sent from NDAS to VAL.
E2E Profile4 Wrapper for dwVehicleIOASILCommand.
E2E Profile4 Wrapper for dwVehicleIOASILState.
Non-safety critical RoV commands.
Non-safety critical RoV state.
Command signals without an ASIL rating. Expected to be sent from NDAS to VAL.
State signals without an ASIL rating. Expected to be sent from VAL to AV Stack.
Safety critical RoV commands.
Safety critical VIO state.
struct dwContextObject * dwContextHandle_t
Context handle.
struct dwRigObject const * dwConstRigHandle_t
Handle representing the const Rig interface.
DEPRECATED: Properties of a passenger car vehicle.
struct dwSensorObject * dwSensorHandle_t
Handle representing a sensor.