Search found 28 matches

by vdjc
Sun Apr 20, 2014 5:26 pm
Forum: Software
Topic: Airplane RTH BaseFlight
Replies: 143
Views: 137546

Re: Airplane RTH BaseFlight

The code on github has just been updated with the latest sources from Patrick:
https://github.com/sbaron/baseflight/tree/rth_dev
by vdjc
Fri Apr 11, 2014 3:46 pm
Forum: Software
Topic: Airplane RTH BaseFlight
Replies: 143
Views: 137546

Re: Airplane RTH BaseFlight

vdjc moved settings to CLI. After that Cli dont work. The Hex before that worked. I've did a full rebuild and re-uploaded the hex. Seems to work now. 18 degrees limiting Max/Min is ok for testing. I have flown mine with 25 degrees Maxcorr. But 45 would be better if you want more precise/distinct na...
by vdjc
Thu Apr 10, 2014 6:25 pm
Forum: Ideas
Topic: Airplane mode RTH
Replies: 824
Views: 330059

Re: Airplane mode RTH

I've updated the hex and code to make these variables adjustable using the cli for now (much easier than gui).
Maybe we should open a new topic on the 32bit section for RTH on naze32?
Also, if you want some help to setup the arm toolchain, feel free to pm me.
by vdjc
Thu Apr 10, 2014 5:20 pm
Forum: Ideas
Topic: Airplane mode RTH
Replies: 824
Views: 330059

Re: Airplane mode RTH

I've tried with the uploaded firmware and it works here (using basefligh configurator/firmware flasher/load firmware [local] + flash firmware).
You need to click on 'Raw' link on the page where the hex is located (or use this direct link: https://github.com/sbaron/baseflight/ra ... flight.hex ).
*All* the settings in gps.h need to be configurable?
by vdjc
Thu Apr 10, 2014 4:44 pm
Forum: Ideas
Topic: Airplane mode RTH
Replies: 824
Views: 330059

Re: Airplane mode RTH

I've created a dev branch based on your code here: m If you dislike that, let me know and I'll delete it. I've added the failsafe rth as a feature, so it needs to be activated using the cli command 'feature FAILSAFE_RTH'. The code builds correctly and the board is working on my desk, but I've not te...
by vdjc
Thu Apr 10, 2014 2:29 pm
Forum: Ideas
Topic: Airplane mode RTH
Replies: 824
Views: 330059

Re: Airplane mode RTH

To get a bin/hex you could just use a prebuilt toolchain like this one: https://launchpad.net/gcc-arm-embedded/ ... q1-update/
Then just use the makefile provided in baseflight.
Or do you want to run your code under a debugger? In this case, what hardware are you using? (st-link v1,v2, something else?)
Also, is your merge available somewhere?
Thanks!
by vdjc
Thu Apr 10, 2014 12:38 pm
Forum: Ideas
Topic: Airplane mode RTH
Replies: 824
Views: 330059

Re: Airplane mode RTH

Hi,
Is this code the latest RTH version?
https://multiwii.googlecode.com/svn/bra ... 140402.zip
I'm recently interested in fixed wings, so I would be glad to help you merging this into baseflight.
It should not take a long time.
Regards.
by vdjc
Mon Nov 18, 2013 2:38 pm
Forum: Boards
Topic: Naze32 OSD
Replies: 17
Views: 12114

Re: Naze32 OSD

Thanks!
Since it uses the mwii protocol, it requires to be on the main usart so I won't be possible to use my bluetooth adapter together with it :(
But it seems to be an interesting ready-to-use solution.
by vdjc
Mon Nov 18, 2013 2:05 pm
Forum: Boards
Topic: Naze32 OSD
Replies: 17
Views: 12114

Naze32 OSD

Hi, Hi there any OSD (preferably cheap) that could be used with the naze32 board? Maybe something compatible with the mwii protocol or the frsky telemetry? I'm considering using a MinimOSD (10$), but it will require to add mavlink output to baseflight. Nothing wrong with that, but if something alrea...
by vdjc
Fri Aug 02, 2013 4:28 pm
Forum: Boards
Topic: MatchboxArm - development board for ARM Cortex-M3
Replies: 23
Views: 10646

Re: MatchboxArm - development board for ARM Cortex-M3

I would love to find such a tiny board with a STM32F4 on it... Until there's a naze32 board with such MCU ;)
by vdjc
Fri Aug 02, 2013 2:05 pm
Forum: Boards
Topic: MatchboxArm - development board for ARM Cortex-M3
Replies: 23
Views: 10646

Re: MatchboxArm - development board for ARM Cortex-M3

It seems to be a STM32F1 based board, so nothing really different than something like this:
http://abusemark.com/store/index.php?ma ... ucts_id=40
Moreover the abusemark board is cheaper...
by vdjc
Thu Feb 28, 2013 9:39 am
Forum: Boards
Topic: Naze32 hardware discussion thread
Replies: 3249
Views: 1409515

Re: Naze32 hardware discussion thread

I don't mean to meddle in things that are none of my business, but I tried a bunch of flight controllers, and from my point of view this card is without doubt the best value for money. If timecop is doing margin (I hope he do), then other flight controller manufacturers are doing a lot more!! In add...
by vdjc
Tue Feb 26, 2013 8:42 am
Forum: Boards
Topic: Stellaris Cortex M4F (preorder for september, 4.99$)
Replies: 140
Views: 55505

Re: Stellaris Cortex M4F (preorder for september, 4.99$)

aBUGSworstnightmare wrote:How to activate the I2C polling driver? Could'nt locate a #define on first view!


Sorry for the late reply (holidays!). It's in stellaris\board-stellaris.h @line 66 :
#define USE_I2C_POOLING
But it's defined by default...
by vdjc
Mon Feb 11, 2013 5:59 pm
Forum: Boards
Topic: Stellaris Cortex M4F (preorder for september, 4.99$)
Replies: 140
Views: 55505

Re: Stellaris Cortex M4F (preorder for september, 4.99$)

As for the sensors, I'm now seeing some negative value for the baro and the accelerometer is still noisy, but you say you are seeing the same thing. No, I see a slow update (little delay between moves and GUI updates) but my sensors show normal values (not noisy, exact baro value...). While testing...
by vdjc
Mon Feb 11, 2013 9:43 am
Forum: Boards
Topic: Stellaris Cortex M4F (preorder for september, 4.99$)
Replies: 140
Views: 55505

Re: Stellaris Cortex M4F (preorder for september, 4.99$)

@gompf-2 I don't take it wrong, no problem. Last time I tried, using gdb with the launchpad was not easy at all. That's why I prefer to use an IDE with an integrated/easy to use debugger, so I don't use the makefile for my own usage... @aimatt There's a port of the arduino gui for the launchpad: m B...
by vdjc
Sun Feb 10, 2013 12:11 pm
Forum: Boards
Topic: Stellaris Cortex M4F (preorder for september, 4.99$)
Replies: 140
Views: 55505

Re: Stellaris Cortex M4F (preorder for september, 4.99$)

Fixed: it was GCC optimization issue (missing volatile keyword).
Also, you can type "make bin" to get a bin file
by vdjc
Sun Feb 10, 2013 11:42 am
Forum: Boards
Topic: Stellaris Cortex M4F (preorder for september, 4.99$)
Replies: 140
Views: 55505

Re: Stellaris Cortex M4F (preorder for september, 4.99$)

OK, I've fixed the Makefile and add a startup code for gcc. It should build normally now. I've still have a strange issue: the code is working fine in debug mode, but fails in release mode. It seems to be caused by the sensor detection routine, so the i2c code is probably not working in release mode...
by vdjc
Sat Feb 09, 2013 5:39 pm
Forum: Boards
Topic: Stellaris Cortex M4F (preorder for september, 4.99$)
Replies: 140
Views: 55505

Re: Stellaris Cortex M4F (preorder for september, 4.99$)

I've started to upload some code here: m It's still very premature, but at least it compiles using crossworks or sourcery. I've not tested at all the sourcery version. Cli and java gui works, as well as sensors, but all the code related to pwm (in/out) remains to be done. I'm not sure it will go in ...
by vdjc
Fri Feb 08, 2013 9:25 pm
Forum: Boards
Topic: Stellaris Cortex M4F (preorder for september, 4.99$)
Replies: 140
Views: 55505

Re: Stellaris Cortex M4F (preorder for september, 4.99$)

Yes, the drotek 10DOF I use has the same configuration: MAG on mpu6050 I2C AUX line and it works perfectly with the I2C_BYPASS_EN set to 1 (mpu6050 INT_PIN_CFG register) and do not requires -fortunately- to use the DMP. But IMHO don't loose your time reinventing the wheel: the baseflight code is wel...
by vdjc
Fri Feb 08, 2013 7:10 pm
Forum: Boards
Topic: Stellaris Cortex M4F (preorder for september, 4.99$)
Replies: 140
Views: 55505

Re: Stellaris Cortex M4F (preorder for september, 4.99$)

Thanks for the schematic. The code is not yet online, but I'll put it on github or googlecode this week-end (or wherever you want).
by vdjc
Fri Feb 08, 2013 9:13 am
Forum: Boards
Topic: Stellaris Cortex M4F (preorder for september, 4.99$)
Replies: 140
Views: 55505

Re: Stellaris Cortex M4F (preorder for september, 4.99$)

The ppinout is on the silkscreen. Here's a scan https://dl.dropbox.com/u/14573179/tindie/bosterpack-imu.png You have a launchpad already? If not, I could send one of those too. Yes I already have one, thanks! As I told, baseflight is now running on my launchpad (pwm/ppm not yet finished). For now, ...
by vdjc
Thu Feb 07, 2013 2:21 pm
Forum: Boards
Topic: Stellaris Cortex M4F (preorder for september, 4.99$)
Replies: 140
Views: 55505

Re: Stellaris Cortex M4F (preorder for september, 4.99$)

@aimatt Please, what's the pinout on your board (PWM/I2C/UART/..)? I would like to update the code before uploading it. Actually I've go something compiling and running with Multiwiiconf, but there're probably a lot of bugs. FYI, I use crossworks to build the project, so you'll need either to get a ...
by vdjc
Tue Feb 05, 2013 8:04 pm
Forum: Boards
Topic: Stellaris Cortex M4F (preorder for september, 4.99$)
Replies: 140
Views: 55505

Re: Stellaris Cortex M4F (preorder for september, 4.99$)

Well, I should be able to port baseflight on this board, with these sensors: MPU6050 / HMC5883 / MS5611, since I only have the following IMU: http://www.drotek.fr/shop/en/62-imu-10dof-mpu6050-hmc5883-ms5611.html Give me 2 or 3 days (I'm a little busy right now), and I'll post something.
by vdjc
Tue Feb 05, 2013 8:37 am
Forum: Boards
Topic: Stellaris Cortex M4F (preorder for september, 4.99$)
Replies: 140
Views: 55505

Re: Stellaris Cortex M4F (preorder for september, 4.99$)

Anyone have code working with MPU6050 or HMC5583L or MS5611 yet? I have; tested and it works well. I also have code for battery, gps, sonar... So, what's your goal? You want to port baseflight on the launchpad? I wrote my code a few time ago, and it uses Freertos, but if you want I can modify to ru...
by vdjc
Wed Nov 28, 2012 2:04 pm
Forum: Boards
Topic: Stellaris Cortex M4F (preorder for september, 4.99$)
Replies: 140
Views: 55505

Re: Stellaris Cortex M4F (preorder for september, 4.99$)

I agree. You could also use the 32/64bit timers to avoid using the timer extenders. There are 5 x 32/64bit timers mapped on the connectors, and each of them have 2 channels, so you can drive up to 10 esc/servo. static uint32_t cycle_per_us; void pwm_init(void) { // using PD2 for testing SysCtlPeriph...
by vdjc
Sun Nov 25, 2012 10:47 am
Forum: Boards
Topic: Stellaris Cortex M4F (preorder for september, 4.99$)
Replies: 140
Views: 55505

Re: Stellaris Cortex M4F (preorder for september, 4.99$)

There's no PWM module, but timers have a PWM mode, so it should not be necessary to use some background code. I finally managed to make it work. The issue was that in PWM mode, the precaler does not works as a true prescaler, but as a timer extender (16bits to 24bits counter). Here's the code (no &q...
by vdjc
Fri Nov 23, 2012 10:53 pm
Forum: Boards
Topic: Stellaris Cortex M4F (preorder for september, 4.99$)
Replies: 140
Views: 55505

Re: Stellaris Cortex M4F (preorder for september, 4.99$)

Thanks Matt for sharing this!
I was really hoping to avoid the overload generated by such code.
What a pity not to be able to use the hardware for this, as on stm32!
(Regarding your last sentence, wouldn't it be 160000 cycles for 2ms/2000us? ==80000000/1000*2)
by vdjc
Fri Nov 23, 2012 10:17 pm
Forum: Boards
Topic: Stellaris Cortex M4F (preorder for september, 4.99$)
Replies: 140
Views: 55505

Re: Stellaris Cortex M4F (preorder for september, 4.99$)

Hi, Does anyone managed to get low frequency pwm on this board, to drive a rc servo motor? On the LM4F120, PWM mode uses 16bit timers which are obviously too smalls for 50Hz, without using a prescaler. Using the prescaler, I can't get a correct signal. I've read a tutorial here: m , but it only gene...