Supported Sensors

OBD-II Generic

obd-generic
V2.0.5-pr.5
CAN
370

PolySync Configuration

Driver Notes

Command line arguments: * -c * use provided CAN channel system index instead of what is stored in the SDF [optional] * -t * perform a validation test on the OBD-II interface [optional] * -d * enable additional debugging output in OBD-II interface [optional]

Input Message Types

Input Message Type Input Message Note
ps_can_frame_msg Raw CAN frames read by the Dynamic Driver interface

Output Message Types

Output Message Type Output Message Note
ps_platform_obd_msg Published to the PolySync bus

Sensor Configuration Parameters

Parameter ID Description Value Type Values Notes
5000 Bitfield of PIDs to query from platform. [0x01 - 0x20] 1 0
5001 Bitfield of PIDs to query from platform. [0x21 - 0x40] 1 0
5002 Bitfield of PIDs to query from platform. [0x41 - 0x60] 1 0
5003 Bitfield of PIDs to query from platform. [0x61 - 0x80] 1 0
5004 Publish bitfield of supported PIDs before publishing PID responses. [0 is diabled] 1 0
5005 Frequency with which to publish OBD responses. [Hz] 1 20

IO Configuration Parameters

Parameter ID Description Value Type Values Notes
5000 Bitfield of PIDs to query from platform. [0x01 - 0x20] 1 0
5001 Bitfield of PIDs to query from platform. [0x21 - 0x40] 1 0
5002 Bitfield of PIDs to query from platform. [0x41 - 0x60] 1 0
5003 Bitfield of PIDs to query from platform. [0x61 - 0x80] 1 0
5004 Publish bitfield of supported PIDs before publishing PID responses. [0 is diabled] 1 0
5005 Frequency with which to publish OBD responses. [Hz] 1 20

Node Configuration Parameters

Parameter ID Description Value Type Values Notes
40 4 /usr/local/polysync/bin/polysync-core-dynamic-driver
42 4 /usr/local/polysync/lib/libps_obd_generic_interface.so
2004 Publishes message type “ps_can_frame_msg” (value 0 means disabled) 1 0
2080 Publishes message type “ps_platform_obd_msg” (value 0 means disabled) 1 1