pigeond pigeond

pigeon's blog - the pigeon concerto in D minor

< older blogs

Pilot filters in FGMap
2009/05/03 19:32:28
flightgear linux

A couple of weeks ago, one of the fellows (yes, you, MSmith) from the Island Virtual Airways, the virtual airline based on FlightGear, poked me and was asking me if there is a way to show only their airline pilots on FGMap. After spending a few coding train trips, I’ve added a very simple pilot filtering feature. Currently you can filter by the callsign and the aircraft. It also has query string support, so you can do things like http://mpmap02.flightgear.org/?pilots_filter_callsign=blah

Check it out at http://mpmap02.flightgear.org/. Code is in my usual git repo.


FlightGear git repository
2008/08/03 10:57:56
flightgear linux software

I’ve been keeping a git repo of my own for FlightGear for quite some time. I was using Tailor for importing CVS into git, since git-cvsimport seems to be an issue with the branches in FlightGear’s CVS. Tailor is very powerful, and work among over 10 different revision control systems.

On the other hand, I’ve been having some issues with tailor. Not until much much much later (about a week ago) that I discovered the cause and possibly the remedy. At the same time one of the FlightGear developers Tim Moore has figured out why git-cvsimport wasn’t happy, and more importantly how to make it happy.

And so I’ve re-imported FlightGear and SimGear source from scratch and it’s been going well so far. But for those who have been using my repo, you will have to re-clone it again.

I’ve also imported the FlightGear data repo, but beware, it’s rather big even for git. The bare repo is almost 1G. So if you’re happy with your current CVS checkout, I suggest you not to bother with my git one. Mind you, that’s the entire history. Considering a checkout is about 1.7G, that’s not too bad. I’ve also set a 512kB/s limit for my git upstream, just in case there are like 20 people cloning the data repo at the same time :)

YSSY -> YMML for LCA2008
2008/01/27 06:15:42
flightgear linux

In about 4 hours time I’ll be on my way to LCA2008. This is also my first trip to Melbourne. All good!

Also just wondering if there’s any other FlightGear-ers around LCA this year? (apart from those who I already know). We could have a little chat, or maybe some hacking/debugging/troubleshooting sessions? Or even some multiplay fun?

See you all at LCA!

permlink :: trackback :: Comments Off

My FlightGear stuff
2007/12/31 15:33:06

Every now and then people e-mail me or ask me on IRC where my FlightGear stuff is. So during this holiday I’ve spared a few moments and put together a dedicated page about all the stuff I’ve done with FlightGear.

Share and enjoy…

LCA 2007 Day 1
2007/01/15 20:43:45
flightgear linux

Hot day, cool people; nice LCA bag, bad wireless. My first day at LCA 2007.

It was pretty exciting to meet for the first time with a few people who I have known online for quite a while. George (or Gorilla) from the FlightGear gang, Leeds I know from #handhelds.org, and Endy from the ScummVM team showing off the latest version that has AGI support (for some of the old Sierra games like Space Quest I). Looking forward to his lightning talk at the Gaming Miniconf tomorrow.

Apparently Jeff ended up demonstrating the Wii in the Gnome miniconf (which I have missed). I reckon he should have demo using the Wiimote on Linux, which is pretty easy to setup. Or maybe that should be in the Gaming miniconf… :)

On the other hand, I was having weird trouble with the wireless on my laptop. It’s a Intel Centrino PRO/Wireless 2200BG, and I was using the ipw2200 module with the corresponding firmware. For some reasons it wasn’t able to get an IP from DHCP most of the time. I managed to get an IP once, but it dropped out pretty much straight away. I tried setting the same IP I got statically but it was only partially working (DNS working, for example, but nothing else worked, which was expected).

After consulting Jamie and John a bit they reckoned my wireless somehow kept dropping packets. And to be honest I haven’t actually use the wireless much on this laptop. I have no idea whether it’s a hardware/radio/firmware/driver problem or what. I ended up using my CF wifi card and it worked beautifully.

Anyone in the conference is welcomed to fix it for me :)

Took fewer photos than I wanted to today, but anyway they can be found here. I’ll try to put up new photos there for each LCA day.

permlink :: trackback :: Comments Off

FlightGear + Wiimote
2007/01/05 14:07:25
flightgear linux

So, we bought a Wii. Amazingly my wife managed to walk-in and bought apparently the second last Wii in that shop, on the first day of the release in Australia. We also got an extra Wiimote, Zelda the game, and two Wiimote grip protectors.

With thanks to WMD, you could use the Wiimote under Linux fairly easily. For those who don’t know Wiimote talks to the Wii console via bluetooth. So it works with any computer with bluetooth as well.

People have been using the Wiimote on the computers in all sorts of different ways. As a guitar (Wiitar), as a drum machine, for games like Counter Strike, a virtual light sabre, etc. As for me, using the Wiimote with a flightsim, like FlightGear, would naturally be the first thing I wanna try.

The Wiimote has three accelerometers for the three axes. I’ve modified slightly the WMD script to send the X and Z force to the uinput device as the absolute coordinates. jscal then takes care of the calibration of the two axes. Then I changed the commandMap in the script to send BTN_0 to BTN_9 from all the buttons on the Wiimote.

On the FlightGear side all I need is to write a joystick definition XML for the Wiimote. I’ve also made the ‘B’ button to be the modifier. For example I have arrow Up and Down for throttle, Left and Right for the rudder. Then if I hold down ‘B’, Up Down Left Right become panning the viewport. ‘1′ and ‘2′ for changing views, ‘+’ and ‘-’ for zooming in and out, ‘A’ for brakes and gears. All set. Now I can fasten my seatbelt^H^H^H^H^H^H^H^Hwrist strap, sit back and ready for take off.

Updated 5th Jan 2007: Here is a patch against WMD SVN repository. Like I said it’s pretty hacky at the moment. And you definitely have to use jscal to calibrate it before it will behave sanely. Also you probably want to make changes to the commandMap in wmd/Config.py to map more buttons.

And for those FlightGearers out there, here is the Wiimote joystick XML config I’ve made.

Here’s a video of FlightGear + Wiimote in action:

< older blogs
blog top 24 tags
api bonding debian engrish fglive fgmap flightgear google ISP laptop lca2007 lca2008 linux live map mpserver navaids network qotd quote of the day taiwan vim windows wine
Web pigeond.net

this site is
created with vim

nearly all pages in this site are validated as
Valid HTML 4.01!

css validated by
Valid CSS!

pigeond.net copyright 2001 - 2014
designed, created, and coded by pigeon at pigeond dot net
all rights reserved