/// <summary> /// Set Sumo in Postures /// standing, jumper, kicker /// </summary> /// <param name="Posture">enum[standing, jumper, kicker]</param> public void ChangePostures(SumoEnumGenerated.Posture_type Posture) { this.sender.Send(SumoCommandsGenerated.Piloting_Posture_cmd(Posture)); // Commands.Postures_cmd(Posture)); }
/// <summary> /// Piloting_Posture /// /// Request a posture /// /// /// args : enum /// </summary> public static byte[] Piloting_Posture_cmd(SumoEnumGenerated.Posture_type type) { return(StructConverter.Pack("<BBHI", 3, 0, 1, (UInt16)type)); }