How can I measure latency in a CAN bus? [closed]
This is not directly related to ROS.
Given a CAN bus with one master and any number of motor drivers, is there a way to measure the time between sending a command from the master (e.g. a PC running ROS) and the execution of the said command (e.g. the motor starting to move)?
This matters since it affects the maximum update rate of the robot's control loop.
I'm sorry, but with 40000+ question already, I don't think we can accomodate off-topic questions.
You already wrote it yourself: "this is not [directly] related to ROS".
Other board members can still comment on your question though. Perhaps some have some insight to share.
Also: latency on the bus is something entirely different from "time before motor starts to move". The former definitely influences the latter, but how the motion controller is implemented will affect results significantly. I'm not sure a generic statement can be made about this.
Thanks. I asked here since it is the only "serious" robotics Q&A website that I know of on the Internet. I should also note that by CAN bus I mean the whole system, including the motor drivers (i.e. the motion control solution)
What about
robotics.stackexchange.com
?