If there was a bug in comma ai program (like jerking the driving wheel and slam my car in the guard rail without giving me time to react) I guess I am liable?
That sounds like a bad idea.
If there was a bug in comma ai program (like jerking the driving wheel and slam my car in the guard rail without giving me time to react) I guess I am liable?
That sounds like a bad idea.
https://github.com/commaai/openpilot/blob/a2ae18d1dbd1e59c38...
The safety.h you pointed to is using "int" for variable declaration instead of using stdints to control size. Is there are reason for that?
From safety.h, I tried to follow addr_allowed function parameters. I get here (https://github.com/commaai/openpilot/blob/c025b96e8a15640ee4...) and see this:
int addr = GET_ADDR(to_send); int bus = GET_BUS(to_send);
Where are GET_ADDR and GET_BUS macros declared? There are no header declaration to follow dependencies.
panda/board/drivers/llcan.h
It’s a trolley problem, this thing WILL KILL, the question is how more/less often compared to humans.