You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't have much experience with Protobuf yet, but I can see that all these commands will have arguments, so the Dart representation would need to be something like
classRoverMessage {
finalint id;
finaldouble value; // or int?
}
and then later, in the networking service, we would have a function
Future<void> send(RoverMessage message) { }
Then of course, we'd need to make the protobuf message files as well.
The text was updated successfully, but these errors were encountered:
Perhaps this should be under the new Rover API repo instead, but filing here for now.
We need to convert all the possible commands from https://github.com/BinghamtonRover/BurtOS-2/blob/main/src/subsystem/can/constants.hpp to both Dart representations and their Protobuf equivalents.
I don't have much experience with Protobuf yet, but I can see that all these commands will have arguments, so the Dart representation would need to be something like
and then later, in the networking service, we would have a function
Then of course, we'd need to make the protobuf message files as well.
The text was updated successfully, but these errors were encountered: