GPS no lock in manual with 2.5.03 and red shield

I've been lurking for a while, and I'm getting ready to test fly 2.5.03 next weekend and noticed on my bench that my Easystar with UBLOX and red shield would not achieve GPS lock in manual.  If I switched to Auto or Fly By Wire, the GPS would achieve lock. Once lock was achieved, switching back to manual would then lose the lock. 

Since I didn't have this problem with 2.5.02, I looked at the difference in code and noticed the new line in system.pde - setcommandMux. 

I tried commenting out the "setcommandMux" and  the GPS achieved lock in manual mode. I'm playing around some more this weekend, but I wanted to post my findings since I have the older shield board.

Thanks,

Heino R. Pull
heyno@heino.com

switch(control_mode)
{
case MANUAL:
// setCommandMux();
break;

case AUTO:
break;

case STABILIZE:
break;
case FLY_BY_WIRE:
break;

case RTL:
return_to_launch();
break;
case LOITER:
break;
}

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • Ok... Tried 2.5.0.3 and had the same problem. Version 1 shield and using a em406 GPS. In manual mode it would also not gain GPS lock and the blue LED would keep flashing.

    I have another question as well. Under the attitude tab. If you look at stabilize only it reads something like
    if Throttle in ==0
    then servo_out = Throttle cruise;


    Should it not be if the throttle is enabled?

    Then second question, might not be the right place to post it but...
    Should the second jumper on the arduboard also be soldered underneath the board to read throttle? When i started they did not have the second jump wire, i see know however that it has been added... Might that explain why, when i switch to stabilize it cuts throttle and only glides?
  • So what is the solution? I also have the same problem now
  • Developer
    Hi Heino,
    I re-looked at the files it should have read:

                    #if GROUNDSTATION == 1                                             setCommandMux();
    #endif
  • Thanks Jason,

    I've zipped up what I was working with last night and attached here. I'm running with the throttle directly attached to the receiver for now so I think I've got the throttle set correctly and I'm also testing with the RBF jumper attached/unattached to see what happens.

    Heino

    Ardupilot_25_03hrp.zip

    https://storage.ning.com/topology/rest/1.0/file/get/3692022629?profile=original
  • Developer
    Hi,
    The mux functionality is implemented differently for each shield. You may have the shield set wrong in the header file or it could be a bug. Could you zip up your files including the header and post them here to verify?
    Thanks,
    Jason
This reply was deleted.

Activity