Search found 258 matches

by treym
Thu Apr 24, 2014 3:23 pm
Forum: Software development
Topic: Altitude hold agorithm
Replies: 34
Views: 11863

Re: Altitude hold agorithm

it seems that it suffers from exactly the same flaws as stock Multiwii - unnecessarily sluggish response to stick input in althold mode. I say that because the D-term completely ignores the stick input. Or have I missed some sneaky coding? Vario-based altitude hold [censored] is not implemented in ...
by treym
Mon Apr 21, 2014 9:12 pm
Forum: Software
Topic: NAZE32+latest baseflight frozes on PC and in the air
Replies: 74
Views: 24941

Re: NAZE32+latest baseflight frozes on PC and in the air

Dont know how flasing could cause this problems... Is it possible? hum.. did you compile the firmware by yourself ? -> if crashed , you board wont do anything , no calibration , no blinking led did you check if the eeprom structure were identical ? -> should start , but fucked setting , reset all v...
by treym
Sat Apr 19, 2014 9:50 pm
Forum: Software development
Topic: How to submit new board to be included in SVN
Replies: 3
Views: 1814

Re: How to submit new board to be included in SVN

how to submit a patch to add a board.

this only require sensors orientation , you are using an 328p and did not add new sensors ?

post a patch here or create a pull request on github for reviewing , https://github.com/multiwii/multiwii-firmware .

best regards,
by treym
Sat Apr 19, 2014 9:41 pm
Forum: Software development
Topic: Feature Request: Inhibit PID updates while armed
Replies: 3
Views: 1563

Re: Feature Request: Inhibit PID updates while armed

fix :

Code: Select all

case MSP_EEPROM_WRITE:
        if (f.ARMED) {
            headSerialError(0);
        } else {
            writeEEPROM(0, true);
            headSerialReply(0);
        }


this way , you can still adjust pid while flying , just trigger the save when landed .

https://github.com/multiwii/baseflight/ ... 7d26790899
by treym
Sat Apr 19, 2014 1:06 am
Forum: Boards
Topic: Naze32 hardware discussion thread
Replies: 3249
Views: 1396824

Re: Naze32 hardware discussion thread

mattster98 wrote:Looking for a place to submit this (inhibit changes while armed) as a "Feature Request" and perhaps contribute a changelist.


https://github.com/multiwii/baseflight
by treym
Wed Apr 16, 2014 10:17 am
Forum: Boards
Topic: Where do I find details to Flyduino MW32v2
Replies: 11
Views: 4265

Re: Where do I find details to Flyduino MW32v2

did they use this file for commercial usage ? no .. or maybe they did it wrong :)
by treym
Mon Apr 14, 2014 2:00 pm
Forum: Boards
Topic: Where do I find details to Flyduino MW32v2
Replies: 11
Views: 4265

Re: Where do I find details to Flyduino MW32v2

Slartibartfast wrote:Hi,
I've just ordered a Flyuduino MW32 v2. I've taken a look at the PDF but this is not very detailled.
How do I know which "Filter Capacitor" to use?



by looking a the doc you linked , they use a 16v 100mf .

S1 , is Signal 1 , there is picture in the document you linked
by treym
Sun Apr 13, 2014 3:55 pm
Forum: Software development
Topic: KV Team Multiwii OSD
Replies: 1021
Views: 392532

Re: KV Team Multiwii OSD

bignose13 wrote:I think we are seeing true colours of KataVentos.
[...]
You complain about others copying kvosd but forget...
[...]
It open source - free for anyone to copy + modify + etc.
[...]
And developing new closed source stuff for MultiWii. What an idiot...


qft
by treym
Sat Apr 12, 2014 9:04 pm
Forum: Pictures & Videos
Topic: [2014] altitude hold + throttle angle correction
Replies: 4
Views: 3823

[2014] altitude hold + throttle angle correction

A demo video of altitude hold + throttle angle correction with baseflight With a smoother correction curve near the center and a configurable angle , we can now make some maneuvers while retaining the same altitude. 91660889 If your are not sure how this works then start with the default value, make...
by treym
Sat Apr 12, 2014 11:15 am
Forum: Boards
Topic: Naze32 hardware discussion thread
Replies: 3249
Views: 1396824

Re: Naze32 hardware discussion thread

you cant flash with baseflight configurator ?
by treym
Fri Apr 11, 2014 1:43 am
Forum: Pictures & Videos
Topic: baseflight althold
Replies: 1
Views: 1687

baseflight althold

Static demo: simple althold


Moving demo : althold + disturbance
by treym
Thu Apr 10, 2014 10:59 pm
Forum: Software
Topic: Airplane RTH BaseFlight
Replies: 143
Views: 137272

Re: Airplane RTH BaseFlight

And in case you are stuck with the "undefined reference to `_sbrk'" error you comment out "pch = strtok(cmdline, " ");" in cliMotor() file cli.c or .. if you build with newLib : /* sbrk Increase program data space. Malloc and related functions depend on this */ caddr_t...
by treym
Fri Apr 04, 2014 10:18 pm
Forum: Software development
Topic: Strange MultiWiiConf Behaviour
Replies: 8
Views: 2569

Re: Strange MultiWiiConf Behaviour

you have to locate the main computer outlet ....
by treym
Fri Apr 04, 2014 9:42 am
Forum: Boards
Topic: ARM Cortex-M3 STM32F103C8T6 STM32
Replies: 37
Views: 18353

Re: ARM Cortex-M3 STM32F103C8T6 STM32

the ARM Cortex-M3 STM32F103C8T6 is the mcu found in the naze32 ... you can build a baseflight board from scratch or play with new sensors or code changes with this board. http://i.imgur.com/5ZLJxWal.jpg http://i.imgur.com/R03bEw7l.jpg http://i.imgur.com/ET9DG8ol.jpg the stmf4 from this nucleo board ...
by treym
Sat Mar 29, 2014 3:20 am
Forum: Shields, boards and sensors
Topic: Arduino Yun(ATmega32u4/Leonardo) as MWC?
Replies: 3
Views: 2169

Re: Arduino Yun(ATmega32u4/Leonardo) as MWC?

How difficult is it to get a standard Arduino Leonardo+IMU running MultiWii?


as hard as set MCUType=atmega32u4 , just refere to http://code.google.com/p/multiwii/source/browse/

with Arduino 1.0.1 so you just need to select the Leonardo to use it. It is fully supported by the MultiWii software since the 2.1 or later
by treym
Thu Mar 27, 2014 3:22 am
Forum: General discussions
Topic: GUI-settable parameters “MULTIPLE_CONFIG_PROFILES"
Replies: 20
Views: 7055

Re: GUI-settable parameters “MULTIPLE_CONFIG_PROFILES"

Is there a way to have different “rates” selectable via tx-switch? (or inflight adjustable via proportional channel)?


yes, there is this code .. you can have more info here

This proposal allow a mild version of expo/rate for precision then another set for acro or more aggressive maneuvers.
by treym
Mon Mar 24, 2014 12:06 am
Forum: Software development
Topic: MultiWii and LabView
Replies: 10
Views: 5320

Re: MultiWii and LabView

It must be noted that you can find working implmentation for this serial communication written in C , C++ , .Net , java , javascript .. and probably some more languages .. You may now refere to this thread : http://www.multiwii.com/forum/viewtopic.php?f=8&t=4489 best regards ps : if you fail to ...
by treym
Fri Mar 21, 2014 7:00 pm
Forum: Software development
Topic: Controlling Multiwii with nrf24l01+
Replies: 11
Views: 8116

Re: Controlling Multiwii with nrf24l01+

so , any news ? how did you handle the channel sync ? what about the replay and the implied delay when you switch from rx to tx ( is it full duplex ) ?
by treym
Fri Mar 21, 2014 5:41 am
Forum: Software development
Topic: MultiWii and LabView
Replies: 10
Views: 5320

Re: MultiWii and LabView

BernardK wrote: I see the message transmit out, and it looks as it should do.


... and what should it look like ?
by treym
Mon Jan 27, 2014 7:41 am
Forum: MultiWii tweaking - flying experience
Topic: Flips and flyaways.
Replies: 2
Views: 2352

Re: Flips and flyaways.

tl;dr

anyway , sound like a failsafe and tx issue .
by treym
Sun Jan 26, 2014 7:51 am
Forum: Getting Started - MultiWii config and setup
Topic: First Quadrocopter with MultiWii 2.3 non-stable flight
Replies: 4
Views: 1736

Re: First Quadrocopter with MultiWii 2.3 non-stable flight

Problem 2) When I start my copter and it rises up then it seems like the yaw drifts permanently in neutral position. I have read something about I can change something in the code so that small the deadband feature is used to mitigated input related to "user's finger induced issue" m /* i...
by treym
Sun Jan 26, 2014 7:39 am
Forum: MultiWii tweaking - flying experience
Topic: Question on uart control
Replies: 4
Views: 2125

Re: Question on uart control

But, since I'm not using a normal radio, I want to know what appens if the signal is lost.. What is the standard failsafe routine in multiwii 2.3? where is it in the code? is there any wiki to learn how to set it? m /******** Failsafe settings ********************/ /* Failsafe check pulses on four ...
by treym
Thu Jan 23, 2014 9:53 pm
Forum: Boards
Topic: Naze32 hardware discussion thread
Replies: 3249
Views: 1396824

Re: Naze32 hardware discussion thread

sentinel wrote:I'm trying to better understand what some of the settings will yield.

RC Rate
RC Expo
Roll & Pitch rate
TPA
Yaw Rate

looking for a direct explanation of how these will affect my flight.


www.multiwii.com/wiki/index.php?title=Main_Page
by treym
Thu Jan 23, 2014 7:43 pm
Forum: Getting Started - MultiWii config and setup
Topic: MultiWiiConf on Linux
Replies: 7
Views: 3490

Re: MultiWiiConf on Linux

Without having the modify the MultiWiiConf.pde, the easiest thing to do is to create a link from the device name to a name the config understand. To modify the .pde, that will required installing Oracle Java: http://www.multiwii.com/forum/viewtopic.php?f=14&t=3476&start=40#p45363 or use a W...
by treym
Wed Jan 15, 2014 6:53 pm
Forum: Frames
Topic: Dji phantom frame for MWI
Replies: 2
Views: 2347

Re: Dji phantom frame for MWI

Yesterday, i just bought dji phantom frame .


Now the challenge is how to put the MWI FC (aio 2 crius or any 5x5 size FC), the GPS and the compass on the right place without any disturbance from power to avoid any EMI



stacked.. and gps ontop

Flamewheel330-top.jpg


Flamewheel330-top2.jpg
by treym
Tue Jan 14, 2014 6:12 pm
Forum: Software development
Topic: Checksum Calculation MSP
Replies: 3
Views: 1692

Re: Checksum Calculation MSP

$M> [6] [6c] [ff ff 03 00 70 00] [19] how is the sum calculation made ? for (int i = 3; i < bptr; i++) checksum ^= buffer[i]; checksum = 0 [6] [6c] [ff ff 03 00 70 00] checksum ^= 6 checksum ^= 6c checksum ^= ff checksum ^= ff checksum ^= 3 checksum ^= 0 checksum ^= 70 checksum ^= 0 checksum -> [19]
by treym
Tue Jan 14, 2014 5:34 pm
Forum: Shields, boards and sensors
Topic: Want to add sonar and or Gps to my crius se board
Replies: 4
Views: 2039

Re: Want to add sonar and or Gps to my crius se board

What feature are you looking for ?

- folow terrain contour (mostly like althold but using ground as reference)

- auto takeoff/landing


the sonar is not used .. yet .. but you can add it into the code if required


sonar.png
by treym
Mon Jan 13, 2014 6:18 pm
Forum: General discussions
Topic: Autoland
Replies: 6
Views: 2961

Re: Autoland

by treym
Wed Jan 08, 2014 3:46 pm
Forum: Software development
Topic: Sending Receving Serial Protocol Messages MWP
Replies: 18
Views: 7460

Re: Sending Receving Serial Protocol Messages MWP

$M> [paylaodlenght] [cmd] [payload] [checksum] 24 4d 3e 06 6c ff ff 03 00 70 00 19 $M> [6] [6c] [ff ff 03 00 70 00] [19] so values are [ff ff 03 00 70 00] you can now decode those value (ie ,are they int8 , int16, int32) using the protocole as described here : m or with the previous links.
by treym
Tue Jan 07, 2014 7:25 pm
Forum: Software development
Topic: Sending Receving Serial Protocol Messages MWP
Replies: 18
Views: 7460

Re: Sending Receving Serial Protocol Messages MWP

i did not look at the arduino serial code lately, but as far as i remember it is just string based (with all the charset issue when using toByte) anyway ... here are the hex value that you want to send cmd: 24 4d 3c 00 6c 6c cmd: 24 4d 3c 00 65 65 cmd: 24 4d 3c 00 68 68 cmd: 24 4d 3c 00 66 66 cmd: 2...
by treym
Tue Jan 07, 2014 10:53 am
Forum: Boards
Topic: Naze32 hardware discussion thread
Replies: 3249
Views: 1396824

Re: Naze32 hardware discussion thread

be sure that your 5vot bec can supply enough current for everything .. servo included.

be sure that everything use the same ground reference , ie : notably 5v bec and esc ground and servo ground sould be connected together .

mag calibration has nothing to do with your issue .
by treym
Mon Jan 06, 2014 8:15 pm
Forum: Software development
Topic: Sending Receving Serial Protocol Messages MWP
Replies: 18
Views: 7460

Re: Sending Receving Serial Protocol Messages MWP

the request for MSP_ATTITUE is a zero lenght payload wich is implmented like this :

https://github.com/treymarc/multiwii-ma ... /mwi.c#L48

you can find the full implementation here : http://code.google.com/p/multiwii/sourc ... otocol.cpp
by treym
Mon Jan 06, 2014 5:51 pm
Forum: Software development
Topic: Wishlist - MSP 2.2
Replies: 16
Views: 6831

Re: Wishlist - MSP 2.2

it is both :)

with a generic customMSP one can use the payload to create additionnal mesages , and paved the way toward the ability to change any baseflight (or multiwii fork) variables.

the only requirement is to have a reserved msp for this purpose , ie #define MSP_CUSTOM 1
by treym
Mon Jan 06, 2014 4:49 pm
Forum: Software development
Topic: Flying mode : using a second set of rc/expo rate
Replies: 2
Views: 1465

Re: Flying mode : using a second set of rc/expo rate

switching different profile while flying introduce loop lag and potential issue (as described in the pull request : https://github.com/multiwii/baseflight/ ... t-31449125 )

:)
by treym
Mon Jan 06, 2014 6:21 am
Forum: Software development
Topic: Flying mode : using a second set of rc/expo rate
Replies: 2
Views: 1465

Flying mode : using a second set of rc/expo rate

Hello, This proposal allow a mild version of expo/rate for precision then another set for acro by using a second set of rc/expo rate and a new BOX item to switch between values while flying . m ce8c75b0-7529-11e3-8f46-688de311601e.png Values are set with MSP so there is a change in msp_rc_tunning fo...
by treym
Sun Jan 05, 2014 3:46 am
Forum: Software development
Topic: Wishlist - MSP 2.2
Replies: 16
Views: 6831

Re: Wishlist - MSP 2.2

hi, i think we can use something like this to deal with custom/private/oem msp : we can leverage the payload usage ? // customMSP[MSP_EXTENSION_PAYLOADMAX] //void evaluateCustomCommand(void); case MSP_CUSTOM: for (i = 0; i < dataSize; i++){ read8(); //customMSP[customMSPindex++]=read8(); } // TODO c...
by treym
Tue Dec 31, 2013 12:37 am
Forum: Software development
Topic: I think I'm crazy. LQR instead of PID?
Replies: 6
Views: 3457

Re: I think I'm crazy. LQR instead of PID?

PID, LQR and LQR-PID on a Quadcopter Platform Looking back at the step responses shown above, it is clear that each control system has a different response for the same attitudes. However, it is possible to choose the most suitable technique based on the characteristics that is needed for the quadc...
by treym
Fri Dec 27, 2013 9:08 pm
Forum: Ideas
Topic: Autonomous Multiwii Quadrocopter with Raspberry Pi
Replies: 21
Views: 14280

Re: Autonomous Multiwii Quadrocopter with Raspberry Pi

I use a PS3 eye camera (looking ground) which have great performance for the price. It can transfer pictures up to 120 FPS at 320x240 frame. unfortunately minimum resolution is 320x240 so I resize the frame to 160x120 in program before using them. Therefore USB bandwidth limit of mk808 is 75 FPS in...
by treym
Fri Dec 27, 2013 8:30 pm
Forum: Frames
Topic: New Cinetank Mk. I
Replies: 15
Views: 6971

Re: New Cinetank Mk. I

terabyte wrote:Detailed build log here; http://forums.openpilot.org/topic/36084 ... k-ct-mk1/#


.. are we supposed to register to openpilot ?


Sorry, you don't have permission for that!

You do not have permission to view this attachment.
by treym
Wed Dec 25, 2013 10:30 pm
Forum: MultiWii tweaking - flying experience
Topic: BARO Mode climb/descend Rate issues
Replies: 4
Views: 2457

Re: BARO Mode climb/descend Rate issues

because this is not how this flight mode is supposed to work . m m BARO - The barometer only is used, for the purpose of keeping a certain height. While there is an no other command from rc sticks . Needs: gyro + acc + baro (acc is needed to estimate the Z acceleration in this mode) You can activate...
by treym
Fri Dec 20, 2013 6:38 am
Forum: Software development
Topic: Serial latency/out data
Replies: 12
Views: 3912

Re: Serial latency/out data

So the serial blocks also, when sending long messages (like I did). Hm, this will explain my problem, I'm bombing the poor Atmega with requests as fast as possible and send data chunks with a huge payload. I think my solution for permanently sending data is a kind of flow control / and or data rate...
by treym
Sun Dec 15, 2013 8:22 pm
Forum: Ideas
Topic: MAVLink protocol
Replies: 21
Views: 20127

Re: MAVLink protocol

sorry for the late response the project moved to github the code now work with latest multiwii 2.3 .. minimal support you also have an example.c if you need to build for linux : git clone m cd multiwii-mavlink-gc make ./src/udp/mwgc --help https://raw.github.com/treymarc/multiwii-mavlink-gc/master/d...
by treym
Sun Dec 15, 2013 7:21 pm
Forum: Software development
Topic: Serial latency/out data
Replies: 12
Views: 3912

Re: Serial latency/out data

Sure, I put my python code on github: https://github.com/mkjo/wii_python Where's the best place to share my code, is github ok? hi, was playing with some arm devices .. so i tried your code .. but , it does not compile looks like you remove some parts and extract those 2 files from your bigger proj...
by treym
Sun Dec 15, 2013 7:05 pm
Forum: Ideas
Topic: Autonomous Multiwii Quadrocopter with Raspberry Pi
Replies: 21
Views: 14280

Re: Autonomous Multiwii Quadrocopter with Raspberry Pi

i do not have any paparazzi autopilot , but you may find plenty of info on the wiki -> http://paparazzi.enac.fr/wiki/Main_Page


here you can find the latest rev5 > FunFly Controller "Acro Naze 32"

you have i2c , uart .. and spi by using the unpopulated epprom pads

http://www.abusemark.com/downloads/naze32_rev3.pdf
by treym
Tue Dec 10, 2013 9:13 am
Forum: ESCs, propellers , servos and radios
Topic: Quadcopter controlling without using Radio remote Controller
Replies: 2
Views: 1990

Re: Quadcopter controlling without using Radio remote Contro

2) According to the my research, the signal is a PWM signal. If it is PWM signal, is that possible to give simple movement to the arduino by generating external PWM signal...? (Without using the radio unit) yes , 3) If the above method is not possible, is there any other option to control the quad-...