Showing posts with label MultiKopter. Show all posts
Showing posts with label MultiKopter. Show all posts

Apr 8, 2011

DUBwise for UAVTalk

There is now a new Version of DUBwise - this Blog-Post intends to give some background and insight about this new thingy.


Why UAVtalk?
UAVTalk is an open protocol designed for communicating with UAVs. It is originated by the great OpenPilot-Project but can also be used in other projects. It is very efficient and flexible by using xml for the protocol description but raw binary values for transfer.

Why a new version?
To be honest, I tried to make the recent DUBwise speak UAVtalk but I failed badly. This has two main reasons: #1 DUBwise is grown wild over about 2 years and especially with its roots in J2ME and the MikroKopter Protocol. I have to confess that it has grown to a big and fragile beast. #2 When I really started the project I was on a backpacking trip to the other side of the world which consumed and is consuming a lot of my time and abilities.
I realised that way to late after wasting a lot of precious time walking in the wrong direction. But better now than never I started DUBwise for UAVTalk as a new project when I had the van all for myself for three weeks. What does that mean for the user:
- no J2ME support ( as this was the biggest problem with the DUBwise code base - perhaps I will do a minimal J2ME version when I have a week in a dark cellar, but just because my UAVTalk protocol code had J2ME still in mind and to justify the pain and uglyness of that )
- very limited functionality on the start ( The initial version in the market has only a UAVObject Browser and Audio Voice output - but even that little bit could help on the field so I am releasing it now as it is)

That is bad for the user on one side, but on the other it is better in the long-run because I also gain more flexibility and am not bound to old ideas. For the example of the Audio Voice Output ( StatusVoice ) this means that the user can not only switch on and off stuff that is spoken statically - he can also define text blocks which can contain UAVObjects that are spoken. That is a very flexible approach and so much closer to the flexible OpenPilot way of thinking.

Release steps:

I uploaded the version to the market and commited the rest of the protocol stuff to the OpenPilot repository. I released the protocol stuff ( juavtalk and juavobjects ) in their svn repo with "OpenPilot Team" as author and unter the GPL but I will stick with my non military cc license for the DUBwise code. I will publish the DUBwise code as usual on my github account - but I need to do a cleanup first and I am going to a 5day-ish backcountry hiking trip now, so there could be a delay with that and the reply from me - but are now probably used to that fact since as a backpacker now I am not on my PC 24/7 anymore at this moment ( will change ) ..



Forecast:

As I said for approx. 5 days I will be in the bush without equipment the next time, but after that I will try to reply to the feedback. After that I will build a screen to show an artificcial horizon and values. I will use the same mechanism I produced for the StatusVoice to pick UAVObjects to display. These are the two things which are used most in the MK-DUBwise Version so I will polish them first ( like adding conditions to the StatusVoice blocks ) before adding more features. It is getting colder and colder here in New Zealand so I think I will find more time for coding now.

Jul 3, 2009

Controlling Mikrokopter with a SpaceMouse on an OpenWrt Router

I improved my SpaceMouse MikroKopter flying setup so that it's now more practical. In the old setup for piloting the MikroKopter with a SpaceMouse ( look here) - I used my notebook for running Riddim. This mainly had 3 drawbacks:
- setup time until i can start flying with this setup was very high
- not reliable enough ( I install software and do experimental stuff on my notebook too often to believe it could be a reliable MultiKopter Controller )
- in the notebook setup piloting was only possible when sitting

In the new setup i use one openwrt router ( asus wl500g premium ) to run the riddim software:
side top

The Datalink to the Mikrokopter is done with ZigBee Pro - which is connected over one MK-USB to the router ( later i can get rid of the MK-USB and use one of the 2 native serial ports in the router to save weigth and power).
The keyswitch to start the mikrokopter and the other switches are connected to an mini gamepad i bought for ~5Eur and took apart to connect wires.




The whole thing is powered by a 2S LiPo ( to ensure the 7805 is not getting to hot).


innerrouter_setup

résumé

Pros:
- very intuitive ( you move the mouse as you want your QuadroKopter to fly )
- one free hand - only one hand needed for flying ( so you have one hand free for operating other functions, for a cigarett, a mobile phone ,a tissue , ... )
- keyswitch to start the Multikopter often lets spectator smile ;-)

Cons:
- router needs ~1min to boot ( i deactivated some stuff in the init.d allready but i have some more options left i can try like boot_wait_time, removing modules i dont need , ... - i hope i can get it ready in <30s )
- landing ( more touch down than soft at the moment with preasure sensor )
- not really suitable for acrobatic flight

credits
- xm for help on porting to openwrt
- sublab for infrastructure

Feb 11, 2009

DUBwise ScreenCast Test

I am trying to make a screencast of DUBwise - this is a first result ( sorry for the poor audio ):

DUBwise screencast test from ligi on Vimeo.

Feb 10, 2009

Oktopussy Failsave Test

The most interesting thing about 8 Engines is that some ( up to 4 ) can fail without causing a crash. We made a little video while we tested this "Feature":


Oktopussy Failsave Test from ligi on Vimeo.

Feb 6, 2009

DUBwise RC-Mount

Since i build the DUBwise Range extender - there are some new usecases in which i use dubwise while the MultiKopter is in the air. For that i needed a mount that i have my hands free for flying. This is the mount i build from parts i found in my Hobby-Room ( price of parts <5$ ):

dubwise_mount1

dubwise_mount_detail2

DSC00112

dubwise_mount_detail3

weight of 87g with sun-protection - which is very ok for mounting on the RC:
dubwise_mount_side