]> git.tdb.fi Git - r2c2.git/blobdiff - source/libr2c2/vehicle.h
Split the Manipulator class into several Tools
[r2c2.git] / source / libr2c2 / vehicle.h
index b1e9163f1019336045ed142c5c5ff91c01510a57..11e51d5ca14bae483dcfcc0593e9922502936f1f 100644 (file)
@@ -23,15 +23,6 @@ public:
 class Vehicle: public Object
 {
 public:
-       enum PlaceMode
-       {
-               CENTER,
-               FRONT_AXLE,
-               FRONT_BUFFER,
-               BACK_AXLE,
-               BACK_BUFFER
-       };
-
        struct Axle
        {
                const VehicleType::Axle *type;
@@ -110,6 +101,7 @@ private:
        void check_sensor(const TrackOffsetIter &, unsigned &, bool);
        void turn_axles(float);
        void update_rods();
+       float resolve_rod_constraint(Rod &, const VehicleType::RodConstraint &);
 
 public:
        virtual unsigned get_n_link_slots() const;