Commit ba3ffe0d authored by Ameer Ali's avatar Ameer Ali
Browse files

Timing changes & DBC file changes

parent 690e9f7f
......@@ -49,8 +49,8 @@ BO_ 102 SENSOR_SONARS_ROUTINE: 5 SENSOR
SG_ SENSOR_SONARS_rear : 30|10@1+ (1,0) [0|0] "inch" DRIVER
BO_ 300 GPS_DESTINATION_LOCATION: 8 SENSOR
SG_ DEST_LATITUDE : 0|28@1+ (0.000001,-90.000000) [-90|90] "Degrees" GEO
SG_ DEST_LONGITUDE : 28|29@1+ (0.000001,-180.000000) [-180|180] "Degrees" GEO
SG_ DEST_LATITUDE : 0|32@1+ (0.000001,-90.000000) [-90|90] "Degrees" GEO
SG_ DEST_LONGITUDE : 32|32@1+ (0.000001,-180.000000) [-180|180] "Degrees" GEO
BO_ 301 COMPASS_HEADING_DISTANCE: 8 GEO
SG_ CURRENT_HEADING : 0|12@1+ (0.1,0) [0|359.9] "Degrees" DRIVER,SENSOR
......@@ -62,8 +62,8 @@ BO_ 501 GPS_CURRENT_INFO: 8 GEO
SG_ GPS_CURRENT_LONG : 32|32@1+ (0.000001,-180.000000) [-180|180] "degrees" DRIVER,SENSOR,MOTOR
BO_ 502 GPS_CURRENT_DESTINATIONS_DATA: 8 GEO
SG_ CURRENT_DEST_LATITUDE : 0|28@1+ (0.000001,-90.000000) [-90|90] "Degrees" DRIVER
SG_ CURRENT_DEST_LONGITUDE : 28|29@1+ (0.000001,-180.000000) [-180|180] "Degrees" DRIVER
SG_ CURRENT_DEST_LATITUDE : 0|32@1+ (0.000001,-90.000000) [-90|90] "Degrees" DRIVER
SG_ CURRENT_DEST_LONGITUDE : 32|32@1+ (0.000001,-180.000000) [-180|180] "Degrees" DRIVER
BO_ 504 RC_CAR_SPEED_READ_MSG: 2 MOTOR
SG_ RC_CAR_SPEED_sig : 0|12@1+ (0.01,-2.5) [-2.5|10] "m/s" DRIVER,SENSOR
......
......@@ -8,7 +8,7 @@ void can_bus_handler__process_all_received_messages(void) {
dbc_GPS_DESTINATION_LOCATION_s BRIDGE_TO_GPS_DATA = {};
// Receive all messages
while (can__rx(can1, &can_msg, 50)) {
while (can__rx(can1, &can_msg, 5)) {
const dbc_message_header_t header = {
.message_id = can_msg.msg_id,
.message_dlc = can_msg.frame_fields.data_len,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment