Hi all - This is Louis from Middlebury Formula Hybrid, we are using the old 2019 accumulator in our car. I am studied this code to figure out what CAN messages to send it but am having trouble with a few things. Alex told me to open an issue here incase anyone has ideas. I'm actually at the Dartmouth shop right now for the rest of the day trying to figure it out.
I imagine you guys are all super busy, but if anyone has 10 minutes to spare I could use the advice!
Louis
SEE QUESTIONS BELOW
1) Why do you set and reset DOUT2 with 0xD1 (changing instead of 0xE1)?
2) Why do queue messages have extra stuff in them (The manual says ID, RTR of 0, DLC of 0x3 for the head, but the Dartmouth one also has STD and RTR which are 0x00000000U)?
.Tx_header = {TRANSMIT_TO_BAMO_ID, 0, STD, RTR, 0x3 },
.data._8 = {BAMO_READ_REGID, BAMOCAR_D_OUT_1_REGID, BAMO_100_ms_transmission, 0x00, 0x00, 0x00, 0x00, 0x00}
STD is CAN_ID_STD is 0x00000000U
RTR is CAN_RTR_DATA is 0x00000000U
3) Why is motor torque command 0x2F (MOTOR_TORQUE_COMMAND_REGID, but this isnt in the manual) and not 0x31 (which is the speed command value before ramp according page 15
4) Anything on the Bamocar that is important to monitor (other than just sending in torque)? Currently, all I am planning on coding in is
Throttle to Bamocar
DOUT2 set and reset (timer based on TSMS to allow for precharge)
CAN Bus Bamocar Kill Signal (if BRB is open)
5) what is stopping the Bamocar DOUT2 being on on startup and therefore immediately closing the second AIR?
Hi all - This is Louis from Middlebury Formula Hybrid, we are using the old 2019 accumulator in our car. I am studied this code to figure out what CAN messages to send it but am having trouble with a few things. Alex told me to open an issue here incase anyone has ideas. I'm actually at the Dartmouth shop right now for the rest of the day trying to figure it out.
I imagine you guys are all super busy, but if anyone has 10 minutes to spare I could use the advice!
Louis
SEE QUESTIONS BELOW
1) Why do you set and reset DOUT2 with 0xD1 (changing instead of 0xE1)? 2) Why do queue messages have extra stuff in them (The manual says ID, RTR of 0, DLC of 0x3 for the head, but the Dartmouth one also has STD and RTR which are 0x00000000U)?
3) Why is motor torque command 0x2F (MOTOR_TORQUE_COMMAND_REGID, but this isnt in the manual) and not 0x31 (which is the speed command value before ramp according page 15 4) Anything on the Bamocar that is important to monitor (other than just sending in torque)? Currently, all I am planning on coding in is