[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Paparazzi-devel] GPS susbsystem does not seem to turn on Led #2 on
From: |
David |
Subject: |
Re: [Paparazzi-devel] GPS susbsystem does not seem to turn on Led #2 on Twog V1 |
Date: |
Sun, 31 Oct 2010 13:20:53 -0700 |
Excellent idea and thank you Felix.
I noticed but was busy with other things so I had not spoken up yet about the
LED
I will try zooming with the GCS. That area is pretty large.
-David
On Oct 31, 2010, at 1:10 PM, Felix Ruess <address@hidden> wrote:
> Hi again,
>
> I think since most people want to use the led as GPS indicator anyway
> I just committed a fix that sets the GPS led by default.
> If you do not want to use a gps led please set this with a parameter
> for the gps subsystem like this:
> <subsystem name="gps" type="ublox_lea5h">
> <param name="GPS_LED" value="none"/>
> </subsystem>
> Or if you want to use a different one change the value to another
> (free) led. The default is LED 2 for Tiny2 and Twog boards.
>
> Cheers, Felix
>
> P.S. I'm a bit surprised this did not come up earlier.... nobody
> noticed? Or nobody cared or just fixed it themselves? (I don't have a
> tiny or twog so I didn't notice).
>
> On Sun, Oct 31, 2010 at 8:39 PM, Felix Ruess <address@hidden> wrote:
>> Hi,
>>
>> maybe we should enable the GPS led by default (set which one in the
>> board file) and enable the user not to use a gps led indicator if
>> wanted (e.g. by explicitly setting GPS_LED = none)?
>>
>> Cheers, Felix
>>
>> On Sun, Oct 31, 2010 at 3:48 PM, Martin Mueller <address@hidden> wrote:
>>> Hi Joseph,
>>>
>>> you can set it in the firmware, e.g.
>>>
>>> <firmware name="fixedwing">
>>> <target name="ap" board="twog_1">
>>> <define name="GPS_LED" value="2"/>
>>> ...
>>>
>>> The <param> of the <subsystem> is evaluated in a different way.
>>>
>>> Martin
>>>
>>> On 30.10.2010 19:43, Joseph Schauber wrote:
>>>>
>>>> Recently update my airframe file to XML only. Everything worked as
>>>> expected with the exception that the green led on the Twog_V1 did not
>>>> start blinking to indicate 3D GPS lock. I got the system to work as
>>>> before by putting a makefile at the end .
>>>> <makefile location="after">
>>>> ap.CFLAGS += -DGPS_LED=2
>>>> ap.scrs += gps_ubx.c gps.c latlong.c
>>>> </makefile>
>>>> This worked but I am wondering if there is another way of doing it.
>>>> Perhaps a define in the subsystem?
>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Paparazzi-devel mailing list
>>>> address@hidden
>>>> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>>>
>>>
>>> _______________________________________________
>>> Paparazzi-devel mailing list
>>> address@hidden
>>> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>>>
>>
>
> _______________________________________________
> Paparazzi-devel mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel