I am trying to get data from the CameraProxy object
when running my program in Stage. I realise this is
probably something to do with the FillData method, but
I'm not sure how to use it. The arguments are
(player_msghdr_t hdr, const char *buffer), but I can't
find any example codes that use the CameraProxy object
so I'm not sure what these mean or how to use them to
Also once I have data how do I get this onto screen as
a moving image?
Please keep replies fairly low tech as I am very new
at this! Thanks
How much free photo storage do you get? Store your holiday
snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com
On Wed, 2005-10-05 at 08:15 -0700, Richard vaughan wrote:
> Stage doesn't simulate a camera, so you can't use a camera proxy. If
> you need simulated images, Gazebo is the choice for you.
We have written a blobcamera interface that takes the output of the
blobfinder and turns it into a pixel-based camera. It isn't a Player
device (resides in our memory-mapped Python/C++ code layer), but the
idea might be used to build such a beast in Player. For many types of
experiments, it is a nice approximation to a camera, without having to
resort to Gazebo. Of course, the Gazebo-rendered camera views are a
beautiful thing to behold!
Here is the C++ code that takes blobfinder data and turns it into a
pixel-based camera field:
If you were interested in turning this into a Player device, we would
use it in our Pyro project, and I would help write and test it. I would
like to turn all of our ad hoc "devices" into Player devices over time
(including a Python-based Stage-like simulator---makes adding new
elements to the simulator very easy, if not fast).
> Richard Vaughan
> School of Computing Science / Simon Fraser University