OpenMotorDrive / framework

GNU General Public License v3.0
16 stars 14 forks source link

implement CAN time synchronization master and slave #35

Open jschall opened 6 years ago

pavel-kirienko commented 6 years ago

That's going to be challenging with libcanard. We intentionally excluded this possibility from the feature set because it requires certain special logic in the driver. See https://github.com/UAVCAN/libcanard/blob/master/DESIGN.md#feature-set

This is not to discourage you, I'm just pointing out that maybe you should have a second look at libuavcan - it is complex for a reason. :)

jschall commented 6 years ago

So, the primary need is for a mechanism to retrieve the time at which the previous GlobalTimeSync message was actually transmitted to the bus, correct?

pavel-kirienko commented 6 years ago

Yes.

jschall commented 6 years ago

See discussion at http://www.chibios.com/forum/viewtopic.php?f=25&t=4327&p=31232#p31232