Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jetson AGX Xavier - Unable to capture synchronised shutter using master configuration #143

Open
jwurts-mitre opened this issue Sep 22, 2021 · 1 comment

Comments

@jwurts-mitre
Copy link

System Description
Camera Name and Model: 2x Blackfly S (USB3, connected via Sync cable)
Operating System: Ubuntu 18.04.5
Spinnaker Version: 2.2.0.48
ROS Version: Melodic

Computer details
Processor: Nvidia AGX Xavier
RAM: 32GB

Multiple Cameras Only
How is the triggering setup? Master, Master/Slave, Default, see below

For USB 3.0 cameras:
On same USB 3.0 bus or different buses? Same bus
Is the USB 3.0 hub externally powered? Yes

Do the cameras work with SpinView?
Yes

Describe the bug
I can't acquire camera images when the camera is in master SpinView configuration on a Jetson AGX. Ros error is:

[FATAL]: Spinnaker: Failed waiting for EventData on NEW_BUFFER_DATA event. [-1011]
Likely reason is that slaves are not triggered. Check GPIO cables

I have two Blackfly S cameras and have tested many configurations on a Jetson AGX and x86 laptop. On the x86 laptop, I can publish the two camera streams when in default Flir camera settings, publish the two camera streams when in Master/slave configuration, and publish one camera stream when in Master configuration.

On the Jetson AGX, I can build spinnaker_sdk_camera_driver, following the steps laid out in #89. Within SpinView, I can see the two camera stream when in default/default, two streams in master/slave, and single stream in master configuration. I can launch spinnaker_sdk_camera_driver and see the stream(s) when in default camera configuration(s). However, when I launch ros with the camera in master or master/slave configurations, ros errors out.

The above variations account for the related yaml files and such. Given the variations run on the x86 machine, I trust the configurations and connections are set appropriately. But I can't resolve why the ros launch errors on master configuration, especially given SpinView streams.

@vik748
Copy link
Contributor

vik748 commented Sep 22, 2021

Thanks for the detailed bug report and diagnosis. I am stumped as to why it would work on x86 and not on Xavier with identical configuration. We have tested on Tx2 but don't have access to a Xavier.

@mithunvarma @PushyamiKaveti any ideas on what might be going on?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants