public virtual void UpdatePosition(PolarPosition rowPos)
 {
     x        = rowPos.x;
     y        = rowPos.y;
     z        = rowPos.z;
     _angle   = GetCalculatedAngle();
     Pitch    = rowPos.Pitch;
     TrueRoll = rowPos.TrueRoll;
     Distance = GetCalculatedDistance();
 }
 public override void UpdatePosition(PolarPosition rowPos)
 {
     base.UpdatePosition(rowPos);
     StartAngle = TrueRoll + TRUE_ROLL_BOTTLE_STRAIGHT_OFFSET;
     StopAngle  = StartAngle - 30; //tilt 30* as standard.
 }
Exemple #3
0
 public CmdMsg(Command cmd, PolarPosition p)
 {
     Type     = cmd;
     Position = p;
 }