added some properties to support the logitec wheel
authorKevron Rees <kevron_m_rees@linux.intel.com>
Fri, 17 Aug 2012 22:59:36 +0000 (15:59 -0700)
committerKevron Rees <kevron_m_rees@linux.intel.com>
Fri, 17 Aug 2012 22:59:36 +0000 (15:59 -0700)
automotive-message-broker.odp
docs/runningstatus.txt
lib/vehicleproperty.h

index 53a9575..fc680e2 100644 (file)
Binary files a/automotive-message-broker.odp and b/automotive-message-broker.odp differ
index 11f3ce6..85f6878 100644 (file)
@@ -28,7 +28,7 @@ Properties    byte VehiclePowerMode [readonly]
                
                        Distance from trip meter(s) in km.
                        
-               byte TransmissionGearStatus [readonly]
+               byte TransmissionShiftPosition [readonly]
                
                        Neutral = 0,
                        1st = 1,
@@ -113,4 +113,4 @@ Properties  byte VehiclePowerMode [readonly]
                        Angle of the steering wheel (0-360)
                        
                                
-                               
\ No newline at end of file
+                               
index 258fcfa..c324b6c 100644 (file)
@@ -36,8 +36,23 @@ public:
        enum Property
        {
                NoValue=0,
-               VehicleSpeed,
-               EngineSpeed
+               VehicleSpeed, /**< Vehicle Velocity in km/h */
+               EngineSpeed, /**< Engine Speed in rotations per minute */
+               TransmissionShiftPosition, /**< Transmission Shift Position
+                                                                       * 0 = Neutral
+                                                                       * 1 = 1st
+                                                                       * 2 = 2nd
+                                                                       * ...
+                                                                       * 64 = Drive
+                                                                       * 128 = Reverse
+                                                                       * 255 = Park
+                                                                       */
+
+               ThrottlePosition, /**< Throttle position 0-100% */
+               WheelBrake, /**< Wheel brake position.  Engaged = true, Idle = false */
+               SteeringWheelAngle, /**< Steering wheel angle (0-360) */
+               TurnSignal, /**< 0=off, 1=right, 2=left, 3=hazard */
+               MachineGunTurretStatus /**< 0=off, 1=on */
        };
 
        static std::string name(Property prop);