Showing posts with label gps. Show all posts
Showing posts with label gps. Show all posts

Thursday, 29 August 2013

Current and voltage meter in the mail today!

This is what I got in the mail today. I ordered it from GoodLuckBuy and it was shipped out 10 days ago. This still means that the average time to delivery from China is about 9-10 days depending on holidays I suppose.

The little device in the middle gets hooked up and man-in-the-middles the power coming from the battery and tells the flight controller how much juice it has left. There is an excellent integration instruction at ArduCopters wiki but this is roughly how its meant to work shown in the picture to the right. There are some settings in Mission Planner that allows the flight controller to conduct an emergency landing if the voltage falls too low. Remember that I previously written that I've set my ESC's to cut power at 3V in order to spare the batterys health. This means that I should make an emergency landing prior to that. Other than an emergency landing is also to order the flight controller to RTL. However, we all know how that ended last time..
Talking about failing RTL's, I yesterday think I've got a clue why the GPS has been acting strange lately. By accident, I looked at the quad's heading according to the flight controller and it was 90 degrees wrong. This means that I've mounted the GPS 90 degrees wrong which makes the flight controller do things the wrong way.

Another update is that I received an e-mail this morning from the author of MegaPirateNG with a link to MPNG-3.0.1-R2 :). I still haven't downloaded the code but I sure will within the next few days.

I've also got another package in the mail about a week ago, which I still haven't written about. I will do so in a separate blog post due to its large content. I also have a few surprise upgrades so stay tuned ;)

 

Saturday, 10 August 2013

MegapirateNG vs. MultiWii

I've been reading up on forums on the progress of future releases for the MegaPirateNG code base. To my astonishment I soon found out that the main maintainer behind MegaPirateNG left the project to join the ArduPilot team. This means that currently MegaPirateNG isn't developed. A small project fork all tho seem to have been done by some enthusiasts. This is called megapirateng-add-ons ( https://code.google.com/p/megapirateng-add-ons/ ) and is a beta into MegaPirateNG 2.9.1. Some folks claim its superb while some clam it has serious bugs. Others tell to look into the MultiWii code base instead.

Today I tried out the MultiWii 2.2 code, which is the latest in it's branch. From the first look and feel, it feels like the quad is handling a lot more stable. This is before touching any PID parameter configurations. I've done some level flights and it feels really stable. I haven't figured out if it's possible to configure the controller to decelerate the quad on releasing any of the pitch or roll controls, which MegaPirate did by default. That behavior is very helpful for beginners.

The guide I used to get going with MultiWii can be obtained from this forum thread:
http://www.multi-rotor.co.uk/index.php?topic=411.0

This is my current configuration and a look at the MultiWii configuration program.
One detail I found very useful is the fully configurable mode selector. This can be used to combine several features to build your own flight modes instead of having to use any vendor supplied modes.
My configuration states that not using AUX1 should result in a level (angle) flight. Using AUX1, level, barometer to hold altitude, magnetometer to hold heading and GPS to hold position should be used. AUX3 is used in a similar fashion but invoking GPS return to home instead.

It's thereby possible to combine any of these features in any desired way. Further explanation can be obtained at the MultiWii wiki page.

Stay tuned for more information as I go along. I will try to test out the GPS return to home function rather soon.

Wednesday, 17 July 2013

It became self aware


Someone once said: -"Pictures or it didn't happen".

This is how to get prepared for flight. In addition to the quad and the transmitter, you need a laptop.


Everything is by this time wired. That's why you see the green light on the flight controller. It indicates that the GPS reports that it is locked on to a fixed position. The sonar is also connected and reports correctly.
 

Another picture..


So, you wanna see how it flies :) ? The video is rather short due to two factors.
  • The battery of my mobile was at this time drained to 4%, hence keeping it short.
  • The left down motor gets seriously overheated due to some fault. It may break down if its magnets gets loose. This could happen due to heat as they are glued on...
 Note that I show no hands as the quad loiters :)

Saturday, 18 May 2013

Schematic drawing

This is the way that I see that my quad will be hooked up. As I'm new at this, I will keep this drawing up to date as well over time.