Page 1 of 3 123 LastLast
Results 1 to 10 of 24

Thread: Introducing IPMechCam

  1. #1
    Join Date
    Jun 2009
    Location
    Wisconsin
    Posts
    368
    Images
    192
    Rep Power
    50

    Introducing IPMechCam

    EDIT: IPMechCam is no longer supported. See notes at the bottom of this post for its replacement.

    IPMechCam is a cross platform python program to display a motion jpeg stream from an IP camera. The intent is to provide a powerful, customizable and easy to use application for anyone to use in the Mech Warfare robotics competition.

    By default IPMechCam will support the TRENDnet TV-IP100W camera with the option to expand support for other similar IP cameras.

    The most interesting feature of IPMechCam will be its support for highly customizable HUD or Heads Up Display widgets. HUD widgets are able to display information in a visual manner over the top of IPMechCam's camera image. Information can include cross hairs to indicate targeting, sensor and control status relayed back from the mech and even indication of game status such as time remaining in the match and the current health of both you and your opponent.

    IPMechCam is the first tool in a line of applications geared for the Mech Warfare robotic competition. Other tools planned include gait visualization and optimization, gait generation, pose/sequence editor and robot control interface.


    Early test screenshot

    If you would like to try IPMechCam:

    1. Download and install Python (either version 2.5 or 2.6 is fine. I use 2.6)
    2. Download and install wxPython GUI toolkit library.
    3. Download the current version of UpgraydMech (edit: link removed).
    4. Unzip and run the UpgraydMech.py file.

    IPMechCam has been replaced with the much simplified UpMechIPCam
    To try UpMechIPCAM:

    1. Download and install Python (either version 2.5 or 2.6 is fine. I use 2.6)
    2. Download and install wxPython GUI toolkit library.
    3. Download UpMechIPCam.
    4. Unzip UpMechIPCam.zip and edit the first few lines of of UpMechIPCam.py to match your trendnet IP camera's settings.
    5. Run and enjoy!
    Last edited by Upgrayd; 04-24-2011 at 09:45 PM. Reason: Updated info.

  2. #2
    Join Date
    Apr 2010
    Location
    AZ and CA.
    Posts
    383
    Rep Power
    32

    Re: Introducing IPMechCam

    That sounds AWESOME Upgrayd! I definitely see a little Python in my future! lol

  3. #3
    Join Date
    Sep 2009
    Location
    Knoxville, TN
    Posts
    29
    Images
    11
    Rep Power
    26

    Re: Introducing IPMechCam

    Very nice! I’m interested for sure.

  4. Re: Introducing IPMechCam

    I like the cross platform deal. I especially like how you plan to make it as flexible. This is just a great idea.

  5. #5
    Join Date
    Jun 2009
    Location
    Wisconsin
    Posts
    368
    Images
    192
    Rep Power
    50

    Re: Introducing IPMechCam

    I made some great progress over the weekend. I was able to flesh out a rough format for HUD widgets and implemented a simple customizable crosshair demo.



    Here I have dropped two instances of the crosshair widget into IPMechCam's widget folder. On program start up IPMechCam has detected the the widget files, loaded them, displayed them using their defaults, and added menu listings for each.



    Clicking on a widgets menu listing opens that widgets preference dialog (if the widget has a preference dialog configured for it). In the case of the crosshair widget I simply have two slider controls to adjust the the origin of the cross hair.

  6. #6
    Join Date
    Feb 2009
    Location
    Mesa, AZ
    Posts
    351
    Images
    84
    Rep Power
    41

    Re: Introducing IPMechCam

    Nice project. I was doing the same thing in windows, but I prefer the open source nature of yours. Finally give me a reason to learn python.

  7. #7
    Join Date
    Apr 2010
    Location
    AZ and CA.
    Posts
    383
    Rep Power
    32

    Re: Introducing IPMechCam

    For those that may be interested in Python here's two tutorials I've found on the web; at least some of the syntax is different between these two versions:

    Beginner's Python v2.4 Tutorial [EDIT] - This was previously misidentified as a tutorial for v2.5/2.6.
    Python v2.5.2 Tutoral @ Python.org
    Python v2.6.5 Tutorial @ Python.org
    Python v3 Tutorial @ SwaroopCH
    Last edited by Stobs; 05-31-2010 at 11:48 AM.

  8. #8
    Join Date
    May 2008
    Posts
    2,228
    Images
    155
    Rep Power
    120

    Re: Introducing IPMechCam

    Quote Originally Posted by Stobs View Post
    For those that may be interested in Python here's two tutorials I've found on the web; at least some of the syntax is different between these two versions:

    Beginner's Python v2.5/2.6 Tutorial
    Python v3 Tutorial @ SwaroopCH
    99.999% of people are still using python 2.5/2.6 -- because nearly all 3rd party libraries have yet to port to python 3. (they're working on it, but many libraries took this opportunity to do a ground up rewrite on their software, rather than just porting to 3.0)

    -Fergs

  9. #9
    Join Date
    Jun 2009
    Location
    Wisconsin
    Posts
    368
    Images
    192
    Rep Power
    50

    Re: Introducing IPMechCam

    Just for fun here is a screenshot of IPMechCam running on my MacBook. Works and looks just the same.


  10. #10
    Join Date
    May 2008
    Location
    TN
    Posts
    853
    Images
    99
    Rep Power
    66

    Re: Introducing IPMechCam

    That's pretty groovy man. You have source yet?
    "If A is a success in life, then A equals x plus y plus z. Work is x; y is play; and z is keeping your mouth shut."
    -
    Einstein

    Don't be a HelpVampire

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Introducing the Mech Warfare Hexapod League
    By DresnerRobotics in forum Mech Warfare
    Replies: 11
    Last Post: 08-27-2009, 10:25 AM
  2. News/Announcement Introducing the Roboard: The Robot Computer
    By DresnerRobotics in forum Robot Computers
    Replies: 21
    Last Post: 04-07-2009, 05:51 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •