getDataName function

String getDataName(
  1. Device device
)

Gets the name of the data message for the given device.

Implementation

String getDataName(Device device) => switch (device) {
	Device.ARM => "ArmData",
	Device.GRIPPER => "GripperData",
	Device.SCIENCE => "ScienceData",
	Device.DRIVE => "DriveData",
	_ => "Unknown",
};