Homepage GitHub

Two independent uavcan node on one mcu

(pletnev16rus) #1

I want to use two independent nodes on one mcu with unique nodeId, nodeName etc.
Is Libuavcan fit for this purpose?

(Pavel Kirienko) #2

Of course. Just create two (or as many as you wish) node objects. You will probably need to write your own platform interface implementations, because the ones we provide by default can only be used with one node. Your replacements should be thread-safe and they probably (making assumptions here) should allow your nodes to communicate with each other (maybe not, I don’t know your application).

(pletnev16rus) #3

Thank You, Pavel! If it will be strongly needed for our project I will try to do it.