swissranger_camera package not found

classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|

swissranger_camera package not found

blueskin
Hello All,

I am really new to ROS and I've been trying to use our swissranger SR3000 camera with ROS. I've installed ros-cturtle-base and cob_camera_sensors. And as instructed on
http://www.ros.org/wiki/cob_camera_sensors#Swissranger
I've changed the udev and did 'rosdep install cob_camera_sensors' which gave.
       executing this script:
       set -o errexit
       #No Packages to install

And i tried launching as
'roslaunch cob_camera_sensors tof_camera_viewer.launch' which gave the following error

      core service [/rosout] found
      ERROR: cannot launch node of type [swissranger_camera/swissranger_camera]: Cannot locate installation of package swissranger_camera: [rospack] couldn't find package [swissranger_camera]. ROS_ROOT[/opt/ros/cturtle/ros] ROS_PACKAGE_PATH[/opt/ros/cturtle/stacks]


So I tried to install as 'sudo apt-get install ros-cturtle-swissranger-camera'  and I get the error
      E: Couldn't find package  ros-cturtle-swissranger-camera

I tried to see if there's a package, but 'rospack find swissranger_camera' gives
      [rospack] couldn't find package [swissranger_camera]

Am I missing something or some packages? Any help is greatly appreciated. Thank you.
Best,
CV

Reply | Threaded
Open this post in threaded view
|

Re: swissranger_camera package not found

tfoote
Hi,
swissranger_camera appears to be in the camera_drivers_experimental stack http://www.ros.org/wiki/swissranger_camera  You'll need to install it too. 

It looks like that is a missing dependency in the cob_camera_sensors package and cob_driver stack if this is a standard launch file. 

Tully

On Mon, Jan 10, 2011 at 12:54 PM, blueskin <[hidden email]> wrote:

Hello All,

I am really new to ROS and I've been trying to use our swissranger SR3000
camera with ROS. I've installed ros-cturtle-base and cob_camera_sensors. And
as instructed on
http://www.ros.org/wiki/cob_camera_sensors#Swissranger
http://www.ros.org/wiki/cob_camera_sensors#Swissranger
I've changed the udev and did 'rosdep install cob_camera_sensors' which
gave.
      executing this script:
      set -o errexit
      #No Packages to install
And i tried launching as
'roslaunch cob_camera_sensors tof_camera_viewer.launch' which gave the
following error

     core service [/rosout] found
     ERROR: cannot launch node of type
[swissranger_camera/swissranger_camera]: Cannot locate installation of
package swissranger_camera: [rospack] couldn't find package
[swissranger_camera]. ROS_ROOT[/opt/ros/cturtle/ros]
ROS_PACKAGE_PATH[/opt/ros/cturtle/stacks]

So I tried to install as 'sudo apt-get install
ros-cturtle-swissranger-camera'  and I get the error
     E: Couldn't find package  ros-cturtle-swissranger-camera

I tried to see if there's a package, but 'rospack find swissranger_camera'
gives
     [rospack] couldn't find package [swissranger_camera]

Am I missing something or some packages? Any help is greatly appreciated.
Thank you.
Best,
CV


--
View this message in context: http://ros-users.122217.n3.nabble.com/swissranger-camera-package-not-found-tp2230173p2230173.html
Sent from the ROS-Users mailing list archive at Nabble.com.
_______________________________________________
ros-users mailing list
[hidden email]
https://code.ros.org/mailman/listinfo/ros-users



--
Tully Foote
Systems Engineer
Willow Garage, Inc.
[hidden email]
(650) 475-2827

_______________________________________________
ros-users mailing list
[hidden email]
https://code.ros.org/mailman/listinfo/ros-users
Reply | Threaded
Open this post in threaded view
|

Re: swissranger_camera package not found

blueskin
Hello Tully,

I tried 'sudo apt-get install ros-cturtle-camera-drivers-experimental'
E: Couldn't find package ros-cturtle-camera-drivers-experimental
Is this the right way to install? is there a place where I can download this package from?
Thank you.
Best.
CV
Reply | Threaded
Open this post in threaded view
|

Re: swissranger_camera package not found

tfoote
This stack is not built into debians.  you'll have to pull it from source and add it to your ROS_PACKAGE_PATH.  See the wiki page for it is http://www.ros.org/wiki/camera_drivers_experimental

Tully

On Mon, Jan 10, 2011 at 2:10 PM, blueskin <[hidden email]> wrote:

Hello Tully,

I tried 'sudo apt-get install ros-cturtle-camera-drivers-experimental'
E: Couldn't find package ros-cturtle-camera-drivers-experimental
Is this the right way to install? is there a place where I can download this
package from?
Thank you.
Best.
CV
--
View this message in context: http://ros-users.122217.n3.nabble.com/swissranger-camera-package-not-found-tp2230173p2230808.html
Sent from the ROS-Users mailing list archive at Nabble.com.
_______________________________________________
ros-users mailing list
[hidden email]
https://code.ros.org/mailman/listinfo/ros-users



--
Tully Foote
Systems Engineer
Willow Garage, Inc.
[hidden email]
(650) 475-2827

_______________________________________________
ros-users mailing list
[hidden email]
https://code.ros.org/mailman/listinfo/ros-users
Reply | Threaded
Open this post in threaded view
|

Re: swissranger_camera package not found

blueskin
Hello Tully,

Thank you for your response.
So as you said I tried installing from the source by following instructions @
http://www.ros.org/wiki/ROS/Tutorials/StackInstallation
Had some problems but found a way to fix em and got the package installed.

But when I run the following
roslaunch cob_camera_sensors tof_ros.launch I get:

        1865]: camera calibration URL: file:////opt/ros/cturtle/stacks/cob_driver/cob_camera_sensors/ros/launch/tof_cob3-1_right.yaml
        [ WARN] [1294763575.359267446]: [camera] does not match name tof in file //opt/ros/cturtle/stacks/cob_driver/cob_camera_sensors/ros/launch/tof_cob3-1_right.yaml
        usb_set_debug: Setting debugging level to 255 (on)
        usb_os_find_busses: Found 008
        usb_os_find_busses: Found 007
        usb_os_find_busses: Found 006
        usb_os_find_busses: Found 005
        usb_os_find_busses: Found 004
        usb_os_find_busses: Found 003
        usb_os_find_busses: Found 002
        usb_os_find_busses: Found 001
        usb_os_find_devices: Found 002 on 008
        skipped 1 class/vendor specific interface descriptors
        usb_os_find_devices: Found 001 on 008
        error obtaining child information: Inappropriate ioctl for device
        usb_os_find_devices: Found 002 on 007
        skipped 1 class/vendor specific interface descriptors
        usb_os_find_devices: Found 001 on 007
        error obtaining child information: Inappropriate ioctl for device
        usb_os_find_devices: Found 001 on 006
        usb_os_find_devices: Found 001 on 005
        usb_os_find_devices: Found 001 on 004
        usb_os_find_devices: Found 001 on 003
        usb_os_find_devices: Found 005 on 002
        usb_os_find_devices: Found 002 on 002
        skipping descriptor 0x21
        skipped 1 class/vendor specific endpoint descriptors
        usb_os_find_devices: Found 001 on 002
        error obtaining child information: Inappropriate ioctl for device
        usb_os_find_devices: Found 001 on 001
        usb_set_debug: Setting debugging level to 0 (off)
        [ERROR] [1294763621.637601782]: Exception thrown while connecting to the camera: [SR::open]: Failed to open device!


Trying to figure out what's wrong. Let me know if you have any suggestions on this. Thank you again.

-CV
Reply | Threaded
Open this post in threaded view
|

Re: swissranger_camera package not found

Weißhardt, Florian
Hello,

The message "[ WARN] [1294763575.359267446]: [camera] does not match name tof in file" is just a warning, this shouldn't be the reason for not getting a point_cloud.

I think the reason is that you are not in the same group as the swissranger device (usually usb) and therefore you can't open the device.

Add yourself to the usb group:
* sudo adduser USERNAME usb

Best regards,
Florian


-----Ursprüngliche Nachricht-----
Von: [hidden email] [mailto:[hidden email]] Im Auftrag von blueskin
Gesendet: Dienstag, 11. Januar 2011 17:41
An: [hidden email]
Betreff: Re: [ros-users] swissranger_camera package not found


Hello Tully,

Thank you for your response.
So as you said I tried installing from the source by following instructions
@
http://www.ros.org/wiki/ROS/Tutorials/StackInstallation
Had some problems but found a way to fix em and got the package installed.

But when I run the following
roslaunch cob_camera_sensors tof_ros.launch I get:

        1865]: camera calibration URL:
file:////opt/ros/cturtle/stacks/cob_driver/cob_camera_sensors/ros/launch/tof_cob3-1_right.yaml
        [ WARN] [1294763575.359267446]: [camera] does not match name tof in file
//opt/ros/cturtle/stacks/cob_driver/cob_camera_sensors/ros/launch/tof_cob3-1_right.yaml
        usb_set_debug: Setting debugging level to 255 (on)
        usb_os_find_busses: Found 008
        usb_os_find_busses: Found 007
        usb_os_find_busses: Found 006
        usb_os_find_busses: Found 005
        usb_os_find_busses: Found 004
        usb_os_find_busses: Found 003
        usb_os_find_busses: Found 002
        usb_os_find_busses: Found 001
        usb_os_find_devices: Found 002 on 008
        skipped 1 class/vendor specific interface descriptors
        usb_os_find_devices: Found 001 on 008
        error obtaining child information: Inappropriate ioctl for device
        usb_os_find_devices: Found 002 on 007
        skipped 1 class/vendor specific interface descriptors
        usb_os_find_devices: Found 001 on 007
        error obtaining child information: Inappropriate ioctl for device
        usb_os_find_devices: Found 001 on 006
        usb_os_find_devices: Found 001 on 005
        usb_os_find_devices: Found 001 on 004
        usb_os_find_devices: Found 001 on 003
        usb_os_find_devices: Found 005 on 002
        usb_os_find_devices: Found 002 on 002
        skipping descriptor 0x21
        skipped 1 class/vendor specific endpoint descriptors
        usb_os_find_devices: Found 001 on 002
        error obtaining child information: Inappropriate ioctl for device
        usb_os_find_devices: Found 001 on 001
        usb_set_debug: Setting debugging level to 0 (off)
        [ERROR] [1294763621.637601782]: Exception thrown while connecting to the
camera: [SR::open]: Failed to open device!

Trying to figure out what's wrong. Let me know if you have any suggestions
on this. Thank you again.

-CV
--
View this message in context: http://ros-users.122217.n3.nabble.com/swissranger-camera-package-not-found-tp2230173p2235233.html
Sent from the ROS-Users mailing list archive at Nabble.com.
_______________________________________________
ros-users mailing list
[hidden email]
https://code.ros.org/mailman/listinfo/ros-users
_______________________________________________
ros-users mailing list
[hidden email]
https://code.ros.org/mailman/listinfo/ros-users
Reply | Threaded
Open this post in threaded view
|

Re: swissranger_camera package not found

blueskin
Hello Florian,
I think the problem is "[ERROR] [1294763621.637601782]: Exception thrown while connecting to the camera: [SR::open]: Failed to open device!"
because I am already a user on USB. Here's what I tried as you said,
cvarri@9W4DYH1:~$ sudo adduser cvarri usb
[sudo] password for cvarri:
The user `cvarri' is already a member of `usb'.
cvarri@9W4DYH1:~$ roslaunch cob_camera_sensors tof_ros.launch

Then I get the same problem.
Thanks,
CV
Reply | Threaded
Open this post in threaded view
|

Re: swissranger_camera package not found

blueskin
Okay, that might be some problem with my camera. The light at the back of SR3000 is always red, maybe there's some problem. I am trying SR4000, it's atleast connected to the device. I get the below messages. One message I want to know more about is error obtaining child information: Inappropriate ioctl for device
The good thing is it atleast says it's connected unlike the SR3000. Should I be changing anything in my launch or mesa.rules file? Thank you.

 .....[some messages]
NODES
  /
    swissranger (swissranger_camera/swissranger_camera)

starting new master (master configured for auto start)
process[master]: started with pid [9997]
ROS_MASTER_URI=http://9W4DYH1:11311/

setting /run_id to 70cfbaca-1f48-11e0-a2ba-002219211013
.....[more messages]...............
[ INFO] [1294945681.708995176]: camera calibration URL: file:////opt/ros/cturtle/stacks/cob_driver/cob_camera_sensors/ros/launch/tof_cob3-1_right.yaml
[ WARN] [1294945681.710361641]: [camera] does not match name tof in file //opt/ros/cturtle/stacks/cob_driver/cob_camera_sensors/ros/launch/tof_cob3-1_right.yaml
usb_set_debug: Setting debugging level to 255 (on)
..........
.....[more messages]

usb_os_find_devices: Found 001 on 001
error obtaining child information: Inappropriate ioctl for device
error obtaining child information: Inappropriate ioctl for device
error obtaining child information: Inappropriate ioctl for device

done.
Boot FPGA (62%)...)...
done.
[ INFO] [1294945688.412210183]: [SwissRanger device::open] Number of images available: 3
[ INFO] [1294945688.412737023]: [] Connected to device with ID: 3D-SR4000   
[ INFO] [1294945688.412792108]: [] libmesasr version: 1.0.14.653
Reply | Threaded
Open this post in threaded view
|

Re: swissranger_camera package not found

Rodrigo Baravalle
Hello!

I am currently using the swissranger SR4000. But I use the ethernet
interface. Anyway, when I got these messages:

> [ INFO] [1294945688.412210183]: [SwissRanger device::open] Number of images
> available: 3
> [ INFO] [1294945688.412737023]: [] Connected to device with ID: 3D-SR4000
> [ INFO] [1294945688.412792108]: [] libmesasr version: 1.0.14.653

I know the camera is ready.

So, I execute something like:

roslaunch ... set_eth.launch (you can use roslaunch set_usb.launch.)

The SR4000 gives you a sensor_msgs::PointCloud type, try to visualize
it on rviz (not the PointCloud2 type, if you can, it's very
interesting!). You can see typing rxgraph if the node "swissranger" is
publishing that topic..

I'm not sure if you have already done it. I understood the SR4000 is
not working?

I Hope this information is useful!

Rodrigo.

2011/1/13 blueskin <[hidden email]>:

>
> Okay, that might be some problem with my camera. The light at the back of
> SR3000 is always red, maybe there's some problem. I am trying SR4000, it's
> atleast connected to the device. I get the below messages. One message I
> want to know more about is error obtaining child information: Inappropriate
> ioctl for device
> The good thing is it atleast says it's connected unlike the SR3000. Should I
> be changing anything in my launch or mesa.rules file? Thank you.
>
>  .....[some messages]
> NODES
>  /
>    swissranger (swissranger_camera/swissranger_camera)
>
> starting new master (master configured for auto start)
> process[master]: started with pid [9997]
> ROS_MASTER_URI=http://9W4DYH1:11311/
>
> setting /run_id to 70cfbaca-1f48-11e0-a2ba-002219211013
> .....[more messages]...............
> [ INFO] [1294945681.708995176]: camera calibration URL:
> file:////opt/ros/cturtle/stacks/cob_driver/cob_camera_sensors/ros/launch/tof_cob3-1_right.yaml
> [ WARN] [1294945681.710361641]: [camera] does not match name tof in file
> //opt/ros/cturtle/stacks/cob_driver/cob_camera_sensors/ros/launch/tof_cob3-1_right.yaml
> usb_set_debug: Setting debugging level to 255 (on)
> ..........
> .....[more messages]
>
> usb_os_find_devices: Found 001 on 001
> error obtaining child information: Inappropriate ioctl for device
> error obtaining child information: Inappropriate ioctl for device
> error obtaining child information: Inappropriate ioctl for device
>
> done.
> Boot FPGA (62%)...)...
> done.
> [ INFO] [1294945688.412210183]: [SwissRanger device::open] Number of images
> available: 3
> [ INFO] [1294945688.412737023]: [] Connected to device with ID: 3D-SR4000
> [ INFO] [1294945688.412792108]: [] libmesasr version: 1.0.14.653
>
> --
> View this message in context: http://ros-users.122217.n3.nabble.com/swissranger-camera-package-not-found-tp2230173p2249547.html
> Sent from the ROS-Users mailing list archive at Nabble.com.
> _______________________________________________
> ros-users mailing list
> [hidden email]
> https://code.ros.org/mailman/listinfo/ros-users
>
_______________________________________________
ros-users mailing list
[hidden email]
https://code.ros.org/mailman/listinfo/ros-users
Reply | Threaded
Open this post in threaded view
|

Re: swissranger_camera package not found

blueskin
Hello Rodrigo,
I've been working with Kinect for sometime so forgot about the SR4000, Anyways, i run the following
roslaunch swissranger_camera sr_usb.launch
and I get
[ INFO] [1297720701.371263065]: [SwissRanger device::open] Number of images available: 3
[ INFO] [1297720701.371430408]: [] Connected to device with ID: 3D-SR4000  
[ INFO] [1297720701.371476069]: [] libmesasr version: 1.0.14.653
Then I run rosrun rviz rviz, then changing some settings gives me the PointCloud data and intensity image.
Thank you. That was helpful.
Best,
CV
Reply | Threaded
Open this post in threaded view
|

Re: swissranger_camera package not found

Beaker
This post has NOT been accepted by the mailing list yet.
In reply to this post by Rodrigo Baravalle
Hi Rodrigo, I can't launch swiss ranger through ETH:
roslaunch swissranger_camera sr_eth.launch
... logging to /home/beto/.ros/log/8d7e2ba4-6dd9-11e0-b28e-00238b8fe0b8/roslaunch-betoven-7284.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://betoven:53354/

SUMMARY
========

PARAMETERS
 * /rosversion
 * /rosdistro
 * /swissranger/auto_exposure
 * /swissranger/ether_addr

NODES
  /
    swissranger (swissranger_camera/swissranger_camera)

ROS_MASTER_URI=http://localhost:11311

core service [/rosout] found
process[swissranger-1]: started with pid [7302]
[ERROR] [1303584367.372293921]: Exception thrown while connecting to the camera: [SR::open]: Failed to open device!
[ERROR] [1303584371.372074062]: Exception thrown while connecting to the camera: [SR::open]: Failed to open device!

I've launch before "roscore", I can't find any solution, what can be the problem?
Thanks
Regards