Started Aug 13, 2012 0 Replies 0 Likes
APM 1280 + mag, Keda brushless, Jakub folding frame, EPP1045 props, some spares. In the UKFlies OK, anyone who has read these forums won't have trouble except it being a 1280.…Continue
Started Jun 4, 2012 0 Replies 0 Likes
I have an APM 1280 running 2.5.x and the pitch output (5) seems not to work. Roll is OK - I can move the copter and the servo will respond. Pitch does nothing however. Interestingly, if I change the…Continue
Tags: stabilisation, camera
Started this discussion. Last reply by phillou91 Oct 8, 2011. 10 Replies 0 Likes
Just added a (tilt only) camera gimble - the cheap one from Hobby King. Now I'd like to get some stabilization working. I've lost track on how to do this on AC2 - last time I looked at this was in…Continue
Started this discussion. Last reply by Chris Anderson Jun 13, 2011. 3 Replies 0 Likes
As subject says - is there a rule of thumb when moving to AC2? should I start with the PID values from the Pirates NG version, or start from scratch with the defaults? AndrewContinue
Andrew Radford replied to Nicholas Pilkington's discussion Tlog file format?
Andrew Radford replied to Jon von Weymarn's discussion Telemetry to Turnigy 9X (with FrSky FLD-02 Telemetry Display Screen)
Andrew Radford replied to Jared Reabow's discussion Archaic log system Overhaul
Andrew Radford replied to Brian's discussion Motors for 300g 25cm quad
Andrew Radford replied to luis gonzalez's discussion quad keeps flying to one side
Andrew Radford commented on Arthur Benemann's blog post [Update] DroidPlanner v0.5.0 - Now with USB support
Andrew Radford replied to Shyam Balasubramanian's discussion Mission Planner source code
Andrew Radford commented on George Pokachalov's blog post Crash
Andrew Radford replied to joel moerkerk's discussion new ard-user with Crius AIOP needs help
Andrew Radford commented on UnmannedTechShop.co.uk's blog post Stackup Plates for Mounting Stuff
Andrew Radford replied to Jake Simon's discussion TLog to Friendlier Format
Andrew Radford replied to Ryan Rasmussen's discussion Could somebody verify if my mavlink request is correct?
Andrew Radford commented on Jonathan Price's blog post HobbyKing Selling ArduPilot Parts
Andrew Radford replied to Gary McCray's discussion Vibration Isolation and Dampening of APM / PX4 for version 2.9
Andrew Radford replied to Ryan Rasmussen's discussion Does anybody know what MAVLINK_NEED_BYTE_SWAP is in MAVlink?
Andrew Radford replied to Gary McCray's discussion Vibration Isolation and Dampening of APM / PX4 for version 2.9Posted on September 17, 2011 at 1:46pm 38 Comments 5 Likes
I've heard some people mention using bluetooth to communicate with microcontrollers as replacement for a serial or USB & FTDI. Recently some small bluetooth serial modules have become available from large electronics retailers and smaller ones that operate on large internet auction websites. They can be purchased now for just a few bucks. The module has all the bluetooth components integrated and takes 3 volt TTL level RS232 signals. It comes in a surface mountable pcb package, however…
ContinuePosted on February 22, 2011 at 3:14pm 6 Comments 1 Like
Screen shots after some sporadic work. Accel and TX calibration is working.
UI is a bit rude still, it's in Winforms. WPF is so much nicer, but can not run on Mono.
…
Continue
Patrick Andersen said… Hi Andrew,
Sorry for my late response.
I'm using the APM 2.0 with MAVLink v1.0, so I would be very interested in your new version!
I couldn't find it on https://github.com/mandrolic/ or in here.
I spend the last couple of weeks looking at the MAVLink part of my bachelor project with a drone, and really didn't expect to use this amount of time on this part.
So I'd hear, when you expect the new version to be on Github? or maybe, if you could send me what you have this far, I could work a little further on it to get it to work for my project, and of cause send improvements (if any) back to you?
Patrick
Andrew Radford said… I've just got the new version checked in on my fork here:
https://github.com/mandrolic/mavlink
you'll need python installed as well as the .Net 4 C# compiler, which you will have if you have installed any visual studio 2010 version. Probably it will work with studio 2012 also, perhaps the path to the csc compiler will need to be altered.
Anyway run pymavlink\generator\gen_all.py to create all the libs for all the languages including c#. You may have to create a 'python' directory IIRC the generation script for the python libs does not auto create that dir.
the lib should be created in the generator\CS\v1.0\mavlink_ardupilotmega directory. It's called mavlink.dll.
Let me know if you have any problems - I've not used the generated code extensively, there is bound to be issues.
To use the lib - create a Mavlink() class
call mavlink.ParseBytes() when you receive some bytes off the wire
any parsed mavlink packets will be raised on the 'PacketReceived' event
Andrew
Seth Bourne said…
Andrew Radford said… Just subscribe to the received event like:
private void MavlinkPacketReceived(object sender, MavlinkPacket e)
{
if (e.Message is MavLink.Msg_heartbeat)
{
var m = e.Message as MavLink.Msg_heartbeat;
Console.WriteLine("Heartbeat, version" + m.mavlink_version);
}
}
Every mavlink message is already defined, you just need to test the type of the Mavlinkmessage.Message property
Patrick Andersen said… Gee.. I just saw your response now..
So I'd started developing my own lib.
But this Tuesday I found out, you'd uploadet it, and have played a little around with it.
I commented on your pull request on GitHub - found a minor bug. :)
Keep up the good work! :)
Season Two of the Trust Time Trial (T3) Contest has now begun. The fourth round is an accuracy round for multicopters, which requires contestants to fly a cube. The deadline is April 14th.1296 members
690 members
51 members
8 members
24 members
© 2013 Created by Chris Anderson.
Powered by
