Hi,I am attempting to put in a closed loop entry for T3 round 6 based around ArduPilot 2.6 code and FlightGear. The model currently navigates directly to all waypoints, except those lying to the…Continue
"The encoding looks like HH:MM:SS:ms(3) since SS increments on a 1000 count of ms and MM increments as SS reaches 60.
That also explains your plots periodic 60 seconds of data followed by 40 second 'jumps'.
Interesting that resolution…"
"AP does not derive dynamic response from a static model of your airframe (nor will any other generic autopilot), so it doesn't ask you for static parameters. Reason? - there is no simple generic static>dynamic model offering good accuracy…"
"The voltage regulator only works for power supplied from the external battery input, which should be greater than 7.4V.
Feeding power from the receiver inputs you bypass the regulator - there is no regulation, and at 6.55V you are overvolting your…"
There are fuse bits which should be set when a bootloader is used to prevent the bootloader memory space being overwritten. It sounds like these may not be set correctly in your case.
A guide to avr fuses is here. A google search will get…"
If your serial is running at 2x the declared rate it is possible you are compiling for the wrong arduino board. Check under the Tools > Board menu that you have the correct board selected.
If that is not the problem try using a…"
"You seem to be covering most of the potential snags I can see. Curt would be far better placed to comment...
My experience of the process was fairly painless. I started with 2.0, but found it would not run on my hardware so regressed to 1.91b.…"
"Version 1.91b seems to be the most cooperative, based on feedback from the T3 round 6 thread and elsewhere. Are you configuring FG to accept packets at a higher rate than you actually feed, as that may be worth a go. Also do you set control surface…"
"Sorry, that was slightly unclear. The GPS_NMEA setup function looks to simply set up ArduPilot.
There is no code to initialise the GPS unit to the correct baud rate etc. I meant you would have to provide your own initialisation code to set the GPS…"
There doesn't look to be any code for EM406 in the mega libraries. You may get it to work in NMEA mode, but there is no specific initialisation code. You would need to do your own init to set the output to NMEA @38400."
""X-Plane actually binds two ports - 49000 and 49001. It uses 49000 only to receive data, and 49001 only to send data (this is the difference from previous versions - it used to use 49000 to transmit and receive). These are hard coded into…"
The third one should be the charm... (hopefully). Apparently binary mode configuration requires a different message format. DIYDrones' Ken has supplied code to reset to NMEA mode - here.
Attached below is Ken's reset code as a…"
I appreciate your efforts,
Are you able to fix the problem in the code of ArduIMU so that it can works with EM406.
In my UAV I am using (AP + Shield V2 + GPS EM406 + ArduIMU).
Waiting for your replay