I have read a lot of postings and solutions here in stackoverflow. I am very new to CAN networks and protocols and currently working on a project that entails communicating with the Vehicle engine Control Unit to cause the vehicle to decelerate to a preset speed. Basically, I intend to establish a node in the CAN network where I can inject packets of data to the engine ECU to cause the car to decelerate to a predefined speed. How do I translate signals received on the CAN bus, meant for the ECU, so as to make it possible for ECU to decode? I plan to send two speed signals to the ECU. speedSignal_1 = current vehicle speed speedSignal_2 = target vehicle speed. My intention is to make the ECU force the vehicle at current vehicle speed (speedSignal_1) to reduce to the target vehicle speed (speedSignal_2). Can you advice me on how to proceed in achieving this?
Thanks