Spykee GStreamer element

So this aftermoon, I spent the time starting a GStreamer source element for Spykee. I have made it respond to key press navigation events coming upstream from say xvimagesink and move forward, back, left and right and d for dock. The code so far is here: http://github.com/zaheerm/zspykee/commits/master/flumotion-spykee/flumotion/component/spykee/gstreamer.py

Video with Spykee moving controlled through navigation events coming from xvimagesink: http://zaheer.merali.org/spykee_gstreamer.ogv

4 Responses to “Spykee GStreamer element”

  1. Frank Says:

    Hey, your work seams great even that I didnt try anything yet. Im current running os x. (Waiting for new x60)

    Im the “lucky” owner of the Spykee robot too, and I do believe it have many possibilities with some good software + modding. The mod and develop scene for Spykee seam very small and is only fairly slowly progressing. Im not a software developer myself, but I do have a good flair for new ideas and been working with computers and eletronics since I was a kid. But not beeing an software developer puts a limit to what I can do on software dev part.

    Im your opinion, would it be hard to make a simple web-interface for Spykee. Could be a server based metod like “iSpykee LAN controller” with a http server running on top with a simple web interface for the simple movements, frontlight, docking etc. And then the video could be a java feed ore something like that.

  2. admin Says:

    Frank, I don’t see why not. It should be quite easy to create a web based ui for Spykee. With the twisted protocol that I’ve written, hooking up a python based web UI should be not much work at all.

  3. Sam Says:

    Great job!
    I still cannot view the video using gstreamer though. If I run gstreamer.py (under zspykee folder), the robot undocks and beeps, but the video window never comes up :( Netstat shows a lot of streaming activities between my computer and the robot so I think the video is getting streamed but there is some problem with my installation of gstreamer. Any idea? I’m running ubuntu 9.04, gstreamer 0.10.6.2. Running ‘gst-launch videotestsrc ! xvimagesink’ brings up the test video window correctly.

    zspykee/app.py works great! I can control the robot’s motors and leds without any problems. Thanks a lot!
    Sam

  4. admin Says:

    @Sam I have only tested with a much more recent GStreamer.

Leave a Reply