Hi, I'm Spanish, I have a problem and I'm going crazy. I do not see that happening.
My quadricopter is built with an Arduino Pro Mini, and wmp sensors use the original and the original Nunchuk.
The first thing I press the button calibration, quadricopter this on a table level surface, the problem:
1 - I move the right quadricopter
2 - In the GUI the quadricopter bends correctly.
3 - Without moving the quadricopter in the image of the GUI returns to the position stabilized
4 - I move the quadricopter to the starting position (on a stable table and horizontal) and the GUI image is tilted to the left ... and returns to the position stabilized.
Why return to the stable position if I keep the quadricopter inclined?
Does anyone know if a configuration problem or broken sensor?
Maybe not well setup options in config.h
Video of the problem: http://youtu.be/3JErz73XI0g
Thanks for any help
Sensor or code problem??
Re: Sensor or code problem??
Hi!
can you please attach the config.h ? i will have a look at it.
Greetings from Germany
Daniel
EDIT:
Is your WMP + Nunchuck connected directly to 5Volt? And are the internal pullups defined? What Version of MultiWii are you using?
can you please attach the config.h ? i will have a look at it.
Greetings from Germany
Daniel
EDIT:
Is your WMP + Nunchuck connected directly to 5Volt? And are the internal pullups defined? What Version of MultiWii are you using?
Re: Sensor or code problem??
pachucho1024 wrote:
Why return to the stable position if I keep the quadricopter inclined?
Does anyone know if a configuration problem or broken sensor?
this is typical symptom if one or more of your sensors have wrong orientation.
Please read FAQ on how to setup correct sensor orientation. (internal interpretation of sensor orientation was changed from v1.9 to v2.0; so you must reconfigure)
-
- Posts: 16
- Joined: Wed Mar 14, 2012 5:16 pm
Re: Sensor or code problem??
Hello Loosi ,
I am now using 2.0 multiwii
wmp and Nunchuk are connected to 5 V.
I know nothing about "internal pullups"
config.h complete:
https://docs.google.com/document/d/1_tf ... IONjw/edit
thanks for help.
I am now using 2.0 multiwii
wmp and Nunchuk are connected to 5 V.
I know nothing about "internal pullups"
config.h complete:
https://docs.google.com/document/d/1_tf ... IONjw/edit
thanks for help.
Last edited by pachucho1024 on Mon Apr 02, 2012 7:31 pm, edited 1 time in total.
-
- Posts: 16
- Joined: Wed Mar 14, 2012 5:16 pm
Re: Sensor or code problem??
hi Hamburger,
This is the orientation of my sensors:
http://radio-commande.com/wp-content/up ... iring1.jpg
I do not understand I have to change with the following information:
MAG_ROLL, ACC_ROLL and GYRO_ROLL goes up
MAG_Z and ACC_Z goes down
TILT the MULTI forward (tail up):
MAG_PITCH, ACC_PITCH and GYRO_PITCH goes up
MAG_Z and ACC_Z goes down
Rotating the copter clockwise (YAW):
GYRO_YAW goes up
The copter stays level:
MAG_Z is positive ; ACC_Z is positive
This hard that it flies .....
Hamburger thanks!
This is the orientation of my sensors:
http://radio-commande.com/wp-content/up ... iring1.jpg
I do not understand I have to change with the following information:
MAG_ROLL, ACC_ROLL and GYRO_ROLL goes up
MAG_Z and ACC_Z goes down
TILT the MULTI forward (tail up):
MAG_PITCH, ACC_PITCH and GYRO_PITCH goes up
MAG_Z and ACC_Z goes down
Rotating the copter clockwise (YAW):
GYRO_YAW goes up
The copter stays level:
MAG_Z is positive ; ACC_Z is positive
This hard that it flies .....
Hamburger thanks!
Re: Sensor or code problem??
If you use WMP + NUNCHACK ...
Comment this line.
The NUNCHACK will work automaticly together with WMP.
Your setup should work without any changes in the original Config.h
You can test to create a new config with the Online configurator.
http://panoramaic.se/configurator/
Comment this line.
Code: Select all
#define NUNCHACK // if you want to use the nunckuk as a standalone I2C ACC without WMP
The NUNCHACK will work automaticly together with WMP.
Your setup should work without any changes in the original Config.h
You can test to create a new config with the Online configurator.
http://panoramaic.se/configurator/
-
- Posts: 16
- Joined: Wed Mar 14, 2012 5:16 pm
Re: Sensor or code problem??
noooooo ....... oooooooooooo PatrikE I'll marry you!
Also going to help me with this? .......... thanks
I will try and inform you
Also going to help me with this? .......... thanks
I will try and inform you
-
- Posts: 16
- Joined: Wed Mar 14, 2012 5:16 pm
Re: Sensor or code problem??
PatrikE wrote:If you use WMP + NUNCHACK ...
Comment this line.Code: Select all
#define NUNCHACK // if you want to use the nunckuk as a standalone I2C ACC without WMP
The NUNCHACK will work automaticly together with WMP.
Your setup should work without any changes in the original Config.h
You can test to create a new config with the Online configurator.
http://panoramaic.se/configurator/
the problem solved when the quadricopter inclined, the position in the GUI (drawing quadricopter) is now correct.
Thanks patrice,
I'm uploading another video of another error .... I begin to believe that it will never fly .... (The quadricopter is crazy)
-
- Posts: 16
- Joined: Wed Mar 14, 2012 5:16 pm
Re: Sensor or code problem??
... Now I think maybe my problem has always been the vibration ... When I put the finger on notice much vibration sensors, though not enough to know if the quadricopter trot like a horse
http://www.youtube.com/watch?v=y101rGyzTaQ --> video vibration
What do you think?
---------------------------------- more information --------------------------------------
disastrous video, acrobatic mode: http://www.youtube.com/watch?v=OYOm57AHIk4 --> video horse trot
terriblle video, stable mode: http://www.youtube.com/watch?v=HPGGFWLrtMc --> horse and GUI
-----------------
I looked up the word 'vibration' in this forum, but have not found much. I have read that people use foam to wrap the sensors ... a picture would help me a lot, keep looking.
I subject the sensors with screws to the base of quadricopter. Any advice?
---------------------------------- further information ----------------------------------------------------------------
config.h complete:
https://docs.google.com/document/d/1_tf ... IONjw/edit
I only comented the line:
"#define NUNCHACK // if you want to use the nunckuk..." (thanks PatrikE)
------------
This is the orientation of my sensors:
http://radio-commande.com/wp-content/up ... iring1.jpg
-------------------------
I am now using 2.0 multiwii with arduino pro mini
wmp original and Nunchuk original are connected to 5 V. (pin 12)
----------------------------
Issuer acrobatic mode (not in helicopter mode).
--------------------------------------------------
my scheme:
http://radio-commande.com/wp-content/up ... /quadX.jpg
Thanks people !
http://www.youtube.com/watch?v=y101rGyzTaQ --> video vibration
What do you think?
---------------------------------- more information --------------------------------------
disastrous video, acrobatic mode: http://www.youtube.com/watch?v=OYOm57AHIk4 --> video horse trot
terriblle video, stable mode: http://www.youtube.com/watch?v=HPGGFWLrtMc --> horse and GUI
-----------------
I looked up the word 'vibration' in this forum, but have not found much. I have read that people use foam to wrap the sensors ... a picture would help me a lot, keep looking.
I subject the sensors with screws to the base of quadricopter. Any advice?
---------------------------------- further information ----------------------------------------------------------------
config.h complete:
https://docs.google.com/document/d/1_tf ... IONjw/edit
I only comented the line:
"#define NUNCHACK // if you want to use the nunckuk..." (thanks PatrikE)
------------
This is the orientation of my sensors:
http://radio-commande.com/wp-content/up ... iring1.jpg
-------------------------
I am now using 2.0 multiwii with arduino pro mini
wmp original and Nunchuk original are connected to 5 V. (pin 12)
----------------------------
Issuer acrobatic mode (not in helicopter mode).
--------------------------------------------------
my scheme:
http://radio-commande.com/wp-content/up ... /quadX.jpg
Thanks people !