public static void write(us.ihmc.idl.generated.Chat.ChatMessage data, CDR cdr) { if(data.getSender().length() <= 255) cdr.write_type_d(data.getSender());else throw new RuntimeException("sender field exceeds the maximum length"); if(data.getMsg().length() <= 255) cdr.write_type_d(data.getMsg());else throw new RuntimeException("msg field exceeds the maximum length"); }
public static void write(diagnostic_msgs.msg.dds.KeyValue data, us.ihmc.idl.CDR cdr) { if(data.getKey().length() <= 255) cdr.write_type_d(data.getKey());else throw new RuntimeException("key field exceeds the maximum length"); if(data.getValue().length() <= 255) cdr.write_type_d(data.getValue());else throw new RuntimeException("value field exceeds the maximum length"); }
public static void write(std_msgs.msg.dds.String data, us.ihmc.idl.CDR cdr) { if(data.getData().length() <= 255) cdr.write_type_d(data.getData());else throw new RuntimeException("data field exceeds the maximum length"); }
public static void write(us.ihmc.robotDataLogger.ClearLogRequest data, us.ihmc.idl.CDR cdr) { if(data.getGuid().length() <= 255) cdr.write_type_d(data.getGuid());else throw new RuntimeException("guid field exceeds the maximum length"); }
public static void write(controller_msgs.msg.dds.InvalidPacketNotificationPacket data, us.ihmc.idl.CDR cdr) { cdr.write_type_4(data.getSequenceId()); if(data.getPacketClassSimpleName().length() <= 255) cdr.write_type_d(data.getPacketClassSimpleName());else throw new RuntimeException("packet_class_simple_name field exceeds the maximum length"); if(data.getErrorMessage().length() <= 255) cdr.write_type_d(data.getErrorMessage());else throw new RuntimeException("error_message field exceeds the maximum length"); }
public static void write(lifecycle_msgs.msg.dds.State data, us.ihmc.idl.CDR cdr) { cdr.write_type_9(data.getId()); if(data.getLabel().length() <= 255) cdr.write_type_d(data.getLabel());else throw new RuntimeException("label field exceeds the maximum length"); }
public static void write(lifecycle_msgs.msg.dds.Transition data, us.ihmc.idl.CDR cdr) { cdr.write_type_9(data.getId()); if(data.getLabel().length() <= 255) cdr.write_type_d(data.getLabel());else throw new RuntimeException("label field exceeds the maximum length"); }
public static void write(us.ihmc.robotDataLogger.YoRegistryDefinition data, us.ihmc.idl.CDR cdr) { cdr.write_type_3(data.getParent()); if(data.getName().length() <= 255) cdr.write_type_d(data.getName());else throw new RuntimeException("name field exceeds the maximum length"); }
public static void write(us.ihmc.robotDataLogger.LoggerConfiguration data, us.ihmc.idl.CDR cdr) { if(data.getCamerasToCapture().length() <= 255) cdr.write_type_d(data.getCamerasToCapture());else throw new RuntimeException("camerasToCapture field exceeds the maximum length"); cdr.write_type_7(data.getPublicBroadcast()); }
public static void write(us.ihmc.robotDataLogger.JointDefinition data, us.ihmc.idl.CDR cdr) { if(data.getName().length() <= 255) cdr.write_type_d(data.getName());else throw new RuntimeException("name field exceeds the maximum length"); cdr.write_type_c(data.getType().ordinal()); }
public static void write(us.ihmc.robotDataLogger.EnumType data, us.ihmc.idl.CDR cdr) { if(data.getName().length() <= 255) cdr.write_type_d(data.getName());else throw new RuntimeException("name field exceeds the maximum length"); if(data.getEnumValues().size() <= 255) cdr.write_type_e(data.getEnumValues());else throw new RuntimeException("enumValues field exceeds the maximum length"); }
public static void write(sensor_msgs.msg.dds.ChannelFloat32 data, us.ihmc.idl.CDR cdr) { if(data.getName().length() <= 255) cdr.write_type_d(data.getName());else throw new RuntimeException("name field exceeds the maximum length"); if(data.getValues().size() <= 100) cdr.write_type_e(data.getValues());else throw new RuntimeException("values field exceeds the maximum length"); }
public static void write(visualization_msgs.msg.dds.MenuEntry data, us.ihmc.idl.CDR cdr) { cdr.write_type_4(data.getId()); cdr.write_type_4(data.getParentId()); if(data.getTitle().length() <= 255) cdr.write_type_d(data.getTitle());else throw new RuntimeException("title field exceeds the maximum length"); if(data.getCommand().length() <= 255) cdr.write_type_d(data.getCommand());else throw new RuntimeException("command field exceeds the maximum length"); cdr.write_type_9(data.getCommandType()); }
public static void write(controller_msgs.msg.dds.ControllerCrashNotificationPacket data, us.ihmc.idl.CDR cdr) { cdr.write_type_4(data.getSequenceId()); cdr.write_type_9(data.getControllerCrashLocation()); if(data.getStacktrace().length() <= 255) cdr.write_type_d(data.getStacktrace());else throw new RuntimeException("stacktrace field exceeds the maximum length"); }
public static void write(sensor_msgs.msg.dds.TimeReference data, us.ihmc.idl.CDR cdr) { std_msgs.msg.dds.HeaderPubSubType.write(data.getHeader(), cdr); builtin_interfaces.msg.dds.TimePubSubType.write(data.getTimeRef(), cdr); if(data.getSourceAsStringBuilder().length() <= 255) cdr.write_type_d(data.getSourceAsStringBuilder());else throw new RuntimeException("source field exceeds the maximum length"); }
public static void write(visualization_msgs.msg.dds.InteractiveMarkerPose data, us.ihmc.idl.CDR cdr) { std_msgs.msg.dds.HeaderPubSubType.write(data.getHeader(), cdr); geometry_msgs.msg.dds.PosePubSubType.write(data.getPose(), cdr); if(data.getName().length() <= 255) cdr.write_type_d(data.getName());else throw new RuntimeException("name field exceeds the maximum length"); }
public static void write(controller_msgs.msg.dds.SimpleCoactiveBehaviorDataPacket data, us.ihmc.idl.CDR cdr) { cdr.write_type_4(data.getSequenceId()); if(data.getKey().length() <= 255) cdr.write_type_d(data.getKey());else throw new RuntimeException("key field exceeds the maximum length"); cdr.write_type_6(data.getValue()); }
public static void write(sensor_msgs.msg.dds.CompressedImage data, us.ihmc.idl.CDR cdr) { std_msgs.msg.dds.HeaderPubSubType.write(data.getHeader(), cdr); if(data.getFormat().length() <= 255) cdr.write_type_d(data.getFormat());else throw new RuntimeException("format field exceeds the maximum length"); if(data.getData().size() <= 100) cdr.write_type_e(data.getData());else throw new RuntimeException("data field exceeds the maximum length"); }
public static void write(controller_msgs.msg.dds.TextToSpeechPacket data, us.ihmc.idl.CDR cdr) { cdr.write_type_4(data.getSequenceId()); cdr.write_type_7(data.getSpeakPacket()); cdr.write_type_7(data.getBeep()); if(data.getTextToSpeak().length() <= 255) cdr.write_type_d(data.getTextToSpeak());else throw new RuntimeException("text_to_speak field exceeds the maximum length"); }
public static void write(controller_msgs.msg.dds.HeatMapPacket data, us.ihmc.idl.CDR cdr) { cdr.write_type_4(data.getSequenceId()); if(data.getData().size() <= 100) cdr.write_type_e(data.getData());else throw new RuntimeException("data field exceeds the maximum length"); cdr.write_type_2(data.getWidth()); cdr.write_type_2(data.getHeight()); if(data.getName().length() <= 255) cdr.write_type_d(data.getName());else throw new RuntimeException("name field exceeds the maximum length"); }