This is a part of my world file
<model:Pioneer2DX>
<id>robot1</id>
<rpy>0 0 0</rpy>
<xyz> -29.5 -10.0 0.03</xyz>
<model:SickLMS200>
<id>laser1_teammate1</id>
<scanRate>10</scanRate>
<mass> 0 </mass>
<xyz>+0.025 0.00 0.03</xyz>
<rpy>0 0 -35</rpy>
<model:CanonVCC4>
<id>camera1_teammate1</id>
<rpy>0 0 +35</rpy>
<xyz>-0.00 0.0 0.30</xyz>
<renderMethod>AUTO</renderMethod>
<zBufferDepth> 8 </zBufferDepth>
<updateRate>5</updateRate>
</model:CanonVCC4>
</model:SickLMS200>
</model:Pioneer2DX>
and this is my config file
driver
(
name "gazebo"
provides ["simulation:0"]
plugin "libgazeboplugin"
server_id "default"
)
driver
(
name "gazebo"
provides ["position2d:0"]
gz_id "robot1"
)
driver
(
name "gazebo"
provides ["laser:0"]
gz_id "laser1_teammate1"
)
driver
(
name "gazebo"
provides ["camera:0" ]
gz_id "camera1_teammate1"
)
driver
(
name "gazebo"
provides ["ptz:0" ]
gz_id "camera1_teammate1"
)
driver
(
name "cameracompress"
provides ["camera:1"]
requires ["camera:0"]
)
driver
(
name "cmvision"
provides ["blobfinder:0"]
requires ["camera:0"]
colorfile "colors.txt"
)
I move ptz using this C code:
for (i=0 ; i< blobfinder->blobs_count; i++)
{
green = (blobfinder->blobs[i].color&color) >> 8;
if (green != 0)
{
if (blobfinder->blobs[i].x < 160 )
playerc_ptz_set(ptz, ptz->pan+0.1 ,0,ptz->zoom );
else
playerc_ptz_set(ptz,ptz-> pan-0.1, 0, ptz->zoom);
}
}
2006/7/11, Nate Koenig <[EMAIL PROTECTED]>:
Can you post your gazebo world file, and player config files? I'll
take a look at them.
-nate
On 7/11/06, Valentino <[EMAIL PROTECTED]> wrote:
> Hi nate thanks for answer
> The shaking occur only when i move the camera and whole robot shake!
> I think motion camera cause shaking to my robot and not viceversa. is it
> possible ?
> I'm trouble also for that warning message that appear repeatedly when i move
> camera:
> " warning : Unhandled message for driver device=16777343:7000:8:0 type=2
> subtype=1 len=20" because i think this message slow my simulation
>
>
>
>
> 2006/7/7, Nate Koenig < [EMAIL PROTECTED]>:
> > Hello,
> >
> > Does the shaking occur only when you move the camera? And does the
> > whole robot shake, or is it just the camera?
> >
> > -nate
> >
> > On 7/1/06, Valentino <[EMAIL PROTECTED] > wrote:
> > > Hi!
> > > i have a problem with PTZ camera. I'm using a canon VCC4 and i'd like
> that
> > > this camera can center a green blob: so if blob is on left of FOV,
> camera
> > > rotate in counterclockwise and viceversa if blob is on right of FOV.
> > > This is my simple code:
> > >
> > > playerc_client_read(client);
> > > for (i=0 ; i< blobfinder->blobs_count; i++)
> > > {
> > > green = (blobfinder->blobs[i].color&color) >> 8;
> > > if (green != 0)
> > > {
> > > if (blobfinder->blobs[i].x < 160 )
> > > playerc_ptz_set(ptz, ptz->pan+0.1 , 0
> ,ptz->zoom );
> > > else
> > > playerc_ptz_set(ptz,ptz-> pan-0.1, 0, ptz->zoom);
> > > }
> > > }
> > >
> > > But i get this warning message when "playerc_ptz_set" is executed :
> > > "warning : Unhandled message for driver device=16777343:7000:8:0 type=2
> > > subtype=1 len=20"
> > > Why ???
> > > Nevertheless my camera can rotate but i have noted shaking while my
> robot
> > > move why ???
> > >
> > > thanks in advance
> > >
> > > Using Tomcat but need to do more? Need to support web services,
> security?
> > > Get stuff done quickly with pre-integrated technology to make your job
> > > easier
> > > Download IBM WebSphere Application Server v.1.0.1 based on Apache
> Geronimo
> > >
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> > >
> > >
> > > _______________________________________________
> > > Playerstage-gazebo mailing list
> > > [email protected]
> > >
> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
> > >
> > >
> > >
> >
> > Using Tomcat but need to do more? Need to support web services, security?
> > Get stuff done quickly with pre-integrated technology to make your job
> easier
> > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> >
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> > _______________________________________________
> > Playerstage-gazebo mailing list
> > [email protected]
> >
> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
> >
>
>
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>
>
> _______________________________________________
> Playerstage-gazebo mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
>
>
>
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Playerstage-gazebo mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Playerstage-gazebo mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
