Hi,
I have now done some further testing on the updated Nano board
https://www.siliconhighwaydirect.co.uk/product-p/945-13450-0000-100.htm
- Single camera tests
I can run the sample code on on a single camera connected to port one or two. I get a nice image and the focus can be adjusted.
In both cases cameras are identified as “sensor-id 0” on the nvarguscamerasrc
In both cases I am unable to detect the motor id, both before starting the camera feed and after. The scanner does though stall for 1 second when scanning the 0c address.
i2cdetect -y -r 6
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: – – – – – – – – – – – – –
10: UU – – – – – – – – – – – – – – –
20: – – – – – – – – – – – – – – – –
30: – – – – – – – – – – – – – – – –
40: UU – – – – – – – – – – – – – – –
50: – – – – – – – – – – – – – – – –
60: – – – – 64 – – – – – 6a – – – – –
70: – – – – – – – –
Since I am able to control the motor in both cases I am sure the motor works.
- Dual camera tests
When connecting both cameras I get nice images from both cameras but motor control is problematic.
In this case sensors have to be referred as sensor-id 0 and 1 on the nvarguscamerasrc. I use this pipeline
gst-launch-1.0 nvarguscamerasrc sensor-id=0 ! ‘video/x-raw(memory:NVMM),width=3820, height=2464, framerate=21/1, format=NV12’ ! nvvidconv flip-method=0 ! ‘video/x-raw,width=960, height=616’ ! nvvidconv ! nvegltransform ! nveglglessink -e
and
gst-launch-1.0 nvarguscamerasrc sensor-id=1 ! ‘video/x-raw(memory:NVMM),width=3820, height=2464, framerate=21/1, format=NV12’ ! nvvidconv flip-method=0 ! ‘video/x-raw,width=960, height=616’ ! nvvidconv ! nvegltransform ! nveglglessink -e
It is random which motor I control with the motor control example. I get motor control on busses 6,7 and 8.
I am certain both camera units work and there is some complexity that need to be sorted out to be able to control two motors. My personal theory is that the i2c bus is connected ehen the camera is initialized and there is not accounted for more than one motor sensor.
Do you have the updated Nano board available for tetsting in your lab?
Kind regards
Jesper