Search found 34 matches

by sorg
Sun Jul 14, 2013 8:32 pm
Forum: Software development
Topic: Building MultiWii in Eclipse
Replies: 25
Views: 3378

Re: Building MultiWii in Eclipse

Multiwii (latest multiwii shared) does not compile if i uncomment one of the sonar (for example # define srf02)


Code: Select all

../src/MultiWii/MultiWii.cpp:1106: error: 'Sonar_update' was not declared in this scope
by sorg
Sun Jul 14, 2013 1:35 pm
Forum: Software development
Topic: V2.2 - ACRO PID implementation is wrong, right?
Replies: 282
Views: 101056

Re: V2.2 - ACRO PID implementation is wrong, right?

So, i tried AlexK Pid today: Gyro mode is working nice. I ended with more or less the same tuning as the oldschool controller. I can find that the stick are a lot more sensitive... this lead me to do some mistake and to crash twice. I wil have to get used to it. Yaw is less stable than before. I hav...
by sorg
Sat Jul 13, 2013 3:43 pm
Forum: Ideas
Topic: Changing PID Values with a Pot
Replies: 73
Views: 27711

Re: Changing PID Values with a Pot

Ok, so I flyed today to tune Alexk PID with ZN pot. I started with gyro : I found in a few seconds a sweet point at mid-range of the pot. (too low : i can't take off... too high: the altitude is uncontrollable). At the same time, I raised immediatly the yaw Ku, as the copter was not flyable (spinnin...
by sorg
Fri Jul 12, 2013 8:52 pm
Forum: Ideas
Topic: Changing PID Values with a Pot
Replies: 73
Views: 27711

Re: Changing PID Values with a Pot

Still working on the ZN patch (I want to test Alek PID and I need to tune my PID with ZN tomorrow). The previous patch work well, but i have modified it to constrain the rc value to 1000/2000. When my pot was full left, It went beow 1000, and P jumped suddenly at a very high level. Index: src/MultiW...
by sorg
Fri Jul 12, 2013 6:07 pm
Forum: Shields, boards and sensors
Topic: help picking a board!!!
Replies: 7
Views: 584

Re: help picking a board!!!

Looking for a controller. I see all the different multiwii boards as in pro mega se and so on. What i'm looking for is the beast and cheap setup that will get me in the air itallow me to program in waypoints Do not use Multiwii then... Waypoint are not available yet. Otherwise the crius AIOP is a g...
by sorg
Fri Jul 12, 2013 5:39 pm
Forum: Software development
Topic: Building MultiWii in Eclipse
Replies: 25
Views: 3378

Re: Building MultiWii in Eclipse

I have followed the Wiki tutorial: It's perfect. I don't now eclipse at all and I have a question. How can i create several variant of multiwii (to keep sperated my patches while developping ) ? What i would need is to create a branch , but a local one, not on the multiwii repo . I tried to copy / p...
by sorg
Thu Jul 11, 2013 9:25 pm
Forum: Ideas
Topic: Changing PID Values with a Pot
Replies: 73
Views: 27711

Re: Changing PID Values with a Pot

So, I had a look to Brad wii code. First general comment: Its code is very well documented, very clean and welle organized. easy to understand, even for a poor programmer like me. (to be honest, his code is a lot cleaner than Multiwii...) A lot of thing have evolved between multiwii and bradwii, and...
by sorg
Thu Jul 11, 2013 1:05 pm
Forum: Ideas
Topic: Changing PID Values with a Pot
Replies: 73
Views: 27711

Re: Changing PID Values with a Pot

Hi, Nice job. i still have an issue with the frequency thing, without knowing the period of oscillation the I and D values are likely wrong... still need to get the system unstable enough to introduce an oscillation and measure it. Same thing here... and I am a bit concerned about making my quad de...
by sorg
Wed Jul 10, 2013 9:33 pm
Forum: Ideas
Topic: Changing PID Values with a Pot
Replies: 73
Views: 27711

Re: Changing PID Values with a Pot

Hi! I have updated the ziegler-nichols tuning with pot patch in order to work with the latest multiwii_shared (r1538). I have also foreseen additional parameters in config.h in order to select witch RC channel will tune which PID loop. The Level controller is also now handled differently in "ol...
by sorg
Mon Jul 08, 2013 9:29 pm
Forum: Software development
Topic: [patch] Amperage in MinimOSD via Multiwii MSP
Replies: 50
Views: 7452

Re: [A] Show Amperage in MinimOSD via Multiwii connected sen

Nice workaround!

In the future, we should request an extension to the Multiwii serial protocol to get this "current" value straight available. "debug" variables should be used only for... debugging !
by sorg
Fri Jul 05, 2013 9:16 pm
Forum: Software development
Topic: [PATCH] Generic echo/trigger sonar sensor.
Replies: 0
Views: 900

[PATCH] Generic echo/trigger sonar sensor.

This patch is not from my work, but based on various iteration of the code proposed in this topic (mainly form penpen77 - Thanks again !): http://www.multiwii.com/forum/viewtopic.php?f=7&t=1033&start=220 As far a i have tested it work in Multiwii 22, and as it is not so intrusive, i guess it...
by sorg
Fri Jun 28, 2013 11:47 am
Forum: General discussions
Topic: MultiWii_shared download?
Replies: 4
Views: 319

Re: MultiWii_shared download?

Toirtoise SVN
by sorg
Fri Jun 28, 2013 10:41 am
Forum: Ideas
Topic: Changing PID Values with a Pot
Replies: 73
Views: 27711

Re: Changing PID Values with a Pot

I'm still unclear about the Tu component, isn't the idea that soley Kp is adjusted (with Ki and Kd set to 0) to obtain an oscillation period Tu, and then Ki and Kd are calculated from Kp and Tu... so without first obtaining Tu accurately, it's all pretty much a big guess? You are right. To be preci...
by sorg
Fri Jun 28, 2013 10:27 am
Forum: Software development
Topic: V2.2 - ACRO PID implementation is wrong, right?
Replies: 282
Views: 101056

Re: V2.2 - ACRO PID implementation is wrong, right?

Welcome back alex! I think the discussion on obfuscating PID values with "user friendly" 0-100 scale is off topic. Related perhaps, but start another thread if it's so important. So far I've seen only two sets of working PIDs posted here, please post your PIDs!. My experiments with the Zi...
by sorg
Thu Jun 27, 2013 9:50 am
Forum: Ideas
Topic: Changing PID Values with a Pot
Replies: 73
Views: 27711

Re: Changing PID Values with a Pot

Hi Felix. I'll try to do the video, but i have only a phone to do that... Do not expect high quality. I will not fly for two weeks, but as soon as I can , I will do the video. I have not tried the AlexK New PID implementation. Have you had good result with it ? I read the Alexk topic, and as far as ...
by sorg
Thu Jun 27, 2013 9:43 am
Forum: Ideas
Topic: Inits via pin bridge
Replies: 8
Views: 784

Re: Inits via pin bridge

I support your proposal Manu, this is a great idea. When you are on the field, and the ESC have heated a little bit, there is some drift, and that would be nice to be able to recalibrate the ESC without the need of a computer to upload the special sketch... Of course the system should be "idiot...
by sorg
Thu Jun 27, 2013 9:04 am
Forum: Ideas
Topic: wishlist for v2.3
Replies: 104
Views: 15906

Re: wishlist for v2.3

felixrising wrote:PID tuning together with the Ziegler-Nichols method on a Aux pot. viewtopic.php?f=7&t=1701&start=30#p37557

+1 . It is simple and efficient (at least for gyro)
by sorg
Thu Jun 27, 2013 7:31 am
Forum: Software development
Topic: KV Team Multiwii OSD
Replies: 1021
Views: 145565

Re: SW Development on Minim Osd

Thanks carlo. I came to the same conclusion and solved the problem yesterday evening: During my tests, I fed the circuit with a 3.3V FTDI. Apparently, the charmap was not properly saved with such a low Voltage. After solving this issue, everithing went fine, and it is running nicely ! http://imagesh...
by sorg
Wed Jun 26, 2013 7:54 pm
Forum: Software development
Topic: KV Team Multiwii OSD
Replies: 1021
Views: 145565

Re: SW Development on Minim Osd

Hi! First tests with my MimOSD board coming from RCTimer. I feed it with 5V only. both bridge have been soldered (GND and VDD). Last realease of Rush OSD flashed and font loaded in EEPROM. Here is what I get on my screen: During init : http://imageshack.us/a/img20/4236/nu9z.th.jpg Then: http://image...
by sorg
Wed Jun 26, 2013 1:58 pm
Forum: Software development
Topic: Altitude Hold/Advanced Failsafe solutions by NHA
Replies: 270
Views: 61169

Re: Altitude Hold/Advanced Failsafe solutions by NHA

Is it foreseen to put these nice improvements in multiwii_shared ?
by sorg
Tue Jun 18, 2013 7:52 am
Forum: Ideas
Topic: Changing PID Values with a Pot
Replies: 73
Views: 27711

Re: Changing PID Values with a Pot

(post edited)Hi, I just tried the PID tuning together with the Ziegler-Nichols method on my quadri. I am pretty impressed, so far it works great. Before I was trying to tune by hand but never get good results. One pot (aux3) is for for gyro roll and pitch (same values for both), and one pot for lev...
by sorg
Sun Jun 16, 2013 7:30 pm
Forum: Ideas
Topic: Changing PID Values with a Pot
Replies: 73
Views: 27711

Re: Changing PID Values with a Pot

(post edited)Hi, I just tried the PID tuning together with the Ziegler-Nichols method on my quadri. I am pretty impressed, so far it works great. Before I was trying to tune by hand but never get good results. One pot (aux3) is for for gyro roll and pitch (same values for both), and one pot for lev...
by sorg
Sat Jun 15, 2013 6:31 am
Forum: ESCs, propellers , servos and radios
Topic: Alternative ESC firmware (reflashing)
Replies: 640
Views: 136096

Re: Alternative ESC firmware (reflashing)

Not sure about your first question, as the endpoints should be the same unless you have set them differently. Thank you for your answers. I have definitly less power with wii-esc than with simonk firmware. I am not able to tak-off anymore. My settings, are correct, i think: #define MINTHROTTLE 1088...
by sorg
Sun Jun 09, 2013 2:31 pm
Forum: ESCs, propellers , servos and radios
Topic: Alternative ESC firmware (reflashing)
Replies: 640
Views: 136096

Re: Alternative ESC firmware (reflashing)

Further to my first test yesterday, I ran today additional test on my bench. - I noticed than the max throttle is significantly lower than with simonk. (for my test bench i use a computer PSU wich is very current limited, and usually i trigger the PSU safety at 60% of the throttle. With the Wii-ESC ...
by sorg
Sat Jun 08, 2013 7:55 pm
Forum: ESCs, propellers , servos and radios
Topic: Alternative ESC firmware (reflashing)
Replies: 640
Views: 136096

Re: Alternative ESC firmware (reflashing)

Hi! I just flashed my rctimer 20A (simonk version) to wii-esc. The process went fine. I just tested the quad on a jig for the moment, but I already feel a smoother behaviour. However, I have the feeling that the motors are louser than with simonk. (there is a treeble sound, like a whistle) that was ...
by sorg
Wed Jun 05, 2013 1:33 pm
Forum: Software development
Topic: PID-Beahvior of MW2.2
Replies: 19
Views: 1646

Re: PID-Beahvior of MW2.2

As per my understanding of the PID formulas , with The gyro PID set to 0,0,0, in and when not in level mode, The copter should not have any response to a stick input (because of the zeroed PID parameters)... But as per my experience , the quad is moving( too slowly and softly of course) even with ze...
by sorg
Wed Jun 05, 2013 8:43 am
Forum: Ideas
Topic: Changing PID Values with a Pot
Replies: 73
Views: 27711

Re: Changing PID Values with a Pot

Hey guys, I too missed the tuning capability of ArduPilot when I switched back to MultiWii, so I wrote one. It's not integrated into the GUI, so requires uploading inbetween every parameter you want to tune, but it still makes tuning way easier. I'm no Arduino pro, so there's probably lots of room ...
by sorg
Tue Jun 04, 2013 6:27 am
Forum: Ideas
Topic: Changing PID Values with a Pot
Replies: 73
Views: 27711

Re: Changing PID Values with a Pot

I made a new version with 4 more pots in order to use 12 channels total. RC must be PPM (SBUS does not work for me) to get 12 channels. Now, I can tune almost all in flight (gyro R+P), level, alti, pos, posR, navrR (oy yaw). Your RC should have enough pots of course to do this. In multiwii.ino, at ...
by sorg
Sun Jun 02, 2013 4:41 pm
Forum: Ideas
Topic: Attemp to integrate sonar (ultrasonic sensor)
Replies: 265
Views: 132981

Re: Attemp to integrate sonar (ultrasonic sensor)

Hi all, After my requests for the ones who had the code working to post the patch for people that like me want to know exactly what´s running inside without success, I decided to do it. Here is the entire code for generic trigger/echo sonar´s (Example_HC-SR04) I am using Crius AIO Pro. <snip> Thank...
by sorg
Thu May 09, 2013 7:57 am
Forum: Shields, boards and sensors
Topic: Crius AIO Pro - LED A,B,C ?
Replies: 2
Views: 1046

Re: Crius AIO Pro - LED A,B,C ?

Thanks.
by sorg
Sat May 04, 2013 6:02 pm
Forum: Ideas
Topic: rx stick calibration
Replies: 5
Views: 1361

Re: rx stick calibration

Happy new year! Idea is to avoid setting the endpoints of transmitter to "1000" ... "2000" in the gui. We “assume” then throttle(1000)-pitch(1500)=500 msec, read the real values, make the ratio... To do so, a transmitter calibration has to be done once. During calibration, throt...
by sorg
Sat May 04, 2013 5:53 pm
Forum: Shields, boards and sensors
Topic: Crius AIO Pro - LED A,B,C ?
Replies: 2
Views: 1046

Crius AIO Pro - LED A,B,C ?

Hi,

Can anyone explain what do LEDs A,B and C means ? (with Multiwii 2.2).

Thanks,
by sorg
Sat Apr 13, 2013 1:28 pm
Forum: Ideas
Topic: GSM/GPRS interfacing
Replies: 2
Views: 910

GSM/GPRS interfacing

Hi! I am thinking of embedding a gsm/gprs modem on a multiwii multicopter. The idea is to use a modem such as this one: m Hardware and software interface should be easy, as a a lot of similar applications have already been developped on arduino system. Some useful applications can be implemented: - ...
by sorg
Mon Apr 08, 2013 2:53 pm
Forum: Software development
Topic: Development guidelines ?
Replies: 2
Views: 208

Development guidelines ?

Hi!

Is ther a doc for dev describing the recommended best practices for clean contribution to the code of multiwii ?
- naming standard ?
- comment guidelines ?
- procedure to submit patches ?