Search found 172 matches
- Sun Jul 07, 2013 8:26 pm
- Forum: Software development
- Topic: NOTICE: Trunk has been migrated to .cpp/.h files
- Replies: 64
- Views: 26624
Re: NOTICE: Trunk has been migrated to .cpp/.h files
This is the way forward, and will lead to higher quality code (hopefully) and better separation of functions/drivers/etc. The original .ino mess of 100s of global variables, etc was not helping proper development at all. Ok thanks. The longer variable and function names look much more cluttered to ...
- Sun Jul 07, 2013 1:36 am
- Forum: Shields, boards and sensors
- Topic: Mega Nintendo sensors default orientation?
- Replies: 5
- Views: 1779
- Sun Jul 07, 2013 1:35 am
- Forum: Shields, boards and sensors
- Topic: How to know if sensor Z axis is correct direction?
- Replies: 10
- Views: 2487
- Sun Jul 07, 2013 1:25 am
- Forum: Software development
- Topic: MultiWii 2.2 is released
- Replies: 84
- Views: 61290
Re: MultiWii 2.2 is released
Thanks Alex. Got it working following your advice. Turns out the problem was that I wasn't calibrating the gyro. The graph moved so little and so fast when calibrating the gyro that I didn't notice it, like I could for the accel. Now that I know what to look for, all is well. Thanks again. ---------...
- Sat Jul 06, 2013 11:51 pm
- Forum: Software development
- Topic: NOTICE: Trunk has been migrated to .cpp/.h files
- Replies: 64
- Views: 26624
Re: NOTICE: Trunk has been migrated to .cpp/.h files
Is this the way MultiWii is headed or is this just a custom offshoot for those that want it?
Curious because as an artist and not a programmer I may not be able to do much with (.cpp) files like I can with (.ino) files.
Curious because as an artist and not a programmer I may not be able to do much with (.cpp) files like I can with (.ino) files.
- Sat Jul 06, 2013 10:32 pm
- Forum: Software development
- Topic: MultiWii 2.2 is released
- Replies: 84
- Views: 61290
Re: MultiWii 2.2 is released
P What you observed is described in length at top of config.h in note 1 Can you please explain to me how this works. I assume you are referring to the note... /* Notes: * 1. parameters marked with (*) in the comment are stored in eeprom and can be tweaked via serial monitor or LCD. * Changing those...
- Fri Jul 05, 2013 7:57 pm
- Forum: Shields, boards and sensors
- Topic: How to know if sensor Z axis is correct direction?
- Replies: 10
- Views: 2487
Re: How to know if sensor Z axis is correct direction?
Looks like my z axis is responding in the correct direction. Now if only I could get the roll and pitch sensors to respond correctly. As for the images you linked to. Those are the same ones I used to set up the sensors with 1.7 code that works fine. Still can't get roll and pitch to work correctly ...
- Fri Jul 05, 2013 7:54 pm
- Forum: Shields, boards and sensors
- Topic: How to know if sensor Z axis is correct direction?
- Replies: 10
- Views: 2487
Re: How to know if sensor Z axis is correct direction?
Looks like my z axis is responding in the correct direction. Now if only I could get the roll and pitch sensors to respond correctly.
- Fri Jul 05, 2013 7:54 pm
- Forum: Shields, boards and sensors
- Topic: How to know if sensor Z axis is correct direction?
- Replies: 10
- Views: 2487
Re: How to know if sensor Z axis is correct direction?
Looks like my z axis is responding in the correct direction. Now if only I could get the roll and pitch sensors to respond correctly.
- Fri Jul 05, 2013 7:17 pm
- Forum: Getting Started - MultiWii config and setup
- Topic: (2.2) new fields in GUI?
- Replies: 1
- Views: 917
Re: (2.2) new fields in GUI?
Anyone know what these fields do and how to adjust them?
- Fri Jul 05, 2013 6:58 pm
- Forum: Shields, boards and sensors
- Topic: Mega Nintendo sensors default orientation?
- Replies: 5
- Views: 1779
Re: Mega Nintendo sensors default orientation?
Anyone out there using an Arduino Mega with the Nintendo WMP/Nunchuck gyro and accel sensors, that would be kind enough to zip up and post your code so I can see what defines or other changes you may have made? There appears to be something wrong with (2.2) that is preventing a Mega with Nintendo se...
- Fri Jul 05, 2013 2:25 am
- Forum: Shields, boards and sensors
- Topic: How to know if sensor Z axis is correct direction?
- Replies: 10
- Views: 2487
Re: How to know if sensor Z axis is correct direction?
Thanks. Just what I needed to know.
For others...
The copter stays level:
•MAG_Z is positive ; ACC_Z is positive
For others...
The copter stays level:
•MAG_Z is positive ; ACC_Z is positive
- Fri Jul 05, 2013 12:42 am
- Forum: Shields, boards and sensors
- Topic: How to know if sensor Z axis is correct direction?
- Replies: 10
- Views: 2487
Re: How to know if sensor Z axis is correct direction?
The Numchuk do not have a Z axis, at lease not the ones I have owned. As for the Gyro, that is in the Wiki. On second thought, there appears to be some kind of Z accel axis. There's a Z accel axis in the GUI and you can see its blue line in the GUI graph move as you move the copter up and down. The...
- Fri Jul 05, 2013 12:42 am
- Forum: Shields, boards and sensors
- Topic: How to know if sensor Z axis is correct direction?
- Replies: 10
- Views: 2487
Re: How to know if sensor Z axis is correct direction?
The Numchuk do not have a Z axis, at lease not the ones I have owned. As for the Gyro, that is in the Wiki. On second thought, they seams to have some kind of Z axis. There's a Z accel azis in the GUI and you can see it's blue line in the GUI graph move as you move the copter up and down. There is ...
- Thu Jul 04, 2013 11:28 pm
- Forum: Shields, boards and sensors
- Topic: Mega Nintendo sensors default orientation?
- Replies: 5
- Views: 1779
Re: Mega Nintendo sensors default orientation?
Got the GUI pitch and roll indicators to respond in the correct direction by changing the sign in (sensor.ino) below... gyroADC[ROLL] = ( ((rawADC[5]>>2)<<8) | rawADC[2] ); //range: +/- 8192 gyroADC[PITCH] = ( ((rawADC[4]>>2)<<8) | rawADC[1] ); gyroADC[YAW] = - ( ((rawADC[3]>>2)<<8) | rawADC[0] ); B...
- Thu Jul 04, 2013 10:34 pm
- Forum: Shields, boards and sensors
- Topic: Mega Nintendo sensors default orientation?
- Replies: 5
- Views: 1779
Re: Mega Nintendo sensors default orientation?
I have tried all possible combinations of changing the sign for roll and pitch and I see no change in the GUI. // #define FORCE_ACC_ORIENTATION(X, Y, Z) {accADC[ROLL] = Y; accADC[PITCH] = -X; accADC[YAW] = Z;} // #define FORCE_GYRO_ORIENTATION(X, Y, Z) {gyroADC[ROLL] = -Y; gyroADC[PITCH] = X; gyroAD...
- Thu Jul 04, 2013 10:33 pm
- Forum: Shields, boards and sensors
- Topic: Mega Nintendo sensors default orientation?
- Replies: 5
- Views: 1779
Re: Mega Nintendo sensors default orientation?
I have tried all possible combinations of changing the sign for roll and pitch and I see no change in the GUI. // #define FORCE_ACC_ORIENTATION(X, Y, Z) {accADC[ROLL] = Y; accADC[PITCH] = -X; accADC[YAW] = Z;} // #define FORCE_GYRO_ORIENTATION(X, Y, Z) {gyroADC[ROLL] = -Y; gyroADC[PITCH] = X; gyroAD...
- Thu Jul 04, 2013 8:47 pm
- Forum: Getting Started - MultiWii config and setup
- Topic: (2.2) new fields in GUI?
- Replies: 1
- Views: 917
(2.2) new fields in GUI?
I am familiar with (1.7) Is there documentation on what the fields in the 2.2 GUI do? The GUI shown on the MultiWii website looks outdated from (1.7). "ALT" is only for Baro altitude hold? "Pos" is only for GPS? "PosR" is only for GPS? "NavR" is only for GPS? ...
- Thu Jul 04, 2013 8:24 pm
- Forum: Shields, boards and sensors
- Topic: Mega Nintendo sensors default orientation?
- Replies: 5
- Views: 1779
Mega Nintendo sensors default orientation?
What is the default orientation for the Mega using Nintendo WMP gyros? I tried changing the signs for (#define FORCE_GYRO_ORIENTATION) and (#define FORCE_ACC_ORIENTATION) but I get the same response from the Roll and Pitch indicator in the GUI. When I tilt the aircraft the roll and pitch move in the...
- Thu Jul 04, 2013 8:12 pm
- Forum: Shields, boards and sensors
- Topic: How to know if sensor Z axis is correct direction?
- Replies: 10
- Views: 2487
Re: How to know if sensor Z axis is correct direction?
Ok thanks. Where is the wiki? I don't see a link to it from the multiwii.com FAQ page.
If you mean this wiki, there is very little info at the below link...
http://www.multiwii.com/wiki/index.php?title=Main_Page
If you mean this wiki, there is very little info at the below link...
http://www.multiwii.com/wiki/index.php?title=Main_Page
- Thu Jul 04, 2013 7:43 pm
- Forum: Shields, boards and sensors
- Topic: How to know if sensor Z axis is correct direction?
- Replies: 10
- Views: 2487
How to know if sensor Z axis is correct direction?
I have a Nintendo gyro and accel on my Mega board. How do we know if the Z gyro and Z accel are facing the correct direction in the code? It's obvious when the Roll and Pitch axis for the gyros and accels are not correct since you can see the angle indicator in the GUI drift back to level when holdi...
- Wed Jul 03, 2013 1:54 am
- Forum: Getting Started - MultiWii config and setup
- Topic: Mega Bi copter need new motor pin.
- Replies: 6
- Views: 1984
Re: Mega Bi copter need new motor pin.
Got two servos and two motors working again by adding a servo to the tricopter. From def.h #elif defined(TRI) #define NUMBER_MOTOR 3 #define PRI_SERVO_FROM 1 #define PRI_SERVO_TO 2 From output.ino #ifdef TRI // motor[0] = PIDMIX( 0,+4/3, 0); //REAR Mega 3 motor[1] = PIDMIX(-1,-2/3, 0); //RIGHT Mega...
- Wed Jul 03, 2013 12:35 am
- Forum: Getting Started - MultiWii config and setup
- Topic: Mega Bi copter need new motor pin.
- Replies: 6
- Views: 1984
Re: Mega Bi copter need new motor pin.
Tried this, and a bunch of other combinations, to try and add a servo to a tricopter and still no luck getting the extra servo to work. Seams to be incredibly difficult to make a seemingly simple change. From def.h #elif defined(TRI) #define NUMBER_MOTOR 3 #define PRI_SERVO_FROM 6 // use servo 6 #de...
- Tue Jul 02, 2013 5:14 am
- Forum: Getting Started - MultiWii config and setup
- Topic: Mega Bi copter need new motor pin.
- Replies: 6
- Views: 1984
Re: Mega Bi copter need new motor pin.
Thanks. Been using combinations of that all day with no luck. At least we seam to be in the same neighborhood with the code parts we are looking at so I'll keep trying. The last one I tried was this below and still doesn't work. The right servo responds but the left one doesn't. From (def.h)... #eli...
- Tue Jul 02, 2013 1:14 am
- Forum: Getting Started - MultiWii config and setup
- Topic: Mega Bi copter need new motor pin.
- Replies: 6
- Views: 1984
Re: Mega Bi copter need new motor pin.
Extremely sure. It was working at the beginning of my (1.7) testing, then it stopped working after one of the flights. I then had to change that motors pin to 7 to finish my (1.7) testing. I have tried several times with 1.7 and 2.2 to get pin 3 working with fresh code and it won't work. Can't be mu...
- Tue Jul 02, 2013 12:21 am
- Forum: Getting Started - MultiWii config and setup
- Topic: Mega Bi copter need new motor pin.
- Replies: 6
- Views: 1984
Mega Bi copter need new motor pin.
I'm using an arduino Mega that has a faulty 3 pin so I need to get a motor working on another pin. Is there a way to use the quadX with two servos? I don't want to mess with any special camtrig or camtilt code. I just need two regular servos like the bicopter has. Or is there a way to add more motor...
- Fri Jun 21, 2013 8:00 pm
- Forum: Shields, boards and sensors
- Topic: Mega- WMP/Nunchuck defines?
- Replies: 4
- Views: 1340
Re: Mega- WMP/Nunchuck defines?
Sounds great. Thank you.
- Fri Jun 21, 2013 5:45 am
- Forum: Shields, boards and sensors
- Topic: Mega- WMP/Nunchuck defines?
- Replies: 4
- Views: 1340
Re: Mega- WMP/Nunchuck defines?
That MPU-6050 board looks great copterrichie. Amazing what they can pack to the chip not to mention the cost.
Should I use external pull ups with this one? If so, how do I do that. Been using internal pull ups so far which I understand isn't the best method.
Thanks again for the info.
Should I use external pull ups with this one? If so, how do I do that. Been using internal pull ups so far which I understand isn't the best method.
Thanks again for the info.
- Fri Jun 21, 2013 3:06 am
- Forum: Shields, boards and sensors
- Topic: Mega- WMP/Nunchuck defines?
- Replies: 4
- Views: 1340
Mega- WMP/Nunchuck defines?
I'm using Arduino Mega 2560 with Nintendo WMP/Nunchuck sensors and internal pull ups. Also using MultiWii 2.2 1)Do I need both (#define WMP ) and (#define NUNCHUCK) uncommented for a Nintendo WMP+Nunchuck sensor combo to work? 2)If I don't want to enforce a sensor orientation do I have to uncomment ...
- Sun Mar 31, 2013 11:36 am
- Forum: Software
- Topic: Gyros- Gimbal Lock
- Replies: 7
- Views: 3417
Re: Gyros- Gimbal Lock
Very nice. So did anyone every get around to implementing this for multiwii 2.1 or 2.2? This stuff is way over my head to implement or I would gladly have done it.JBear wrote:There is an open source IMU algorithm using quartenions available that has been used for Multirotors...
- Sun Mar 31, 2013 11:17 am
- Forum: Software development
- Topic: Simple Arming range tweak.
- Replies: 2
- Views: 1128
Re: Simple Arming range tweak.
Thanks for posting a fix. I had the same problem using that TX with (1.7) code and was able to easily fix it. I'm having a lot of trouble understanding (2.1) and above code though. Not to get too off topic, but what does (f.armed) mean? The (armed) or (disarmed) in 1.7 code is easy enough for me to ...
- Sun Mar 17, 2013 11:25 pm
- Forum: Software development
- Topic: MultiWii roadmap for 2.3
- Replies: 62
- Views: 21686
Re: MultiWii roadmap for 2.3
Hi, When I say compatibility with Arduino IDE must be maintained, it is especially because it's one of the easiest way to customize config and inject code in an Arduino from a zip sketch. So the principle Arduino IDE+zip+customize config.h+upload via USB will not change. I strongly thing it's one t...
- Wed Mar 13, 2013 6:44 pm
- Forum: Shields, boards and sensors
- Topic: Magnetometer
- Replies: 6
- Views: 2497
Re: Magnetometer
Thanks. Your right. All the advances and the movement away from standard arduino sintax make the code a little more difficult for this non-coder to read but I'll keep trying
- Wed Mar 13, 2013 8:28 am
- Forum: Shields, boards and sensors
- Topic: Increase (1.7) magnetometer resolution?
- Replies: 1
- Views: 676
Re: Increase (1.7) magnetometer resolution?
Looks like the mag math is done with integers instead of floats when I printed out "dif" to the serial window.
I'm not great with math so maybe someone can help me convert the mag angle calculation to floats?
Or does the mag have better resolution if I use (2.2) code ?
I'm not great with math so maybe someone can help me convert the mag angle calculation to floats?
Or does the mag have better resolution if I use (2.2) code ?
- Wed Mar 13, 2013 4:47 am
- Forum: Shields, boards and sensors
- Topic: Increase (1.7) magnetometer resolution?
- Replies: 1
- Views: 676
Increase (1.7) magnetometer resolution?
Hi, My mag works but moves the servo very stepped. Doesn't seam to have enough resolution with the way I scaled it up. I just tried the old DIY drones HMC5843 magnetometer with MultiWii (1.7) on an Arduino Nano. It appears to be working great as far as holding the heading but the movement resolution...
- Tue Mar 12, 2013 12:32 am
- Forum: Software development
- Topic: MultiWii roadmap for 2.3
- Replies: 62
- Views: 21686
Re: MultiWii roadmap for 2.3
You can check the code from kapteinkuk for YAW. Can you translate his evil Assembly code into something that looks a little more like MultiWii so I can read it? I recall a post from the KK developer where he said he looked at MultiWii code after he was impressed with how much more stable it was tha...
- Mon Mar 11, 2013 11:54 pm
- Forum: Software development
- Topic: MultiWii roadmap for 2.3
- Replies: 62
- Views: 21686
Re: MultiWii roadmap for 2.3
My personal view of what is mandatory for 2.3 : - refactor the YAW PID to have a KK yaw style feeling. -Keeping a compatibility with Arduino IDE is mandatory. I agree with this. I would add that keeping as much compatibility with existing arduino boards would be helpful also. Namely the ProMini and...
- Mon Mar 11, 2013 8:31 pm
- Forum: Shields, boards and sensors
- Topic: Magnetometer
- Replies: 6
- Views: 2497
Re: Magnetometer
scrat wrote:Time frame for calibrating MAG is 30sec.
Great. Thanks.
Scrat also told me we only have to calibrate it once like an accelerometer. You don't have to do it before ever flight.
- Sun Mar 10, 2013 8:25 pm
- Forum: Shields, boards and sensors
- Topic: Magnetometer
- Replies: 6
- Views: 2497
Re: Magnetometer
I would also like to know the answer to this. My understanding is the same as you. Click the "calibrate" button then rotate the aircraft around each of its axis a couple times. But I'm not sure how many times to rotate the aircraft and if it has to then sit on the ground motionless for a w...
- Sun Mar 10, 2013 7:56 pm
- Forum: Ideas
- Topic: wishlist for v2.3
- Replies: 104
- Views: 43608
Re: wishlist for v2.3
Servo stretching past 90 degrees. 180 would be nice but a minimum of 130 degrees.
- Sun Mar 10, 2013 7:40 pm
- Forum: Software development
- Topic: VTOL Plane like V22 Osprey
- Replies: 21
- Views: 6307
Re: VTOL Plane like V22 Osprey
A low KV like 900 will be good for static thrust to lift your copter but it won't make you go very fast once you start to fly forward on the wing. It'll be like a car stuck in second gear. Plenty of power for vertical takoff like going up a hill but not much on speed like going down a flat, straight...
- Sun Mar 10, 2013 7:31 pm
- Forum: Software development
- Topic: VTOL Plane like V22 Osprey
- Replies: 21
- Views: 6307
Re: VTOL Plane like V22 Osprey
Ups, only 530 grams ! I'm planing with around 1200 grams. Currently checking the motorsetup. Luks like to use 2 T-Motor MT2216 900kv with 30A ESC and two 3S2200. I hope to have enough thrust in hover mode with a additioal servo to rotate the pod's. Coding on latest MW version is in progress. Your w...
- Sun Mar 10, 2013 2:00 am
- Forum: Software development
- Topic: VTOL Plane like V22 Osprey
- Replies: 21
- Views: 6307
Re: VTOL Plane like V22 Osprey
Will your props have cyclic helicopter controls? Currently no, but later yes. The first version is to train the pilot A bigger second V22 is planed with it. Cool. A fixed pitch foamy version should make a good trainer and does repair much easier than a collective one I want to go collective eventua...
- Sat Mar 09, 2013 8:05 pm
- Forum: Software development
- Topic: VTOL Plane like V22 Osprey
- Replies: 21
- Views: 6307
Re: VTOL Plane like V22 Osprey
...it depends upon the lengths of the Servo and Control horns if that is what is being used. If a direct drive system is used, that is a difference story. I use direct drive. I've tried with control horns and it's possible but they add slop, weight, binding problems when moved past 90 degrees and p...
- Sat Mar 09, 2013 5:06 am
- Forum: Software development
- Topic: VTOL Plane like V22 Osprey
- Replies: 21
- Views: 6307
Re: VTOL Plane like V22 Osprey
Will your props have cyclic helicopter controls?
If not, how will you control pitch when hovering? You will need at least 130 degrees of servo movement if you are using fixed pitch props. Hence the need for servo stretching.
If not, how will you control pitch when hovering? You will need at least 130 degrees of servo movement if you are using fixed pitch props. Hence the need for servo stretching.
- Sat Mar 09, 2013 4:32 am
- Forum: Software development
- Topic: VTOL Plane like V22 Osprey
- Replies: 21
- Views: 6307
Re: VTOL Plane like V22 Osprey
m The flaps are connected to the pods. Much lighter than using separate servos like you want to do. If you have never built a VTOL before then you will quickly find out that every gram saved gives you a longer flight time. VTOL flight time is already short enough due to how heavy the aircraft ends u...
- Thu Mar 07, 2013 8:54 pm
- Forum: Software development
- Topic: VTOL Plane like V22 Osprey
- Replies: 21
- Views: 6307
Re: VTOL Plane like V22 Osprey
Thanks.
If you like this plane then maybe a PM to ronco asking for 180 servo travel will help
My specs are...
Motors- 1300 kv (blue wonders)
ESC- HK SS 10amp
Battery- 1800 40c 3 cell or 1200 15c 3 cell.
Code- MultiWii (1.7)
PID- Roll-P =3.0, Pitch-P=5.0, Yaw-P=7.0
Level-P=3.0
If you like this plane then maybe a PM to ronco asking for 180 servo travel will help
My specs are...
Motors- 1300 kv (blue wonders)
ESC- HK SS 10amp
Battery- 1800 40c 3 cell or 1200 15c 3 cell.
Code- MultiWii (1.7)
PID- Roll-P =3.0, Pitch-P=5.0, Yaw-P=7.0
Level-P=3.0
- Wed Mar 06, 2013 9:23 am
- Forum: Software development
- Topic: VTOL Plane like V22 Osprey
- Replies: 21
- Views: 6307
Re: VTOL Plane like V22 Osprey
I did one using an arduino ProMini and modified MultiWii (1.7) code that allows the servos to tilt 180 degrees for transitions. I would like to test it with (2.1) code or above as soon as the ability to stretch the servo signal to 180 degrees gets implemented. Sounds like Ronco doesn't have time to ...
- Sun Dec 23, 2012 7:17 am
- Forum: Software development
- Topic: v2.1- Servo stretching 180 degrees?
- Replies: 48
- Views: 16634
Re: v2.1- Servo stretching 180 degrees?
Any progress on getting some servo stretching in 2.1?
I'm about finished with my 1.7 testing...
http://www.youtube.com/watch?v=DuSyEYg_WJA
I'm about finished with my 1.7 testing...
http://www.youtube.com/watch?v=DuSyEYg_WJA
- Thu Dec 06, 2012 5:04 am
- Forum: Software development
- Topic: v2.1- Servo stretching 180 degrees?
- Replies: 48
- Views: 16634
Re: v2.1- Servo stretching 180 degrees?
I'm pretty happy with the 1.7 servo stretched code as seen in the vid but would like to test with 2.1 code since I heard the "stable" mode is better in 2.1
http://www.youtube.com/watch?v=4ayU82kM ... r_embedded
http://www.youtube.com/watch?v=4ayU82kM ... r_embedded