paparazzi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Paparazzi-devel] Flight plan blocks and keyboard


From: Andrew S
Subject: Re: [Paparazzi-devel] Flight plan blocks and keyboard
Date: Tue, 04 Aug 2009 09:02:09 +0400


04.08.09, 02:53, "Pascal Brisset" <address@hidden>:

> Andrew S wrote:
> > Thanks.
> >
> > Is it any way to just increase or decrease value with STEP by keys?
> >   
>  Using left and right arrows, the page keys or the mouse wheel ?
No, with any key assigned for this. For example 

<dl_setting MAX="200" MIN="-200" STEP="10" VAR="nav_radius" module="nav"
handler="SetNavRadius">
<key_press key="q" value="increase"/> <!-- "q" key to increase nav radius for 
10 -->
<key_press key="w" value="decrease"/> <!-- "w" key to decrease -->
<key_press key="e" value="50"/> <!-- "e" key to just make radius 50 -->
<key_press key="r" value="-50"/> <!-- "r" key -50 -->
</dl_setting>

Or better solution could be (not depends of step)
<key_press key="q" add="20"/> <!-- "q" key to increase nav radius for 20 -->
<key_press key="w" add="-30"/> <!-- "w" key to decrease for 30 -->

This feature could be excellent solution for payloads drive.


> > And this feature works incorrectly with more than two keys=values.
> >   
>  Hmm, it _was_ working. I will check
Maybe it depends on hardware?


Andrew




reply via email to

[Prev in Thread] Current Thread [Next in Thread]