I tried to set the parameters by declaring them in the configuration
file as follows:
But there was no luck with this. The source code mentions that the
parameters can be set in the configuration file (line 61)
I am not sure about the way i am declaring the parameters.
So as a work-around i am currently writing the source code using the SR3000
provided API's (without using player provided sr-3000 driver) and using
player drivers to control my robot.
Although I would be glad to hear about setting SR-3000 parameters in player
. If anyone has experience with this please reply.
On Mon, Dec 14, 2009 at 7:52 PM, Guruprasad Hegde <prasad.mh@...:
> Hi all,
> I am trying to run swissranger sr3000 camera using player
> provided drivers.
> My configuration file is
> name "sr3000"
> provides ["pointcloud3d:0"
> I am able to successfully connect to sr3000 and get data (x,y,z
> coordinates of points) by using the driver.
> The data fetching part of my c++ code looks like :
> using namespace PlayerCc;
> PlayerCc::PlayerClient client(gHostname, gPort);
> PlayerCc::Pointcloud3dProxy pc(&client, gIndex);
> player_pointcloud3d_element_t srpoints;
> for(j=0; j<=100; j++) //capture 100
> srpoints = pc.GetPoint(i);
> z[i]= srpoints.point.pz; // X,Y,Z
> coordinates of points
> x[i]= srpoints.point.px;
> y[i]= srpoints.point.py;
> catch (PlayerCc::PlayerError e)
> std::cerr << e << std::endl;
> return -1;
> return 0;
> I would like to know how to modify this code so that i can set the
> integration time for the camera in my C++ code.
> Any help would be really appreciated.
> I am using player3.0.0-rc3 on FC7 platform.
> Thanks in advance,