Search found 75 matches

by itain
Thu Jul 26, 2012 9:34 pm
Forum: Ideas
Topic: wishlist for v2.2 - CLOSED
Replies: 150
Views: 46603

Oval flight pattern mode

Given two points and a radius (points can be at the same location for a circle). Positive radius=left turns, negative=right turns (or the other way). + Implement also for fixed wing aircraft (with some minimal, radius) + Rotor type aircraft could maintain "Look Forward", "Look at poin...
by itain
Thu Jul 26, 2012 6:04 am
Forum: Software development
Topic: MultiWii C Source
Replies: 14
Views: 4559

Re: MultiWii C Source

dongs, I actually like the C99 feature that allows iterator declaration in for statement. I would use it if I could. (I also use Linux). mmm.... I think we can agree about some "qualities" of arduino. Possibly this is also good place to explain why I don't touch LCD.c (just one example): v...
by itain
Thu Jul 26, 2012 4:44 am
Forum: Software development
Topic: MultiWii C Source
Replies: 14
Views: 4559

MultiWii C Source

Continuing my suggestion here . I have moved the MultiWii code to plain c files. My simple configuration (CRIUS) compiled in the Arduino configuration. So far only tested using MultiWiiConf. To do: 1. Arduino defines pins this way (Stupid!!!) static const uint8_t A2 = 16; C does not accept it as a c...
by itain
Tue Jul 24, 2012 5:02 pm
Forum: Software development
Topic: Rushduino OSD - Multiwii based open software osd
Replies: 782
Views: 246541

Re: Rushduino OSD - Multiwii based open software osd

JohnyGab, Thanks for the update and for releasing V9 Beta version.
Have my best wishes for getting well and flying soon!
by itain
Mon Jul 23, 2012 9:30 pm
Forum: Software development
Topic: Rushduino OSD - Multiwii based open software osd
Replies: 782
Views: 246541

Re: Rushduino OSD - Multiwii based open software osd

What's up? The Rushduino OSD have disappeared from qcrc.ca and there's no software update from JohnyGab yet. I hope everything is OK.
by itain
Sun Jul 22, 2012 7:38 pm
Forum: Software development
Topic: Flying Wing v2.1
Replies: 4
Views: 1841

Re: Flying Wing v2.1

Actually it's 1.8p2 that looks wrong.
If servo installation in your flying wing is symmetric, servo signals should be same direction for roll and opposite direction for pitch.

Is it your configuration or MultiWii code that changed?
by itain
Sun Jul 22, 2012 12:14 am
Forum: Software
Topic: Making MultiWii portable - how?
Replies: 1
Views: 1903

Making MultiWii portable - how?

Probably people are already working on it, but I do not see related forum activity (have I missed anything?). Here is my suggestion. I have looked through the code and done some experimenting. Here is how I think making MultiWii portable can be done. Step zero: Some cleanup. This could be done later...
by itain
Sat Jul 21, 2012 2:43 pm
Forum: Software
Topic: Baseflight aka multiwii port to stm32
Replies: 1036
Views: 2556171

Re: Baseflight aka multiwii port to stm32

it looks someone else must integrate MS5611 sensor into baseflight or at least write driver folowing timecop's rules. dr.tom, I think you are missing the major point here. It is about doing changes to MultiWii so that: a. It will be portable to other architectures and other development environments...
by itain
Thu Jul 19, 2012 8:22 pm
Forum: Boards
Topic: STM32F4DISCOVERY as future promini replacement candidate
Replies: 14
Views: 9038

Re: STM32F4DISCOVERY as future promini replacement candidate

Well, the pro mini is not going to be replaced. Not so soon anyway. Only the code ported to new architectures while maintaining back compatibility. Some features may not be supported by the pro mini (just as today some features require a mega). That board is huge 97*66mm, and it does not even have m...
by itain
Wed Jul 18, 2012 11:14 pm
Forum: Software development
Topic: Rushduino OSD - Multiwii based open software osd
Replies: 782
Views: 246541

Re: Rushduino OSD - Multiwii based open software osd

JohnyGab sells them built and tested for just $60 (+shipping) on his site.

You can make your own board design around atmega328p + max7456. I do not think you can make it much cheaper.
by itain
Sat Jul 14, 2012 1:54 am
Forum: ESCs, propellers , servos and radios
Topic: Need help choosing motor/esc combo.
Replies: 2
Views: 2752

Re: Need help choosing motor/esc combo.

If you are scratch-building you must know: What's the target flight-weight for your copter? What size propellers it will accept? Batteries (Capacity? Cells?) I have these on order for use in a quadcopter: http://www.hobbyking.com/hobbyking/store/uh_viewItem.asp?idProduct=15205 http://www.hobbyking.c...
by itain
Wed Jul 11, 2012 1:23 am
Forum: Software development
Topic: Let's try to release 2.1: second try based on r964
Replies: 65
Views: 24739

Re: Let's try to release 2.1: second try based on r964

Again a Github debate... Doing this via a forum allows to have some discussions before thinking about modifying the code. What you can "unproductive" is what I call "stability" True distributed development can only work among a trusted community of developers sharing the same vi...
by itain
Thu Jun 14, 2012 4:26 pm
Forum: Software development
Topic: Monitoring RAM usage - proposed solution
Replies: 9
Views: 2696

Re: Monitoring RAM usage - proposed solution

[Almost OT for this thread, yet I did not want to start a new thread] Quick review on RX.ino discovers some wasted ram... ISR(INT6_vect) (under #if defined(PROMICRO)) do now and diff really have to be static? same for the following ISR(INT2_vect). ISR(SPEK_SERIAL_VECT) does spekTimeInterval need to ...
by itain
Wed Jun 13, 2012 12:54 pm
Forum: Software development
Topic: r910 introduces race condition into serial code
Replies: 11
Views: 3073

Re: r910 introduces race condition into serial code

I see the code is now changed but not fixed, and also not very efficient. A race may still occur, headTX is updated before data is stored in the buffer. and the ISR may just send the old (junk) value in that buffer location. Note too that headTX and tailTX are volatile. The compiler must not optimiz...
by itain
Mon Jan 23, 2012 6:43 pm
Forum: Software development
Topic: Alternatives to Arduino IDE? using eclipse?
Replies: 28
Views: 8781

Re: Alternatives to Arduino IDE? using eclipse?

Hamburger, thanks!!! I will give it a try later this week (Using Fedora 16 Linux). My personal opinion: MultiWii has grown too big and too complex for the arduino environment. Should migrate everything from pde to standard c/c++ and h files, then a "standard" Makfile could be used. IMHO th...
by itain
Mon Jan 23, 2012 5:31 pm
Forum: Software development
Topic: "Arduino" Pro Micro
Replies: 131
Views: 70147

Re: "Arduino" Pro Micro

In the past I started a thread asking about Teensy possible support. These USB chips have very few pins that support pin-change interrupt. After reviewing possible connections I agree that there is no real advantage over the very popular ATMega328p.
by itain
Thu Nov 17, 2011 9:05 am
Forum: Software development
Topic: LED Ring I2C device
Replies: 97
Views: 37162

Re: LED Ring I2C device

dongs wrote:This will be really cool on controllers that don't have I2C bus alreaady packed with sensor readings... Oh, wait, that's none of them.

XMegas have 2-4 I2C buses (and 5-8 usarts).
by itain
Sun Oct 23, 2011 8:35 am
Forum: Software development
Topic: Spektrum Satellite 2048 and 11ms support
Replies: 11
Views: 3830

Re: Spektrum Satellite 2048 and 11ms support

Please note: MultiWii.pde line 113: unsigned long spekChannelData[SPEK_MAX_CHANNEL]; RX.pde line 160: if (spekChannel <= SPEK_MAX_CHANNEL) spekChannelData[spekChannel] = (long(spekFrame[b - 1] & SPEK_CHAN_MASK) << 8) + spekFrame[b]; The test in the if code should check for < and not <= otherwise...
by itain
Sun Oct 09, 2011 1:27 am
Forum: Frames
Topic: Quadcopter first success
Replies: 2
Views: 2453

Re: Quascopter first success

A buzzer and a keychain camera are placed on top of the flight-control box.

closeup-closed.jpg
by itain
Sun Oct 09, 2011 1:21 am
Forum: Frames
Topic: Quadcopter first success
Replies: 2
Views: 2453

Re: Quascopter first success

The flight controller in contained in a plastic box made for 2x18650 batteries (I removed all internal "walls"). Inside the box: Left board in the all-in-one sensor board. In the center is a Spektrum AR-6100 receiver from DealExtreme. It arrived with the external casing damaged so I just r...
by itain
Sun Oct 09, 2011 1:06 am
Forum: Frames
Topic: Quadcopter first success
Replies: 2
Views: 2453

Quadcopter first success

"Plus" configuration. 4X 18-11 2000kv Micro Brushless Outrunners (10g) from HobbyKing Turnigy Plush 6 ESC. 5X3 propellers. 800mah 3S battery. All up weight including battery and keychain camera 250 grams. Used most recent firmware from the SVN trunk. I'm using the all-in-one sensor board f...
by itain
Sat Oct 08, 2011 10:58 pm
Forum: Software development
Topic: BUG? - Save SREG ??
Replies: 7
Views: 2577

Re: BUG? - Save SREG ??

Quax is correct, By default all ISR hadlers restore SREG (as well as any other register that's modified in the interrupt hanler).

Except... If you specify option ISR_NAKED the handler will not produce any prolog or epilog and you need to take care of all the details yourself.

More details here.
by itain
Sat Oct 08, 2011 9:15 am
Forum: Software development
Topic: Bug - vbat read incorrectly (SVN)
Replies: 1
Views: 1006

Bug - vbat read incorrectly (SVN)

Attached patch file. -- Itai Index: MultiWii.pde =================================================================== --- MultiWii.pde (revision 306) +++ MultiWii.pde (working copy) @@ -208,7 +208,7 @@ #endif #if defined(VBAT) - uint8_t ind; + static uint8_t ind = 0; uint16_t vbatRaw = 0; static uint...
by itain
Wed Sep 14, 2011 7:09 pm
Forum: Software development
Topic: Teensy Support ?
Replies: 24
Views: 12000

Re: Teensy Support ?

I'm looking at the Teensy 2.0 (ATMega32U4). There are 8 "pin change interrupt" pins and 4 16-bit pwm outputs. 3 of which are conflicting so it's possible to use 5 channel receiver and 4 "high res pwm" outputs for the motors. With little effort it's also possible to use the two in...
by itain
Wed Aug 24, 2011 12:57 am
Forum: Software development
Topic: Teensy Support ?
Replies: 24
Views: 12000

Teensy Support ?

How about porting to a Teensy ? Main issue IMHO will be with using the serial port. Host interface can be either USB or USART1. Current code has a contains both direct access to USART0 and using the Serial library. USART0 does not exist on the Teensies. The teensyduino Serial library is using the US...