Hi every one. i am new to here, i an using the latest 1.0 code, FMA and EM-406GPS,
when switching on the AP, it does not go where it should be, when i set it to RTL is fly-away.
Same as the way point..
Try to set the yaw rev, but still no luck.. doing the same thing but flying away to the other driction.
Any one have any idears?

Views: 14

Reply to This

Replies to This Discussion

I think this is because you're south of the equator and our code is confused! Try the special NE mode code and see what happens.
Uploaded the code but still No luck.. The GPS LED does not working right..
when i plug in the battery after 40sec the GPS lock (blue LED) came on... when i hit the autopilot switch the BLUE LED turned off or after few Mins it turned off itself... i checked the red LED on the GPS after the Blue LED turned off it was blinking which shows the GPS still in lock??

How do i fix this?? Please, Please advice?
Sounds like you're using older code before we fixed the GPS lock bug. Try the latest code and tell me if that makes a difference.
Hi the code you just sent is the one i used in the first time and had problem with.. it did not take it to the right direction..
""I think this is because you're south of the equator and our code is confused! Try the special NE mode code and see what happens.""

ARE you sure the code you fist post out is the special NE mode code not the "older code before we fixed the GPS lock bug" coz that's what i uploaded on to it?

Do you have a working special NE mode code that i can use??
Hi i have modified the GPS_NAV code a bit.. but that does seems fixed it..
token = strtok_r(NULL, search, &brkb); //lat, north or south?
//If the char is equal to S (south), multiply the result by -1..
if(*token=='S'){
lat=lat*-1;
}

//This the same procedure use in lat, but now for Lon....
token = strtok_r(NULL, search, &brkb);
temp=strtol (token,&pEnd,10);
temp2=strtol (pEnd+1,NULL,10);
temp3=(temp*10000)+(temp2);
temp3=temp3%1000000;
temp/=100;
lon=temp+((float)temp3/600000);

token = strtok_r(NULL, search, &brkb); //lon, east or west?
if(*token=='E'){
lon=lon*1;
}

is there any where else i have to change too?? any help??
Andy, my apologies. I forgot to update the "NE Mode" code to fix the GPS lock bug. I've now updated it and it's here.
Hi just tested it.. it still have not fix it..
My coordinates here are:
-43.561256° 172.565375° in Decimal Degrees
or
43° 33.675'S 172° 33.922'E in Degrees, Decimal Minutes

I used the NE code you sent me it did not work so In the NE code:
if(*token=='E'){
lon=lon*-1;
I changed the E to S and the Yaw rev but still no luck?
Sorry Andy, but I'll need more info.

When you've got the NE mode code loaded and you're just walking the plane around on the ground, what's happening?
Hi took the board out of the plane and put it on to a EP car, and adjust the Yak max and min so to make a full turn it have to do a 20m circle. the car seems only goes to NE when RTL set to return home. did not try the Way points..
Yes, in the NE code, it goes NE regardless of whether it's in RTL or Waypoint mode. What is "Yak"? What is "EP"?

Anyway, it sounds like it's working right.
Sorry about that.. EP = electric powered car. I meant YAW.
So are you saying if I use the latest code it should work? or I have to integrate the NE code to the latest code?
Yes, the latest code has been tested by many people and works fine. The NE mode code just confirms that your hardware is set up right. If it's working, the regular code should work, too.

RSS

Social Networking

Contests

Season Two of the Trust Time Trial (T3) Contest has now begun. The fourth round is an accuracy round for multicopters, which requires contestants to fly a cube. The deadline is April 14th.

A list of all T3 contests is here

Groups

Advertisement

© 2013   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service