public Target(double _x, double _y, double _heading, dirType _dir = dirType.forward, bool _PID = true, double _speed = 0) { dir = _dir; location = new LocationPoint(_x, _y, _heading); PID = _PID; speed = _speed; }
public Target(double _x, double _y, double _heading, dirType _dir, int _PID, double _speed) { dir = _dir; location = new LocationPoint(_x, _y, _heading); PID = (_PID > 0); speed = _speed; }
public Target(LocationPoint _location, dirType _dir, int _PID, double _speed) { dir = _dir; location = _location; PID = (_PID > 0); speed = _speed; }
public Target(LocationPoint _location, dirType _dir = dirType.forward, bool _PID = true, double _speed = 0) { dir = _dir; location = _location; PID = _PID; speed = _speed; }
public Target() { dir = dirType.forward; location = new LocationPoint(); PID = true; speed = 0; }
public Target(double _x, double _y, int _dir, int _PID, double _speed) { if (_dir >= 0) { dir = dirType.forward; } else if (_dir < 0) { dir = dirType.backward; } location = new LocationPoint(_x, _y, 0); PID = (_PID > 0); speed = _speed; }
public Target(double _x, double _y, int _dir, bool _PID = true, double _speed = 0) { if (_dir >= 0) { dir = dirType.forward; } else if (_dir < 0) { dir = dirType.backward; } location = new LocationPoint(_x, _y, 0); PID = _PID; speed = _speed; }
public Target(LocationPoint _location, int _dir, int _PID, double _speed) { if (_dir >= 0) { dir = dirType.forward; } else if (_dir < 0) { dir = dirType.backward; } location = _location; PID = (_PID > 0); speed = _speed; }
public Target(LocationPoint _location, int _dir, bool _PID = true, double _speed = 0) { if (_dir >= 0) { dir = dirType.forward; } else if (_dir < 0) { dir = dirType.backward; } location = _location; PID = _PID; speed = _speed; }