November 17, 2006

RobotInterface.cpp attempt

RobotInterface is here

The idea is to create an instance of the RobotInterface class. When initialised it will open a dialog window showing live feed from the webcam – unfortunately the user has to select the right device (the webcam) from a combo box and click ‘initialise’ – tried all morning but couldnt find a way around this as the code given isnt abstracted away from the combo boxes etc…. My C++ skills arent up to seperating them i’m afraid!!!

Then we should be able to call RobotInterface.SaveImage(), which grabs an image and saves it to “camimage.bmp” in the app directory, which can then be loaded by the CImg stuff. Again, can’t find a way around this but as we are talking about pretty low level API calls hopefully it will be quick enough to do one or two grabs a second.

Not sure if the main file should really should be RobotInterface.h instead of .cpp – anyone help???

ps Tom – I have modified DXCapture.cpp and DXCapture.h so these files aren’t the same as the ones you will have been working on – just so you know!

- 2 comments by 1 or more people Not publicly viewable

  1. You think you can get this workin on Tuesday when we see the bot?

    A header file is basically copied into the top of the cpp file that has the #include by the compiler. The only cpp file we will have is the file that contains the main() function.

    19 Nov 2006, 15:50

  2. Matt


    Hopefully we will have a while with the bot…. so hope to get it working (however messy the solution might be!)

    See you tmmrw

    19 Nov 2006, 23:45

Add a comment

You are not allowed to comment on this entry as it has restricted commenting permissions.

November 2006

Mo Tu We Th Fr Sa Su
Oct |  Today  | Dec
      1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30         

Search this blog



Most recent comments

  • The reflective writing is submitted individually so make sure you submit it yourself tomorrow mornin… by on this entry
  • Yeh Ant's charts look great. Not sure – Ant reckons 1650 max (10% over), so if anyone has any sugges… by on this entry
  • Wow, the report looks really good :) Do you think it will matter too much if it is a couple of hundr… by on this entry
  • nice, overs better than under ;) by on this entry
  • I'll do the other bits then: introduction/overview of person tracking, testing/problems (if Ant+Hoi … by Matt on this entry

Blog archive

Not signed in
Sign in

Powered by BlogBuilder