From: Brad K. <bkr...@et...> - 2005-11-02 20:38:15
|
Hey Paul, I'll take a look at adding this patch to the Player 2.0 driver in the next week or so. Best regards, Brad Paul Osmialowski wrote: > Hi there! > > I have submitted new v4lcapture.c patch (id=1338823, together with Ben > Groholsky's munmap patch which disappeared at some time). > The problem was with USB camera "ID 0553:0002 STMicroelectronics > Imaging Division (VLSI Vision) CPiA WebCam". Player was exiting on > VIDIOCGFBUF ioctl error. Fortunately, this error does not have much > impact on whole player process stability, so it can be safely ignored. > Finally, this webcam works fine for me. Sample configuration file: > driver > ( > name "camerav4l" > provides ["camera:0"] > port "/dev/video0" > source 0 > mode "RGB24" > size [176 144] > ) > > Current player tarball with my patches is available here: > http://king.net.pl/playercontrib/my_patches/player-1.6.5-patched-20051026.tar.bz2 > > I have also provided my own gentoo ebuilds there: > http://king.net.pl/playercontrib/my_patches/psg-portage-20051026.tar.gz > they're based on those I have found on this forum recently. My changes > are: > - gazebo-0.5.2 with lib3ds dependency > - player-1.6.5 with my patches and more dependencies and USE flags > - opencv-cvs with python dependency > > Last new thing I have published is power monitor for pioneer (and any > other devices that uses batteries). When power is too low it runs > shell command (by default halts computer). It's called lowpower: > http://king.net.pl/playercontrib/lowpower > It runs in infinite loop. When connection with player server is down, > it constantly tries to reconnect after few seconds. > On our P2DX we're starting it in /etc/rc.d/rc.local three seconds > after player is started: > > echo ":time" > ntpdate ntp.task.gda.pl > echo ":player" > /root/bin/player.sh & > sleep 3 > echo ":lowpower" > /root/bin/lowpower 127.0.0.1 6665 0 10.9 "date >>/root/powerdown.log; > shutdown -h now" & > echo ":FINISH:" > sleep 7 > > [root@crusoe ~]# cat /root/bin/player.sh > #!/bin/sh > while test 0 = 0 > do > echo "Starting player" > cd /root > /usr/local/bin/player pioneer.cfg > done > > Cheers, > Paul > > > ------------------------------------------------------- > This SF.Net email is sponsored by the JBoss Inc. > Get Certified Today * Register for a JBoss Training Course > Free Certification Exam for All Training Attendees Through End of 2005 > Visit http://www.jboss.com/services/certification for more information > _______________________________________________ > Playerstage-users mailing list > Pla...@li... > https://lists.sourceforge.net/lists/listinfo/playerstage-users |