Planner: limit altitude and pressure

Oh boy, this should allow for altitude in 'ft' as well.
I set an arbitrary cutoff at 3000m (and switched things to increments of
10m for the altitude).

Fixes #629

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2014-07-15 17:17:26 -07:00
parent 4c8e9615e4
commit 3860c3eaa1

View file

@ -147,8 +147,11 @@
<property name="suffix">
<string>mbar</string>
</property>
<property name="minimum">
<number>689</number>
</property>
<property name="maximum">
<number>2000</number>
<number>1100</number>
</property>
</widget>
</item>
@ -158,10 +161,13 @@
<string>m</string>
</property>
<property name="minimum">
<number>-2000</number>
<number>-100</number>
</property>
<property name="maximum">
<number>10000</number>
<number>3000</number>
</property>
<property name="singleStep">
<number>10</number>
</property>
</widget>
</item>