Good morning,
I am developing a testbed to analyze the consequences of cyber attacks on vehicle systems.
I am following this guide: link
I have an ECU with which I run the “Sense-Plan-Act” autonomous driving paradigm, and I would like to control the VESC with the CANBus, but while searching for the correct IDs to control the RPM and SERVO, I encountered this problem: in the file vesc_express/main/datatype.h it was define in the COMM_PACKET_ID typedef enum the value: COMM_SET_RPM and COMM_SET_SERVO_POS, the first to control the RPM, the second to control the steering position. But in the same file in the CAN_PACKET_ID typedef enum it is defined CAN_PACKET_SET_RPM to control the RPM, but no one for the control the steering position.
I miss something? Or has the steering control via CAN bus not been implemented?
Good morning,
I am developing a testbed to analyze the consequences of cyber attacks on vehicle systems.
I am following this guide: link
I have an ECU with which I run the “Sense-Plan-Act” autonomous driving paradigm, and I would like to control the VESC with the CANBus, but while searching for the correct IDs to control the RPM and SERVO, I encountered this problem: in the file
vesc_express/main/datatype.hit was define in theCOMM_PACKET_ID typedef enumthe value:COMM_SET_RPMandCOMM_SET_SERVO_POS, the first to control the RPM, the second to control the steering position. But in the same file in theCAN_PACKET_ID typedef enumit is definedCAN_PACKET_SET_RPMto control the RPM, but no one for the control the steering position.I miss something? Or has the steering control via CAN bus not been implemented?