i3drobotics / i3dr_deimos-ros

ROS driver for the I3DR Deimos stereo camera
http://i3drobotics.com/deimos.html
2 stars 2 forks source link

pixel format unavailable #6

Open void-robotics opened 6 years ago

void-robotics commented 6 years ago

Hello,

Trying on a normal linux machine (instead of the TX1) gives:

terminate called after throwing an instance of 'std::runtime_error'
   what(): pixel format unavailable
jveitchmichaelis commented 6 years ago

Hi,

I'll try and reproduce this - can you give me a list of which steps you followed to install the camera? Ideally from a clean system.

Cheers!

void-robotics commented 6 years ago

On a Ubuntu 16.04:

  1. plugged camera in
  2. cloned this repo into catkin_ws/src
  3. installed dependencies in README
  4. roslaunch deimos deimos.launch
jveitchmichaelis commented 6 years ago

Ok, when I have some time I'll try on a clean ROS install. It may be worth experimenting with something like Docker to keep things repeatable.

On Wed, 5 Sep 2018, 14:01 Nathan George, notifications@github.com wrote:

On a Ubuntu 16.04:

  1. plugged camera in
  2. cloned this repo into catkin_ws/src
  3. installed dependencies in README
  4. roslaunch deimos deimos.launch

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/i3drobotics/deimos-ros/issues/6#issuecomment-418721869, or mute the thread https://github.com/notifications/unsubscribe-auth/ADA2J93pTOvX1s1GUsG4iQ5hpDudJpQfks5uX8s7gaJpZM4Wa1K0 .

jveitchmichaelis commented 6 years ago

@nathangeorge1 Is this also related to the issue that got fixed with a clean install, or something separate?

void-robotics commented 6 years ago

likely something separate but I'll check

void-robotics commented 6 years ago

even with copying the udev rules and doing a clean install, this error persists

jveitchmichaelis commented 6 years ago

Can you open the camera in eg. Opencv? Or something other than ROS?

On Fri, 7 Sep 2018, 16:30 Nathan George, notifications@github.com wrote:

even with copying the udev rules and doing a clean install, this error persists

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/i3drobotics/deimos-ros/issues/6#issuecomment-419476990, or mute the thread https://github.com/notifications/unsubscribe-auth/ADA2J3TD_8Upx00G77qmsjtskJn5xfs-ks5uYpEugaJpZM4Wa1K0 .

void-robotics commented 6 years ago

I was able to open it using the e-con Windows utility

From: Josh Veitch-Michaelis notifications@github.com Sent: Friday, September 7, 2018 1:36 PM To: i3drobotics/deimos-ros deimos-ros@noreply.github.com Cc: George, Nathan D ndgeorge@wpi.edu; Mention mention@noreply.github.com Subject: Re: [i3drobotics/deimos-ros] pixel format unavailable (#6)

Can you open the camera in eg. Opencv? Or something other than ROS?

On Fri, 7 Sep 2018, 16:30 Nathan George, notifications@github.com<mailto:notifications@github.com> wrote:

even with copying the udev rules and doing a clean install, this error persists

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/i3drobotics/deimos-ros/issues/6#issuecomment-419476990, or mute the thread https://github.com/notifications/unsubscribe-auth/ADA2J3TD_8Upx00G77qmsjtskJn5xfs-ks5uYpEugaJpZM4Wa1K0 .

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/i3drobotics/deimos-ros/issues/6#issuecomment-419512538, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ACniO1ES_zAW4m5JapXmvy6nAsaXDrf6ks5uYq5zgaJpZM4Wa1K0.

jveitchmichaelis commented 6 years ago

Could you try with qv4l2? (sudo apt install qv4l2)

That should help isolate if it's a problem with ros/libuvc or if you're missing a driver perhaps. Clearly the camera itself is fine, but we need to check on the same machine/OS you're having issues with.

void-robotics commented 6 years ago

I seem to have the latest version already

benknight135 commented 3 years ago

This issue can sometimes happen if the wrong device is selected by the driver (for example a built in webcam). The device to use can be defined in the launch file using the 'device' parameter:

roslaunch i3dr_deimos deimos.launch device:=/dev/video1