BinghamtonRover / BurtOS-2

Base station/rover computer apps and libraries for the Binghamton University Rover Team
3 stars 0 forks source link

Remote drive information retrieval #42

Closed superdan-t closed 2 years ago

superdan-t commented 2 years ago

rc::Drive should read information about the drive subsystem so that the base station can display them

For sending the information, the subsystem should publish it on an interval using a net::MessageSender in multicast mode. This means it isn't sending to the base station specifically, but broadcasting.

Remote drive object will need to use a net::MessageReceiver to listen to the feed, but won't need to save a reference to it. Create a function that registers the update handler on a message receiver.