Hi,
Thought you might be interested in this project using ArduPilot to create an STM32F4 based Flight Controller with
onboard OSD. The board is basically an OSD dev board with the spare
stm32 pins broken out:
The software uses FreeRTOS. There are 2 top level tasks, one to draw the OSD and one to run the Ardupilot scheduler.
So
far the only other task is the scheduler timer which I opted to put in a task rather than an interrupt for
now.
Some tests of the drivers:
All software and hardware is licensed under GPL
Carrying on with my barebones STM32F4 based Ardupilot port.
Here is a pic of pretty much everything attached to the board (except Cam and Vtx)
--
You received this message because you are subscribed to the Google Groups "drones-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to drones-discus...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Andy,"Waiting" should be avoided at all costs. I'm not sure how much of the DMA is available in the SMT32 but that is a must-have for smooth operations. There are too many moving parts with critical timing to have *any* waiting going on.-TomP
Andy,
A video speaks a thousand words. That is very smooth.
So this is arduplane running on the OSD board under FreeRTOS (i.e. no NuttX)? So there’s no pixhawk involved at all? That’s quite impressive.
I suspect the lack of response is more just that there’s a lot going on and people didn’t really understand what you’re doing.
-Randy
--
Congrats!
One small question, why is it leaning sideways at launch?
-Randy
From: drones-...@googlegroups.com [mailto:drones-...@googlegroups.com] On Behalf Of Andy Little
Sent: 13-Nov-15 4:33 AM
To: drones-discuss
Cc: airt...@gmail.com; Craig...@uniserve.com
Subject: Re: [drones-discuss] Re: Ardupilot Flight Controller with onboard OSD
Maiden flight completed. N.B the short video is just highlights. The flight was a little longer than that :) However the legal 25 mW Vtx power in U.K. means I need an antenna tracker, to get decent video quality which hasnt been added yet, so I cut out much of the bits with poor video quality. Still much work to do therefore
--
Congrats!
One small question, why is it leaning sideways at launch?
> https://www.youtube.com/watch?v=pU-V8o-kjuI
>
> Anyway, it flies, even if currently it has only proved itself so far as a
> glorified elevon mixer :)
Congratulations!
Did you get a tlog for us to look at?
I notice you don't define HAL_OS_POSIX_IO, so I'm guessing the board
doesn't have a local filesystem for dataflash logs? If we could see some
logs we may be able to get a good idea of how well it may be able to
perform in auto flight.
Hi All,Still porting away :) Currently trying to catch up.Is the closest to master but the AP_InertialSensor code causes my OSD Artificial Horizon (ie showing latest IMU data) to update incredibly slowly, so something seriously wrong there. Lots change in ApInertialSensor recently?
Looking good.
-Randy
From: drones-...@googlegroups.com [mailto:drones-...@googlegroups.com] On Behalf Of Andy Little
Sent: 26-Nov-15 10:31 PM
To: drones-discuss
Cc: airt...@gmail.com; Craig...@uniserve.com
Subject: Re: [drones-discuss] Re: Ardupilot Flight Controller with onboard OSD
Quick update on the Ardupilot with Onboard OSD. I have been working on the problem of logging since the only available port I have left on the 64 pin part is a uart. I originally planned to use the Sparkfun OpenLog, but in testing, Unfortunately it doesnt seem to like being written at more than 19,200 baud. I was thinking of starting on an upgrade to a stm32 based version when I saw this product:
--
Cool, looking forward to the video!
-Randy
From: drones-...@googlegroups.com [mailto:drones-...@googlegroups.com] On Behalf Of Andy Little
Sent: 3-Dec-15 12:19 AM
To: drones-discuss
Subject: Re: [drones-discuss] Re: Ardupilot Flight Controller with onboard OSD
Quick update on this project
--
This is very, very cool.
From: drones-...@googlegroups.com [mailto:drones-...@googlegroups.com]
On Behalf Of Andy Little
Sent: Friday, January 8, 2016 8:17 AM
To: drones-discuss <drones-...@googlegroups.com>
Subject: Re: [drones-discuss] Re: Ardupilot Flight Controller with onboard OSD
An update on the project so you guys know its still alive :). Have had a few flights with the system now, despite the fact that UK is pretty wet and muddy at the moment. Here is a light from a couple of days ago, somehat more relaxed than the previous flights, since for once t it was quite a calm day so you can get more idea of the FC working. The Autopilot is sending position telemetry down the video link throughout the flight to the tracker. Onboard the plane is a 25 mW 5.8 GHz video transmitter. The range is not great and so (though it was quite wet, which reduces range), I need now to see if I can track down noise in the system. I have been over 2 km with a similar setup, though on a nice hot sunny day...
--
HI Andy,
[...]
> When I have a finished board with everything working and have written some
> documentation then it will be easier. Maybe the Ardupilot API will be more
> stable too.
Problem with this approach is that code will never stop to evolve. As
I said, keeping it as a fork will always be more trouble than trying
to integrate it the right way.
Lucas De Marchi