Search found 14 matches

by waderic
Fri May 08, 2015 2:18 pm
Forum: Software development
Topic: DroFly support for 2.4
Replies: 0
Views: 1728

DroFly support for 2.4

Hi, Here is my code for DroFly support in Multiwii 2.4. I used code from Fernitronix : m I did not include SD card code but only flight controller code. Fernitronix's code worked without any change. I made successfull tests only with DroFly v3. 3 new defines are added in def.h defined(DROTEK_DROFLY_...
by waderic
Mon Jan 13, 2014 6:45 pm
Forum: Software development
Topic: Flying in a volume
Replies: 20
Views: 8385

Re: Flying in a volume

EOSBandi wrote:In the nav version I would rather change NAV_mode instead of box....

I don't see what you mean about. You are talking about these lines of code ?

Code: Select all

        if(f.VOLUME_MODE)
          rcOptions[BOXGPSHOME] = 1;
by waderic
Mon Jan 13, 2014 6:39 pm
Forum: Software development
Topic: Flying in a volume
Replies: 20
Views: 8385

Re: Flying in a volume

The first limit is working. I don't see why there should be second one. If the copter reaches the second one, it means the first limit did not work.
by waderic
Tue Jan 07, 2014 5:17 pm
Forum: Software development
Topic: Flying in a volume
Replies: 20
Views: 8385

Re: Flying in a volume

Hi,

My code is available on github at https://github.com/Wadudu/MultiWii_Wad/tree/master/src

Regards
by waderic
Mon Jan 06, 2014 10:54 am
Forum: Software development
Topic: Flying in a volume
Replies: 20
Views: 8385

Re: Flying in a volume

EOSBandi wrote:It is no more than 5 lines of code (assuming that you have active gps code)


Two lines are enough ;)

Code: Select all

        if(f.VOLUME_MODE)
          rcOptions[BOXGPSHOME] = 1;


I will post all my code soon because it worked : RTH when going outside the volume.
by waderic
Sat Dec 21, 2013 3:37 pm
Forum: Software development
Topic: Flying in a volume
Replies: 20
Views: 8385

Re: Flying in a volume

It is no more than 5 lines of code (assuming that you have active gps code) I think code must be something like : if(f.ARMED && ((alt.EstAlt > VolumeAltitudeMax) || (GPS_distanceToHome > GPS_distanceToHomeMax))) { f.VOLUME_MODE = 1; GPS_set_next_wp(&GPS_home[LAT],&GPS_home[LON]); na...
by waderic
Fri Dec 06, 2013 11:45 am
Forum: Software development
Topic: Flying in a volume
Replies: 20
Views: 8385

Re: Flying in a volume

Hi Hinkel, As you pointed out there are several possibility. The first goal is to provide an alarm for short distances (30 m) in order to inform the pilot he is out of the cylinder. The volume is a 30 m distance and a 50m height for example. The best alarm would be by OSD. For long distance, a RTH w...
by waderic
Thu Dec 05, 2013 4:35 pm
Forum: Software development
Topic: Flying in a volume
Replies: 20
Views: 8385

Re: Flying in a volume

Hi, Here is my code for enabling an alarm when the copter is getting out a volume. I am using a CRIUS all-in-one pro v2. It is enable by uncommenting the following lines #define VOLUME_FLIGHT #define VOLUME_HEIGTH_MAX 2 #define VOLUME_DISTANCE_MAX 10 It uses GPS for the distance and barometer for th...
by waderic
Sat Sep 28, 2013 9:28 am
Forum: Software development
Topic: Flying in a volume
Replies: 20
Views: 8385

Re: Flying in a volume

For using a buzzer with CRIUS All In One Pro V2 with multiwii 2.2, connector to the buzzer must be soudered with pin 32 as in this picture :

buzzer.jpg
by waderic
Thu Sep 26, 2013 3:37 pm
Forum: Software development
Topic: Flying in a volume
Replies: 20
Views: 8385

Re: Flying in a volume

Is it a pad or pin 33 ? There is no pin labeled 33 on the CRIUS AIOP V2. There are 4 pad (32 to 37). In that case, you need to solder something on the board ?
by waderic
Thu Sep 26, 2013 2:43 pm
Forum: Software development
Topic: Flying in a volume
Replies: 20
Views: 8385

Re: Flying in a volume

Thanks. Does anyone use buzzer with CRIUS AIOP V2 with multiwii 2.2 ? According to config.h, BUZZER PIN is on pin 8. But, it did not work.
by waderic
Thu Sep 26, 2013 10:12 am
Forum: Software development
Topic: Flying in a volume
Replies: 20
Views: 8385

Re: Flying in a volume

Thanks. I did not find Bradwii as user name in the forum list members.
by waderic
Wed Sep 25, 2013 10:17 pm
Forum: Software development
Topic: Flying in a volume
Replies: 20
Views: 8385

Flying in a volume

Hello,

I am implementing flight in a volume for the multiwii. When the multicopter is getting out a cylinder, the failsafe alarm is running. My code is based on firmware 2.2. It had worked on one copter. I have a problem for making the buzzer working on another copter.
by waderic
Mon Sep 23, 2013 6:05 pm
Forum: Connecting elements
Topic: Buzzer and Crius AIOP V2
Replies: 0
Views: 908

Buzzer and Crius AIOP V2

Hello,

I am trying to plug a buzzer on a CRIUS AIOP V2 with firmware 2.2. Is there another way to fix it except on the pin 32 under the analogic ports ?

Thanks.