rc::Drive should read information about the drive subsystem so that the base station can display them
Save the actual speed and actual drive mode. Also save a timestamp of when the last update arrived
CAN team will work on the error states part
Actual speed can come from left_speed and right_speed for now (send both, can save a pair)
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.
IP Address and port to be determined
Sender doesn't yet support multicast mode (waiting on #41). This isn't integral for developing this issue (you can always hard code your local address for testing)
Same sender will be used for broadcasting other updates
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.
rc::Drive
should read information about the drive subsystem so that the base station can display themleft_speed
andright_speed
for now (send both, can save a pair)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.