Skip to content

Instantly share code, notes, and snippets.

@nistath
Created May 28, 2018 23:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nistath/f55de6b2473de16fd8a9c3a97179d112 to your computer and use it in GitHub Desktop.
Save nistath/f55de6b2473de16fd8a9c3a97179d112 to your computer and use it in GitHub Desktop.
DAQapp API Examples
{
"can0": {
"FrontCanNodeBrakeThrottle": {
"accel_1": null,
"accel_2": null,
"brake_1": null,
"brake_2": null
},
"FrontCanNodeWheelSpeed": {
"front_right_wheel_speed": "mRPM",
"front_left_wheel_speed": "mRPM"
},
"CellTemperatures": {
"min": "decidegC",
"argmin": null,
"max": "decidegC",
"argmax": null
},
"CellVoltages": {
"min": "mV",
"max": "mV"
},
"BMSHeartbeat": {
"error_pec": null,
"error_cvst": null,
"error_owt": null,
"error_L_contactor_error": null,
"error_H_contactor_error": null,
"error_L_contactor_weld": null,
"error_H_contactor_weld": null,
"error_cell_under_voltage": null,
"error_cell_over_voltage": null,
"error_cell_under_temp": null,
"error_cell_over_temp": null,
"error_control_flow": null,
"error_blown_fuse": null,
"L_contactor_closed": null,
"H_contactor_closed": null,
"L_contactor_welded": null,
"H_contactor_welded": null,
"soc": null
},
"BMSRequest": {
"state": null
},
"VCUHeartbeat": {
"vcu_state": null,
"error_state": null,
"estop_hit": null
},
"VCUErrors": {
"recoverable_conflict": null,
"recoverable_gate": null,
"recoverable_heartbeat": null,
"recoverable_contactor": null,
"fatal_contactor": null,
"fatal_gate": null,
"fatal_precharge": null,
"fatal_conflict": null
},
"CurrentSensor_Current": {
"current": "mA"
},
"CurrentSensor_Voltage1": {
"mux_id": null,
"msg_count": null,
"over_current_signal": null,
"channel_error": null,
"measurement_error": null,
"system_error": null,
"result": "mV"
},
"CurrentSensor_Voltage2": {
"mux_id": null,
"msg_count": null,
"over_current_signal": null,
"channel_error": null,
"measurement_error": null,
"system_error": null,
"result": "mV"
},
"CurrentSensor_Voltage3": {
"mux_id": null,
"msg_count": null,
"over_current_signal": null,
"channel_error": null,
"measurement_error": null,
"system_error": null,
"result": "mV"
},
"CurrentSensor_Power": {
"mux_id": null,
"msg_count": null,
"over_current_signal": null,
"channel_error": null,
"measurement_error": null,
"system_error": null,
"result": "W"
},
"CurrentSensor_Energy": {
"energy": "Wh"
},
"DashRequest": {
"type": null
},
"ButtonRequest": {
"RTD": null,
"DriverReset": null,
"ScrollSelect": null
},
"MCCommand": {
"torque": "dNm",
"angular_vel": "RPM",
"direction_is_counterclockwise": null,
"inverter_enabled": null,
"discharge_enabled": null,
"speed_mode": null,
"torque_limit": "dNm"
},
"MCParameterRequest": {
"address": "dNm",
"write": "RPM",
"data": null
},
"MCVoltage": {
"bus": "dV",
"out": "dV",
"VAB_Vd": "dV",
"VBC_Vq": "dV"
},
"MCMotor_Position_Info": {
"motor_angle": "decideg",
"motor_speed": "RPM",
"electrical_output_freq": "dHz",
"delta_resolved_filter": "decideg"
},
"MCFlux_Info": {
"flux_command": "mWb",
"flux_feedback": "mWb",
"Iq_feedback": "dA",
"Id_feedback": "dA"
},
"MCTorque_Timer_Info": {
"commanded_torque": "dNm",
"torque_feedback": "dNm",
"power_on_timer": "tick"
},
"MCModulation_Indx_Flux_Weakening_Info": {
"modulation_index": null,
"flux_weakening_output": "dA",
"Iq_command": "dA",
"Id_command": "dA"
},
"Current_Sensor_Config": {
"muxbyte": null,
"db1": null,
"db2": null,
"db3": null,
"db4": null,
"db5": null,
"db6": null,
"db7": null
},
"MCTemperature1": {
"module_a_temp": "decidegC",
"module_b_temp": "decidegC",
"module_c_temp": "decidegC",
"gate_driver_temp": "decidegC"
},
"ChargerCommand": {
"enable": null,
"powerReference": null,
"VoltageLimit": null,
"CurrentLimit": null
},
"ChargerStatus1": {
"status": null,
"MainsCurrent": null,
"DCCurrent": null,
"DCVoltage": null,
"MinsFreq": null
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment