Welcome to Multi-Rotor UK. Please login or sign up.

Friday,April 19, 2024, 14:26:05

Login with username, password and session length

Shoutbox

hoverfly:
17 Apr 2024 17:15:13
 :rolleyes:
Bad Raven:
26 Mar 2024 08:41:05
 :(
Andy7:
25 Mar 2024 14:49:21
An excess of work and rain.  :thumbdown:
Bad Raven:
23 Mar 2024 18:12:38
Almost a personal Blog, it would seem. LOTS of members, but NO posts.  :-/   :shrug:
Gaza07:
06 Mar 2024 16:59:49
Anyone still here  :shrug:
ched:
24 Dec 2023 11:48:48
Hope you all have a Great Christmas and a happy New Year.
Bad Raven:
20 Dec 2023 06:17:47
 ~~   :beer2: 
Gaza07:
19 Dec 2023 22:20:27
Merry Christmas All  :beer2:
Bad Raven:
01 Dec 2023 06:59:57
New Simulator Section started!   :beer2:
Bad Raven:
17 Jun 2023 06:52:23
Yes, smaller, same as lots of things as time passes.
Members
Stats
  • Total Posts: 201,425
  • Total Topics: 20,260
  • Online today: 23
  • Online ever: 530
  • (Tuesday,June 26, 2012, 08:34:46 )
Users Online
Users: 0
Guests: 29
Total: 29

Theme Changer





3d - Printworx

new new relase lolll - MultiWii dev version r1240 (2012/10/31)

Started by secretman, Wednesday,October 31, 2012, 16:41:03

Previous topic - Next topic

secretman

http://code.google.com/p/multiwii/downloads/detail?name=MultiWii_dev_r1240.zip&can=2&q=
better than the last one, need mor testing, but f*cking rain!!

Gaza07

What have they changed in this version from the last one  :rolleyes:
[url="https://www.youtube.com/channel/UCN6zN99iLCIJea5FCQPKf_g"]YouTube[/url]   [url="https://www.printing-3d.co.uk"]printing-3d[/url]  [url="https://www.thingiverse.com/Gaza07/about"]Thingiverse[/url]  [url="https://www.3d-printworx.co.uk"]3d-printworx[/url]

secretman

baro Alt from mahowik (new functions to come, noted)
- baro calibration and some baro mods from Sebbi
- new task scheduler for a better computation time repartition
- better Ublox code detection
- HORIZON mode (mix between ACRO & ANGLE)
- ANGLE mode is the old LEVEL mode
- every UART for everything on MEGA
- cool GUI enhancement from magnetron
- spektrum bind button for spektrum receiver (Danal)
- telemetry cosmetic
- bug correction for servos on MEGA
- failsafe is more robust

teslahed

I';ve just tested the new release with the quadcopter sitting on my bed. I haven';t flown with it yet.

I';ve used these settings with my ublox v1 (from rctimer);

/**************************************************************************************/
  /***********************                  GPS                **************************/
  /**************************************************************************************/

    /* GPS using a SERIAL port
       only available on MEGA boards (this might be possible on 328 based boards in the future)
       if enabled, define here the Arduino Serial port number and the UART speed
       note: only the RX PIN is used, the GPS is not configured by multiwii
       the GPS must be configured to output GGA and RMC NMEA sentences (which is generally the default conf for most GPS devices)
       at least 5Hz update rate. uncomment the first line to select the GPS serial port of the arduino */
    #define GPS_SERIAL 2 // should be 2 for flyduino v2. It';s the serial port number on arduino MEGA
    #define GPS_BAUD   57600
    //#define GPS_BAUD   115200


    /* GPS protocol
       NMEA  - Standard NMEA protocol GGA, GSA and RMC  sentences are needed
       UBLOX - U-Blox binary protocol, use the ublox config file (u-blox-config.ublox.txt) from the source tree
       With UBLOX you don';t have to use GPS_FILTERING in multiwii code !!! */
   
    //#define NMEA
    #define UBLOX

    //#define INIT_MTK_GPS        // initialize MTK GPS for using selected speed, 5Hz update rate and GGA & RMC sentence

    //#define GPS_PROMINI_SERIAL    57600 // Will Autosense if GPS is connected when ardu boots
   
    /* I2C GPS device made with an independant arduino + GPS device
       including some navigation functions
       contribution from EOSBandi   http://code.google.com/p/i2c-gps-nav/
       You have to use at least I2CGpsNav code r33 */
    //#define I2C_GPS

    /* I2C GPS device made with an indeedent ATTiny[24]313 + GPS device and
       optional sonar device.    https://github.com/wertarbyte/tiny-gps/ */
    /* get GPS data from Tiny-GPS */
    //#define TINY_GPS
    /* get sonar data from Tiny-GPS */
    //#define TINY_GPS_SONAR

    /* GPS data readed from Misio-OSD - GPS module connected to OSD, and MultiWii read GPS data from OSD - tested and working OK ! */
    //#define GPS_FROM_OSD

    /* indicate a valid GPS fix with at least 5 satellites by flashing the LED  - Modified by MIS - Using stable LED (YELLOW on CRIUS AIO) led work as sat number indicator
      - No GPS FIX -> LED blink at speed of incoming GPS frames
      - Fix and sat no. bellow 5 -> LED off
      - Fix and sat no. >= 5 -> LED blinks, one blink for 5 sat, two blinks for 6 sat, three for 7 ... */
    #define GPS_LED_INDICATOR

    //#define USE_MSP_WP                        //Enables the MSP_WP command, which is used by WinGUI to display and log Home and Poshold positions

    //#define DONT_RESET_HOME_AT_ARM             // HOME position is reset at every arm, uncomment it to prohibit it (you can set home position with GyroCalibration)

    /* GPS navigation can control the heading */
   
    #define NAV_CONTROLS_HEADING       true      // copter faces toward the navigation point, maghold must be enabled for it
    #define NAV_TAIL_FIRST             false     // true - copter comes in with tail first
    #define NAV_SET_TAKEOFF_HEADING    true      // true - when copter arrives to home position it rotates it';s head to takeoff direction
   
   
    /* Get your magnetic decliniation from here : http://magnetic-declination.com/
       Convert the degree+minutes into decimal degree by ==> degree+minutes*(1/60)
       Note the sign on declination it could be negative or positive (WEST or EAST) */
    //#define MAG_DECLINIATION  3.96f              //For Budapest Hungary.
    #define MAG_DECLINIATION  0.0f
   
    #define GPS_FILTERING                        // add a 5 element moving average filter to GPS coordinates, helps eliminate gps noise but adds latency comment out to disable
    #define GPS_LOW_SPEED_D_FILTER               // below .5m/s speed ignore D term for POSHOLD_RATE, theoretically this also removed D term induced noise commnent out to disable
    #define GPS_WP_RADIUS              200       // if we are within this distance to a waypoint then we consider it reached (distance is in cm)
    #define NAV_SLEW_RATE              30        // Adds a rate control to nav output, will smoothen out nav angle spikes



And the quadcopter has connected with 4 satellites just sitting on my bed. The weather is bad and i live in a terraced house so i should hopefully get much better results outside later.

I';ve copied the whole GPS section from my multiwii config file there but the changes I';ve made in terms of commenting in the ublox lines and setting the speed to 57600 from 115200 are all in the top section of the code.
One circlip short of a quadcopter.
 1 lobe short of an antenna.

neagron

So Chris,this upgrade is a good one,what else has it addressed,yours,Marty. :scotland:

Gaza07

Hi Marty this release seems to be a big one as in the gps now works with out the fix for ublox modules, and the telemetry now works through any com port, I have connected to the gui on my pc and the android version on my phone with the blue tooth dongle connected to com 3 on the flight controller,
this has to be a huge step forwards for multi wii  :bravo:
[url="https://www.youtube.com/channel/UCN6zN99iLCIJea5FCQPKf_g"]YouTube[/url]   [url="https://www.printing-3d.co.uk"]printing-3d[/url]  [url="https://www.thingiverse.com/Gaza07/about"]Thingiverse[/url]  [url="https://www.3d-printworx.co.uk"]3d-printworx[/url]

teslahed

I';ve just been out testing the new release with GPS position hold and return to home. Position hold worked to the nearest 4 meters (or there abouts) and return to home worked the first time i tested it and had to be aborted on the second attempt when it looked like some trees where going to get in the way.

When the weather is better i will have to do some more testing. This is with the old rctimer u-Blox V1 GPS so people with newer hardware may get better results.
One circlip short of a quadcopter.
 1 lobe short of an antenna.

secretman


teslahed

I will have to try it again at 115200. I was running it at 57600 same as before.
One circlip short of a quadcopter.
 1 lobe short of an antenna.

neagron

Thank you all for your replies,this is good news,multiwii is going forward,Marty. :scotland: :scotland:

teslahed

#10
I';ve reuploaded the new code only with the GPS set to the higher speed;

#define GPS_BAUD   115200

and my ublox V1 GPS seems to be working fine. It';s detected 3 satellites after about 5 mins just sat on my bed inside where the GPS reception is quite poor. I haven';t been able to test it outside because the weather is too bad.

Edit - 10 mins in and I';m up to 5 satellites!
One circlip short of a quadcopter.
 1 lobe short of an antenna.

neagron

Thats good Chris,ile send you my Nav position,and you can fly me up a nice pint of John Smith';s bitter please,lol Marty, :scotland:

Gaza07

Thats good news then as the original fix only pushed the gps to 57600  ~~

Quote from: teslahed on Friday,November 02, 2012, 11:06:37
I';ve reuploaded the new code only with the GPS set to the higher speed;

#define GPS_BAUD   115200

and my ublox V1 GPS seems to be working fine. It';s detected 3 satellites after about 5 mins just sat on my bed inside where the GPS reception is quite poor. I haven';t been able to test it outside because the weather is too bad.

Edit - 10 mins in and I';m up to 5 satellites!
[url="https://www.youtube.com/channel/UCN6zN99iLCIJea5FCQPKf_g"]YouTube[/url]   [url="https://www.printing-3d.co.uk"]printing-3d[/url]  [url="https://www.thingiverse.com/Gaza07/about"]Thingiverse[/url]  [url="https://www.3d-printworx.co.uk"]3d-printworx[/url]

secretman


marckatzenmaier

if i understand this correct, this is a new(er) version of multiwii, so i can replace this with my old version? and that the gps baudrate (from my rctimer gps v2) now doesn';t have to be changed ?
dynam hawksky, Ripmax MX2 v3, Stm FW190, F16profile EDF, HK parkjet, ASK21, bixler 2, blade MQX, quad SM450v2 multiwii, spider quad apm, wltoys v272

Gaza07

Hi Marc this is a beta test version and not a final release so your probably better off sticking with the release version you currently have, as the new version could have some nasty bugs,
Also the gps settings mentioned above are for serial gps users yours is a I2c gps and is setup differently,
The again if you really want to have a play with the beta firmware there is no reason you shouldn';t other than just being a bit cautious  ~~
[url="https://www.youtube.com/channel/UCN6zN99iLCIJea5FCQPKf_g"]YouTube[/url]   [url="https://www.printing-3d.co.uk"]printing-3d[/url]  [url="https://www.thingiverse.com/Gaza07/about"]Thingiverse[/url]  [url="https://www.3d-printworx.co.uk"]3d-printworx[/url]

marckatzenmaier

dynam hawksky, Ripmax MX2 v3, Stm FW190, F16profile EDF, HK parkjet, ASK21, bixler 2, blade MQX, quad SM450v2 multiwii, spider quad apm, wltoys v272

teslahed

I';ve just been out testing the latest code with GPS - it was quite windy but it was holding to the nearest 4 meters and return to home was working impressively well.

The barometer seems to be working very well also.

I need to do some more testing and get my quadcopter flying a bit better but at the moment I';m pretty pleased.
One circlip short of a quadcopter.
 1 lobe short of an antenna.

teslahed

I got a video of me testing the GPS with the new code;

http://youtu.be/GJlIqdb7mak

Seems to work pretty well.
One circlip short of a quadcopter.
 1 lobe short of an antenna.

Gaza07

A very nice test flight there Chris very stable and the position hold looks good,the altitude hold works fine to even at the lower height, very well done you got to be pleased with those results  :bravo:
[url="https://www.youtube.com/channel/UCN6zN99iLCIJea5FCQPKf_g"]YouTube[/url]   [url="https://www.printing-3d.co.uk"]printing-3d[/url]  [url="https://www.thingiverse.com/Gaza07/about"]Thingiverse[/url]  [url="https://www.3d-printworx.co.uk"]3d-printworx[/url]