public static Offset <CozmoAnim.TurnToRecordedHeading> CreateTurnToRecordedHeading(FlatBufferBuilder builder,
                                                                                    uint triggerTime_ms    = 0,
                                                                                    uint durationTime_ms   = 0,
                                                                                    short offset_deg       = 0,
                                                                                    short speed_degPerSec  = 0,
                                                                                    short accel_degPerSec2 = 1000,
                                                                                    short decel_degPerSec2 = 1000,
                                                                                    ushort tolerance_deg   = 2,
                                                                                    ushort numHalfRevs     = 0,
                                                                                    bool useShortestDir    = false)
 {
     builder.StartTable(9);
     TurnToRecordedHeading.AddDurationTimeMs(builder, durationTime_ms);
     TurnToRecordedHeading.AddTriggerTimeMs(builder, triggerTime_ms);
     TurnToRecordedHeading.AddNumHalfRevs(builder, numHalfRevs);
     TurnToRecordedHeading.AddToleranceDeg(builder, tolerance_deg);
     TurnToRecordedHeading.AddDecelDegPerSec2(builder, decel_degPerSec2);
     TurnToRecordedHeading.AddAccelDegPerSec2(builder, accel_degPerSec2);
     TurnToRecordedHeading.AddSpeedDegPerSec(builder, speed_degPerSec);
     TurnToRecordedHeading.AddOffsetDeg(builder, offset_deg);
     TurnToRecordedHeading.AddUseShortestDir(builder, useShortestDir);
     return(TurnToRecordedHeading.EndTurnToRecordedHeading(builder));
 }
 public static TurnToRecordedHeading GetRootAsTurnToRecordedHeading(ByteBuffer _bb, TurnToRecordedHeading obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }