[Pyro-users] Pyro 5.0 Yum Repository for Fedora 9

2008-10-20 Thread Douglas S. Blank
I've just updated our Python Robotics RPM to Pyro 5.0. This means that 
you can install Pyro with yum install pyrobot and it will stay updated 
as we change it. Below, you'll find the instructions for setting up the 
repository.


I didn't get the old versions of player/stage/gazebo to work with the 
new Fedora, but Fedora 9 does come with version of each. These haven't 
been tested with Pyro5---perhaps it works, but more than likely the 
interface between Pyro and P/S/G will need to be adjusted.


Patches accepted!

-Doug

---

To add the Python Robotics Yum Repository to your Linux system:

1) As root, put the following in the file /etc/yum.repos.d/pyrobot.repo:

[pyrobot]
name=Python Robotics
baseurl=http://165.106.10.249/pyro/fedora/$releasever/$basearch
gpgkey=http://165.106.10.249/pyro/fedora/RPM-GPG-KEY-dblank
enabled=1
gpgcheck=1

2) Then, you (as root) can yum install pyrobot

3) Pyro will then be updated with your normal system updates.
___
Pyro-users mailing list
Pyro-users@pyrorobotics.org
http://emergent.brynmawr.edu/mailman/listinfo/pyro-users


Re: [Pyro-users] Problems with V4LCamera

2008-10-20 Thread Douglas S. Blank

Bradford Barr wrote:
Excuse my ignorance, but I'm not exactly sure what you mean by using the 
other init.


Do I just throw a #define DUMMY_VIDIOC_QUERYCAP at the top of V4L.cpp 
and recompile?


You'll probably need to make sure that both of the V4L::init methods are 
not defined. There is one for V4L1 and one for V4L2, and you should make 
sure only one gets evaluated.


Obviously we need a way of testing which V4L a user has, and then using 
that version. I'm not sure Pyro has been tested with V4L2, so there very 
well may be other issues.


Of course, I'm only guessing that this is the problem to begin with...

-Doug


Brad

On Mon, Oct 20, 2008 at 11:43 AM, Douglas S. Blank [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:


Bradford Barr wrote:

Hey all,

I'm new to Pyro, and I'm having some issues with the V4LCamera.
When I run a Test robot with a V4LCamera device it asks me for
the device, width, height and channel. I leave all of those
default and get an error:

V4L constructor '/dev/video0' (160 x 120) x 3 ch = 0
Initializing Video4Linux /dev/video0..Error: with
Videochannelioctl VIDIOCGCHAN: Invalid argument

lsmod shows that I have v4l1_compat installed, and I've used the
camera with other programs (mplayer and opencv). I'm runnning
Archlinux, kernel 2.6.27. http://2.6.27. http://2.6.27. Any
help would be greatly appreciated.

Thanks in advance,
Brad


Brad,

I don't have time to dig into this this week, but I would suspect it
might be a V4L1 vs V4L2 issue. Take a look at:

pyrobot/camera/v4l/V4L.cpp

it looks like there is a section of code marked with
DUMMY_VIDIOC_QUERYCAP that might work for you. You could use that
init rather than the other, and re-make the file.

Let us know if that helps (or if you solve the problem). Thanks,

-Doug




___
Pyro-users mailing list
Pyro-users@pyrorobotics.org
http://emergent.brynmawr.edu/mailman/listinfo/pyro-users