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

Wednesday,January 22, 2020, 10:22:36

Login with username, password and session length


Rares Gosav:
17 Jan 2020 17:44:22
Hi guys and happy new year!!!
01 Jan 2020 00:12:50
Happy new year everyone, happy flying.  :beer2: :beer2:
31 Dec 2019 17:06:13
Happy new year all hope 2020 is a cracking year for you  :beer2:
25 Dec 2019 00:00:49
Happy Christmas to everyone.
24 Dec 2019 13:50:56
Seasons greetings to all on this forum have a good one ;)
21 Dec 2019 17:58:42
Have a great time DB. Look forward your projects in 2020.  :beer2:
21 Dec 2019 16:59:17
Have a good one D.B. ~~ :beer2: :beer2: :beer2:
21 Dec 2019 16:14:27
21 Dec 2019 16:13:44
Tbh I've been really busy, not had much time to fly anything and with conditions being crap, hopefully in the new year I'll have some new projects on the go, mostly to do with HAM radio, will certainly fly again soon. FTR I hate FB too   :D Merry Christmas
21 Dec 2019 15:21:30
Merry Christmas  :beer2:
  • Total Posts: 197474
  • Total Topics: 19926
  • Online Today: 37
  • Online Ever: 530
  • (Tuesday,June 26, 2012, 08:34:46 )
Users Online
Users: 1
Guests: 20
Total: 21

Theme Changer


3d - Printworx

Printing 3d Forum

ACC problem with crius aiop v2 and MPNG

Started by shattera, Thursday,March 03, 2016, 09:07:50

Previous topic - Next topic


i have the following problem with my hexacopter.
iam using a crius all in one pro v2 board with MPNG version 3.1.5 R2 and mission planner 1.33.5 with spektrum dx6 FC

When i arm the motors , my copter directly tips over in 45°.

After clearing eeprom and making factory resets (several times !) my g and a offsets are all set to 0.00 ( which is optimal i guess).
After flashing my sketch to the board with Arduino 1.0.3 IDE and entering the terminal->test>ins command i get the following result :

a -0.2523 -0.0739 [b]-9.8018[/b] , g 0.0001 0.0011 0.0011, t 0.9988

my sketch looks like :
Quote// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-

// User specific config file.  Any items listed in config.h can be overridden here.

// Select Megapirate board type:
  RCTIMER_CRIUS_V2    -- (DEFAULT!!!) Use ONLY for RCTimer CRIUS V2 board
  CRIUS_V1            -- RCTimer CRIUS V1(1.1) board and all HobbyKing AIOP boards
  HK_RED_MULTIWII_PRO -- HobbyKing MultiWii Pro RED board with ITG3205 and BMA180, BMP085 sensors
  MULTIWII_PRO_EZ3_BLACK  -- ReadyToFlyQuads - MultiWii PRO Ez3.0 Blacked MAG Editon Flight Controller w/ GPS Option (NO COMPASS)
  PARIS_V5_OSD            -- PARIS v5 Mega iOSD - http://www.multiwiicopter.com/products/multiwii-paris-v5-mega-iosd-gps-autopilot

// GPS port speed (Serial2) 38400 by default
#define SERIAL2_BAUD 38400

// GPS driver selection
   GPS_PROTOCOL_AUTO   (Default)

// QuadCopter selected by default
*  options:

// uncomment the lines below to save on flash space if compiling for the APM using Arduino IDE.  Top items save the most flash space
//#define CLI_ENABLED           DISABLED            // disable the CLI (command-line-interface) to save 21K of flash space
//#define LOGGING_ENABLED       DISABLED            // disable dataflash logging to save 11K of flash space
#define GPS_PROTOCOL          GPS_PROTOCOL_UBLOX  // hard code GPS to Ublox to save 8k of flash
//#define GPS_PROTOCOL          GPS_PROTOCOL_MTK19  // hard cdoe GPS to Mediatek to save 10k of flash
#define MOUNT                 DISABLED            // disable the camera gimbal to save 8K of flash space
//#define AUTOTUNE              DISABLED            // disable the auto tune functionality to save 7k of flash
#define OPTFLOW               DISABLED            // disable optical flow sensor to save 5K of flash space
#define AC_FENCE              DISABLED            // disable fence to save 2k of flash
#define CAMERA                DISABLED            // disable camera trigger to save 1k of flash
//#define COPTER_LEDS           DISABLED            // disable external navigation leds to save 1k of flash
#define CONFIG_SONAR          DISABLED            // disable sonar to save 1k of flash

// features below are disabled by default
//#define SPRAYER               ENABLED             // enable the crop sprayer feature (two ESC controlled pumps the speed of which depends upon the vehicle';s horizontal velocity)

// redefine size of throttle deadband in pwm (0 ~ 1000)
//#define THROTTLE_IN_DEADBAND   100

//#define HIL_MODE              HIL_MODE_SENSORS    // build for hardware-in-the-loop simulation

// If Arduino IDE hang while uploading firmware to your board, try to change string below, just enter some random characters
#define BOOTLOADER_BUGFIX "123fs12357"

// User Hooks : For User Developed code that you wish to run 
// Put your variable definitions into the UserVariables.h file (or another file name and then change the #define below).
//#define USERHOOK_VARIABLES "UserVariables.h"
// Put your custom code into the UserCode.pde with function names matching those listed below and ensure the appropriate #define below is uncommented below
//#define USERHOOK_INIT userhook_init();                    // for code to be run once at startup
//#define USERHOOK_FASTLOOP userhook_FastLoop();            // for code to be run at 100hz
//#define USERHOOK_50HZLOOP userhook_50Hz();                // for code to be run at 50hz
//#define USERHOOK_MEDIUMLOOP userhook_MediumLoop();        // for code to be run at 10hz
//#define USERHOOK_SLOWLOOP userhook_SlowLoop();            // for code to be run at 3.3hz
//#define USERHOOK_SUPERSLOWLOOP userhook_SuperSlowLoop();  // for code to be run at 1hz

i also changed RCINPUT_mpng.cpp , using pwm a8-15 and copied the spektrum channel input into standard input which works fine.
the basic function also works because when i tip the copter the correct motors start/increase rpm.

i have no clue how to fix that , please help


Have you checked your props are on correctly
And motors spinning the right way and
Conected the servo wires from the esc to flight control in the right positions eny of these things can tip the multi over on start up . If the motors spine when armed.