Search found 506 matches

by crashlander
Mon May 04, 2015 1:35 pm
Forum: Software
Topic: MSP commands
Replies: 4
Views: 2483

Re: MSP commands

Hello,
there are quite some calculations and "bit flipping" done to get proper MSP command and is probably not feasible to do-it in TeraTerm and likes.
That said you can still look at http://www.multiwii.com/wiki/index.php? ... l_Protocol.
by crashlander
Sun Mar 15, 2015 3:50 pm
Forum: Software
Topic: AfroMini32 PPM to Servo (Baseflight)?
Replies: 3
Views: 1984

Re: AfroMini32 PPM to Servo (Baseflight)?

Thank you Patrik.
I actually wanted to use simple PPM to PWM option due its basic simplicity of haveing all the settings in TX (and receiver far from other components).
But I'll do cmix if other options are off.
How to disable/enable ONLY_ARM_WHEN_FLAT option in BF.
by crashlander
Sun Mar 15, 2015 12:16 pm
Forum: Software
Topic: AfroMini32 PPM to Servo (Baseflight)?
Replies: 3
Views: 1984

AfroMini32 PPM to Servo (Baseflight)?

I'm trying to use AfroMini as simple PPM to PWM converter, but after switching to that mode nothing works.
I can see RX PPM input in GUI but nothing gets to servos (except 400Hz midpoint).

Any tips how to set this up!
by crashlander
Mon Nov 17, 2014 9:59 am
Forum: Software
Topic: Wrong default mix for quadx and + on AfroMini32
Replies: 6
Views: 3277

Re: Wrong default mix for quadx and + on AfroMini32

timecop wrote:......
Because *default* purpose of afromini is for planes......


Oh! Make up your mind! Last time we had discussion about AfroMini you said it was meant for mini quads... ;)
by crashlander
Mon Nov 17, 2014 7:52 am
Forum: Software
Topic: Wrong default mix for quadx and + on AfroMini32
Replies: 6
Views: 3277

Re: Wrong default mix for quadx and + on AfroMini32

ABL wrote:Enable GIMBAL_TILT - should be working with default mixer...

You are saying that I must enable gimbal tilt to get normal quadX or quad+ working on default pins on AfroMini?!
by crashlander
Sun Nov 16, 2014 8:33 pm
Forum: Software
Topic: Wrong default mix for quadx and + on AfroMini32
Replies: 6
Views: 3277

Wrong default mix for quadx and + on AfroMini32

Hello,
today I put (freshly flashed/updated) AfroMini32 on miniquadX and after selecting quadX (or +) in configurator I get no output on S3 and S4 (motors don't spin at all).
I had to mirror outputs from motor 3 and 4 to motors 5 and 6 using cmix to get it working.
by crashlander
Fri Jun 13, 2014 6:25 pm
Forum: Software
Topic: Airplane RTH BaseFlight
Replies: 143
Views: 136463

Re: Airplane RTH BaseFlight

@PatrikE: I can see in code that limits for max correction are from -450 to 450 cli.c { "gps_maxcorr", VAR_INT16, &cfg.gps_maxcorr, -450, 450 }, { "gps_rudder", VAR_INT16, &cfg.gps_rudder, -450, 450 }, { "gps_maxclimb", VAR_INT16, &cfg.gps_maxclimb, -450, 45...
by crashlander
Fri Jun 13, 2014 7:24 am
Forum: Software
Topic: Airplane RTH BaseFlight
Replies: 143
Views: 136463

Re: Airplane RTH BaseFlight

In my experience you can set UBX in cli and Baseflight will took care of setting actual module!

Regards
Andrej
by crashlander
Mon Jun 09, 2014 1:51 pm
Forum: Ideas
Topic: Airplane mode RTH
Replies: 824
Views: 323962

Re: Airplane mode RTH

Joseph97 wrote:Did I forget anything?

In GPS.h
#define FAILSAFE
Joseph97 wrote:Will Multiwii start home on lost signal? Can i regain control by turning the radio back on?

It works for me (allways)!

Regards
Andrej
by crashlander
Fri Jun 06, 2014 11:53 am
Forum: Ideas
Topic: Airplane mode RTH
Replies: 824
Views: 323962

Re: Airplane mode RTH

Second - i tryed to use PID_CONTROLLER 2 and it looks like work worse in level mode.... and when plane goes to home and start to sircle after 3 - 4 turns it yaw down directli to ground so i must intercept control to avoid hit the ground. AFAIK PID_CONTROLLER 2 is not often used/tested even in multi...
by crashlander
Fri May 23, 2014 5:33 pm
Forum: Shields, boards and sensors
Topic: Problems with TWO flight controllers ???
Replies: 3
Views: 1454

Re: Problems with TWO flight controllers ???

The board is initialy loded with properly configured MWII and you later sensor configuration is wrong.
Find which sensors are actualy on board or try tem one by one (disable/comment board and uncoment single sensor at the time).

Regards
Andrej
by crashlander
Fri May 16, 2014 8:26 am
Forum: Software development
Topic: $M< SERIAL RC What port to use
Replies: 16
Views: 4965

Re: $M< SERIAL RC What port to use

Is this possible. Yes! Do I have to make any config.h changes to assign the serial ports to the GUI and the XBee? No change to MWII code is needed. (Apart from setting proper baud rate for connected device) I mean how does the MultiWii know that MSP_SET_RAW_RC is coming on another serial port? MWII...
by crashlander
Tue May 06, 2014 7:09 pm
Forum: Software development
Topic: GPS NAV
Replies: 964
Views: 401043

Re: GPS NAV

Patrik please share your code!

Regards
Andrej
by crashlander
Mon May 05, 2014 10:59 am
Forum: FPV, OSD, Cameras
Topic: HD Video Downlink
Replies: 8
Views: 4608

Re: HD Video Downlink

Thread about theoretical limitations of HD video streaming.... http://www.multiwii.com/forum/viewtopic.php?f=7&t=2903&hilit=video The solution that I posted link uses multiple receivers and transmitters in parallel and no compression but it has usable distance of maybe 100m and when dropout ...
by crashlander
Sun May 04, 2014 10:30 am
Forum: Boards
Topic: FTDI to AfroMini???
Replies: 12
Views: 6724

Re: FTDI to AfroMini???

Also, which set of TX/RX pins? I'm using serial port with included 5V and GND (thru holes) since the other ones are AFAIK not 5V tolerant And it will work with any 3.3 or 5V FDTI. I'm using SparkFun's one (meant for Arduino) and that one has 5 or 3.3V jumper/pads on the bottom (those change VCC and...
by crashlander
Sun May 04, 2014 10:04 am
Forum: Ideas
Topic: Airplane mode RTH
Replies: 824
Views: 323962

Re: Airplane mode RTH

MAG and ALT must not be enabled/used on fixed wing!

Regards
Andrej
by crashlander
Sat May 03, 2014 4:33 pm
Forum: Boards
Topic: FTDI to AfroMini???
Replies: 12
Views: 6724

Re: FTDI to AfroMini???

Actually RX and TX pins ARE 5V tolerant so you CAN use 5V FDTI (according to spec. and my experience).

Regards
Andrej
by crashlander
Fri May 02, 2014 5:42 pm
Forum: Software
Topic: Airplane RTH BaseFlight
Replies: 143
Views: 136463

Re: Airplane RTH BaseFlight

I have seen it on my HK RadJet too.(Arduino board) First a nice accent to 20m and shoots skywards when it starts navigate. On the Bixler type it's not so visual. O.K. I understand it is true that my BaseFlight wing is very different from my Ardu one (faster and more agile/overpowered). I have lower...
by crashlander
Fri May 02, 2014 5:30 pm
Forum: FPV, OSD, Cameras
Topic: HD Video Downlink
Replies: 8
Views: 4608

Re: HD Video Downlink

Just my 2c
That one is older but range and price are awful:
http://www.globe-flight.de/Globe-Flight ... ansmission
While ago TC explained why those will not be usable for proximity PFV, but if you can live with eg. 1s delay than it might be O.K.

Andrej
by crashlander
Thu May 01, 2014 1:45 pm
Forum: Software
Topic: Airplane RTH BaseFlight
Replies: 143
Views: 136463

Re: Airplane RTH BaseFlight

PatrikE wrote:A airspeed sensor would be optimal and "TPA" (APA) based on that would be nice.
But we can use the fact that we know the angle of attack and throttle and feed "APA" with it.

That would produce bad oscilations after fast dive, during recovery...
by crashlander
Thu May 01, 2014 5:40 am
Forum: Software
Topic: Airplane RTH BaseFlight
Replies: 143
Views: 136463

Re: Airplane RTH BaseFlight

Some sort of GYRO_SMOOTHING is probably needed for FlyingWings. Would a lower P or/and I value not be better at solving oscillation? We should not compensate wrong PID values by shooting the sensor in the knee. In that case only use of airspeed sensor and some kind of "TPA" (APA) based on...
by crashlander
Thu May 01, 2014 5:35 am
Forum: Software
Topic: Airplane RTH BaseFlight
Replies: 143
Views: 136463

Re: Airplane RTH BaseFlight

RTH is actually intended for Failsafe and not a normal flightmode. The "Rocket Launch" is to ensure it will reach altitude as fast as possible. It seems that current (Baseflight) code does not use safe max climb parameter (set gps_maxclimb) as set in CLI and would probably stall underpowe...
by crashlander
Wed Apr 30, 2014 8:13 pm
Forum: Software
Topic: Airplane RTH BaseFlight
Replies: 143
Views: 136463

Re: Airplane RTH BaseFlight

In BaseFlight I'm missing MWII' s alternative of #define GYRO_SMOOTHING Since I can not remove fast dive elevon oscillation (on pitch) even when I set set gyro_lpf = 10 in CLI. Second observation is that my wing always "rocket" (with high pitch angle) into climb when it is lower than set h...
by crashlander
Mon Apr 28, 2014 5:30 pm
Forum: Software
Topic: Airplane RTH BaseFlight
Replies: 143
Views: 136463

Re: Airplane RTH BaseFlight

Just back from the field and BaseFlight RTH is tested and WORKING!
Equipment used:
Assassin wing (from Crash Test Hobby)
AfroMini 32 (thanks TC for wonderful mini FC and BaseFlight)
Ublox NEO-5
Orange OpenLRS (OpenLRSng)

Thank you Patrik!

Regards
Andrej
by crashlander
Mon Apr 28, 2014 5:21 pm
Forum: Ideas
Topic: Airplane mode RTH
Replies: 824
Views: 323962

Re: Airplane mode RTH

If your plane does not climb in LEVEL/HORIZON mode than probably your

Code: Select all

#define ELEVATORCOMPENSATION

in def.h is too big.

Regards
Andrej
by crashlander
Sun Apr 20, 2014 5:48 pm
Forum: Software
Topic: Airplane RTH BaseFlight
Replies: 143
Views: 136463

Re: Airplane RTH BaseFlight

<EDIT> I just saw that line in mw.c if ((failsafeCnt > 5 * (cfg.failsafe_delay + cfg.failsafe_off_delay)) && !f.FAILSAFE_RTH_ENABLE) that disables that delay... </EDIT> I'm missing arduino alternative of #define FAILSAFE_OFF_DELAY In MWII I increase this value to 6000+ (I do not want my plan...
by crashlander
Wed Apr 16, 2014 6:59 am
Forum: Ideas
Topic: Airplane mode RTH
Replies: 824
Views: 323962

Re: Airplane mode RTH

Must check my TX/RX since it is not impossible that I'm getting sporadic and short FS's.
Regards
Andrej
by crashlander
Tue Apr 15, 2014 7:20 pm
Forum: Software
Topic: AfroMini in a Plane Hints ?
Replies: 29
Views: 10384

Re: AfroMini in a Plane Hints ?

timecop wrote:shit, DJI makes plane frames now?
* quickly editing product description

Ups... :)
Not to my knowledge...
I meant that Afro mini is missing disclaimer that is should not be used on any DJI products + planes :)
by crashlander
Tue Apr 15, 2014 7:15 pm
Forum: Ideas
Topic: Airplane mode RTH
Replies: 824
Views: 323962

Re: Airplane mode RTH

The question was if normal RTH will disarm (like it used to do) and during todayćs test I got the answer that it still does, as seen 12min 30s into video. m Today's test went really O.K. since RTH worked in strong and gusty north wind and returned my wing from 3 different directions (I have not test...
by crashlander
Tue Apr 15, 2014 10:49 am
Forum: Software
Topic: AfroMini in a Plane Hints ?
Replies: 29
Views: 10384

Re: AfroMini in a Plane Hints ?

timecop wrote:Weeeelllll this stuff was never planned to use GPS since its for like you know, miniquads right? :)

Cool! But since you forgot to put DJI like disclaimer/warning we all find it nice for mini (and not so mini) planes ;)
by crashlander
Tue Apr 15, 2014 10:04 am
Forum: Software
Topic: AfroMini in a Plane Hints ?
Replies: 29
Views: 10384

Re: AfroMini in a Plane Hints ?

Plüschi wrote:
Gaijin wrote:It might be worth adding a little more board space for a GPS pin header breakout on the next revision


+1

After soldering pins on bottom and pull them out with pcb and than finished with soldering wires directly on MCU legs....
+1
by crashlander
Tue Apr 15, 2014 9:56 am
Forum: Ideas
Topic: Airplane mode RTH
Replies: 824
Views: 323962

Re: Airplane mode RTH

@PatrikE Browsing the original Arduino code and your comments I understand that FailSafe Landing will only be triggered when there is real FS situation and not during normal user/pilot initiated RTH routine (as was before)?

Regards
Andrej
by crashlander
Mon Apr 14, 2014 10:50 am
Forum: Ideas
Topic: Airplane mode RTH
Replies: 824
Views: 323962

Re: Airplane mode RTH

I program my receiver on plane to active GPS_HOME when lost signal. You do not need to do that! The code will auto-detect FAILSAFE condition (on most receivers) and if you enable FAILSAFE in GPS.h (on Arduino) or FAILSAFE_RTH in CLI (on Baseflight(now that we have that too)) RTH will be properly en...
by crashlander
Mon Apr 14, 2014 8:06 am
Forum: Software
Topic: Airplane RTH BaseFlight
Replies: 143
Views: 136463

Re: Airplane RTH BaseFlight

scrat wrote:As far as I know, RTH needs magnetometer to function properly.

RTH and PH on multi copters need compas/magnetometer to operate (since copters are/can be stationary)!
For fixed wing (that can not fly without horizontal speed/vector) heading can be/is obtained from there!

Regards
Andrej
by crashlander
Mon Apr 14, 2014 7:50 am
Forum: Ideas
Topic: Airplane mode RTH
Replies: 824
Views: 323962

Re: Airplane mode RTH

GPS_Home should be active under conditions!!! Like Distance to home ,and Altitude. Disarm it when lost control near home at very low Altitude. GPS functionality has feature called "auto launch" so when plane is: ARMED + (TH > MINCHECK) + GPS_HOME It will climb out with wings level up-to 2...
by crashlander
Sat Apr 12, 2014 5:46 am
Forum: Software
Topic: Airplane RTH BaseFlight
Replies: 143
Views: 136463

Re: Airplane RTH BaseFlight

It does not need compass.

Rgards
Andrej
by crashlander
Fri Apr 11, 2014 5:53 pm
Forum: Ideas
Topic: Airplane mode RTH
Replies: 824
Views: 323962

Re: Airplane mode RTH

Thread separation can be O.K. but we will get more dispersed information. @PatrikE: in http://www.multiwii.com/forum/viewtopic.php?f=23&t=4934&start=10#p49269 you are saying that 45 degrees banking would be optimal for navigation or I'm getting something wrong? Now on arduino we are doing 15...
by crashlander
Fri Apr 11, 2014 2:20 pm
Forum: Software
Topic: Airplane RTH BaseFlight
Replies: 143
Views: 136463

Re: Airplane RTH BaseFlight

Mine working attached:
baseflight_NAZE.hex.zip
HEX
(84.9 KiB) Downloaded 883 times
by crashlander
Fri Apr 11, 2014 1:09 pm
Forum: Software
Topic: Airplane RTH BaseFlight
Replies: 143
Views: 136463

Re: Airplane RTH BaseFlight

I ve just recompiled it myself and it works...
..it works in GUI and I can set new parameters.
So it seems that HEX in GIT is somehow corrupt!

Regards
Andrej
by crashlander
Fri Apr 11, 2014 12:54 pm
Forum: Software
Topic: Airplane RTH BaseFlight
Replies: 143
Views: 136463

Re: Airplane RTH BaseFlight

Another observation: vdjc's HEX (file size) is half the size of TC's?!
by crashlander
Fri Apr 11, 2014 12:52 pm
Forum: Software
Topic: Airplane RTH BaseFlight
Replies: 143
Views: 136463

Re: Airplane RTH BaseFlight

Anybody successfully flashed vdjc's hex on AfroMini? I'm using Chrome Baseflight Configurator and each time I flash that HEX I get completely unresponsive (dead) board. To recover I have to short BootLoader pads and flash original Baseflight, from which I can again and again flash original Basefligh...
by crashlander
Wed Apr 09, 2014 8:29 am
Forum: Software development
Topic: $M< SERIAL RC What port to use
Replies: 16
Views: 4965

Re: $M< SERIAL RC What port to use

Sorry but I do not understand exactly how you connect your stuff but Atmega 328p (used on that board) has single UART that is on the outside shared (connected) to two pin headers one for connecting FDTI and other with only 4 pins. So when only one is connected and your app sends sequence of MSP_SET_...
by crashlander
Tue Apr 08, 2014 11:54 am
Forum: Software development
Topic: $M< SERIAL RC What port to use
Replies: 16
Views: 4965

Re: $M< SERIAL RC What port to use

RCSERIAL command are active for 0.5 second and I send them 10 times a second. I'm doing it with 40Hz, but 10 should work! Should I see Roll, Pitch, Yaw, Thr changes in MultiWii conf when I send RCSERIAL commands? (my motors are off) Yes! Would I be able to ARM/DISARM with RCSERIAL? Yes! Should I se...
by crashlander
Tue Apr 08, 2014 7:56 am
Forum: Software development
Topic: $M< SERIAL RC What port to use
Replies: 16
Views: 4965

Re: $M< SERIAL RC What port to use

Than it is O.K.
BUT!!! You must send the command at least couple of times per second for this to work or normal PCM, PPM decoding routine takes over and than fail safe....


Regards
Andrej
by crashlander
Mon Apr 07, 2014 6:09 pm
Forum: Software development
Topic: $M< SERIAL RC What port to use
Replies: 16
Views: 4965

Re: $M< SERIAL RC What port to use

Since I''m hobby programer it is probably better (easier for me) to show you my code that works... :)

https://code.google.com/p/mwii-msp-tx/s ... _BABEL.ino

Regards
Andrej
by crashlander
Mon Apr 07, 2014 1:44 pm
Forum: Software development
Topic: $M< SERIAL RC What port to use
Replies: 16
Views: 4965

Re: $M< SERIAL RC What port to use

MultiWii Crius is to broad description there are AIO Pro versions with 4 serial ports, SE and LE have only 1!
Since MSP_SET_RAW_RC is normal MSP command it can be used on any available serial port but baud rate must match to what you set it while configuring your config.h

Regars
Andrej
by crashlander
Tue Mar 18, 2014 1:40 pm
Forum: Ideas
Topic: Airplane mode RTH
Replies: 824
Views: 323962

Re: Airplane mode RTH

PatrikE wrote:I have a Naze32 acro on the bench and started looking at.
;-)


Look fast! ;) (my AIO Pro has some issues)
by crashlander
Sat Mar 15, 2014 9:47 am
Forum: General discussions
Topic: Wiki - We need a Wiki - We really need a Wiki
Replies: 4
Views: 4070

Re: Wiki - We need a Wiki - We really need a Wiki

both github and google code have wiki stuff. I'm not sure how public editing it is, but I know on google code at least people need to be assigned to be able to edit. maybe something like google docs would be better, though there's no history and ability to edit/rollback changes. I'm not sure about ...
by crashlander
Wed Mar 12, 2014 1:55 pm
Forum: Ideas
Topic: Airplane mode RTH
Replies: 824
Views: 323962

Re: Airplane mode RTH

gps hold
in
i3dm wrote:3. horizon + gps home + gps hold + baro + mag (this is for RTH).

is not necessary (and is overridden) when gps home is activated.
baro
is also not needed with airplane (and it probably does nothing).

Regards
Andrej
by crashlander
Wed Mar 05, 2014 5:00 pm
Forum: Ideas
Topic: Airplane mode RTH
Replies: 824
Views: 323962

Re: Airplane mode RTH

I Want a Afro32!.... Yep it is the sexy-est FC I have ever seen. The bottom TX RX pads are probably not 5V tolerant (from checking the CPU data sheet and TC's code) but since most of UBLOX GPS's have internal Vreg and operate on 3.3V that is not problematic (at least mine gives 3.3V TX and RX when ...