Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 9, 2015, 4:38:02 PM (8 years ago)
Author:
gania
Message:

did nothing today

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/AI_HS15/src/orxonox/controllers/CommonController.h

    r10782 r10789  
    7676    }
    7777
     78
    7879    class _OrxonoxExport CommonController : public Controller
    7980    {
     
    121122        protected:
    122123
    123             void moveToPosition(const Vector3& target);
    124             void moveToTargetPosition();
     124            void moveToPoint(const Vector3& relativeTargetPosition, float angleRoll);
     125            bool moveAndRoll(float dt);
     126
     127            void moveToPosition(const Vector3& target, float dt);
     128            void moveToTargetPosition(float dt);
    125129            //enum Mode {ROCKET, ATTACK, MOVE, HOLD};//TODO; implement DEFENCE, MOVING modes
    126130
    127131            //Mode mode_;
    128             void copyOrientation(const Quaternion& orient);
    129             void copyTargetOrientation();
     132            void copyOrientation(const Quaternion& orient, float dt);
     133            void copyTargetOrientation(float dt);
    130134
    131135            float squaredDistanceToTarget() const;
     
    160164            WeakPtr<ControllableEntity> objectiveTarget_;
    161165
    162             float angleRolled_;
    163             float angleRoll_;
    164166
    165167
     
    169171            Maneuver::Value maneuver_;
    170172
    171             ClassTreeMask               targetMask_;
    172 
     173            bool executingManeuver_;
     174            bool executingMoveToPoint_;
    173175         
    174176        private:
Note: See TracChangeset for help on using the changeset viewer.