Hey Pascal.
I'm not sure if my idea would be needed for everyone. it would just be nice for some applications. In one of the places i plan to fly there are only a few combinations of landing procedures that are possible and i wanted to make it easier to select which procedure it would use for landing. The strip gets very wide when you add in a few extra buttons to the basic setup.
Maybe the language could be like the sections in the airframe file.
it could be like this in the flight plan file:
<section name="landing">
<block name="Land Right AF-TD" strip_button="Land right (wp AF-TD)" strip_icon="land-right.png">
<set value="DEFAULT_CIRCLE_RADIUS" var="nav_radius"/>
<deroute block="land"/>
</block>
<block name="Land Left AF-TD" strip_button="Land left (wp AF-TD)" strip_icon="land-left.png">
<set value="-DEFAULT_CIRCLE_RADIUS" var="nav_radius"/>
<deroute block="land"/>
</block>
</section>
and the settings file could stay the same with the tabs they are allocated to making up the Columns:
<dl_settings NAME="Power switch">
<dl_setting MAX="1" MIN="0" STEP="1" VAR="power_switch" module="autopilot" handler="SetPowerSwitch">
<strip_button name="Switch on" icon="on.png" value="1"/>
<strip_button name="Switch off" icon="off.png" value="0"/>
</dl_setting>
</dl_settings>
just a suggestion. the GCS is awesome the way it is
Thanks
Todd
----- Original Message ----
From: Pascal Brisset <address@hidden>
To: address@hidden
Sent: Sunday, 11 May, 2008 8:30:35 PM
Subject: Re: [Paparazzi-devel] Strip buttons
Hi Todd,
what would you propose to specify the layout you want for these buttons ?
It would be easy to add a "strip_row" integer attribute (with a default
to 1). But it would not give the vertical alignment for your example. Do
we really want a versatile layout language with embedded boxes ?
Note that buttons are also coming from the settings files.
--Pascal
Todd Sandercock wrote:
> Hey all
>
> I
have been making a few flight plans and the extra strip buttons
> start adding up after not too long. I was wondering how possible it
> would be to change a few things so that it would be possible to stack
> the buttons above each other in like groups or something. I edited a
> screen shot to show what i mean. I was thinking it would be useful for
> sorting a few landing routines or anything common like that.
>
> Todd
>
> ------------------------------------------------------------------------
> Get the name you always wanted with the new y7mail email address
> <
http://au.rd.yahoo.com/mail/taglines/au/y7mail/default/*http://au.yahoo.com/y7mail/?p1=ni&p2=general&p3=tagline&p4=other>.
>
>
------------------------------------------------------------------------
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Paparazzi-devel mailing list
>
address@hidden>
http://lists.nongnu.org/mailman/listinfo/paparazzi-devel>
_______________________________________________
Paparazzi-devel mailing list
address@hiddenhttp://lists.nongnu.org/mailman/listinfo/paparazzi-devel