-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[solved] [tf_2_9] Unable to open CSICamera. #1123
Comments
Try running the following commands to ensure that GStreamer is installed on your Nano:
TCIII |
@BrianHenryIE,
I would hazard a guess that either the CSIC camera ribbon cable is not connected to your Nano correctly or that GStreamer is not installed. |
Full output:
I'm 99% sure I used I don't get the sensor modes as I start to drive the car:
And the images that are recorded are just solid green. And I tried the ribbon cable in both Jetson Nano connections. I guess the best thing is to reinstall from scratch and ensure the CMake command is correct. |
From your Full Output: I have built opencv4.6 + GStreamer using the Q-Engineering manual install instructions and the accompanying modified CMake arguments four times for two Nano 4GBs and two Xavier NX 8GBs without issue once the CMake arguments were correctly determined. Regards, |
Thanks. I think I know what happened. The traditional Donkey setup docs add a line to |
You must have missed this line,
Additionally, I don't know how you installed TCIII |
I reinstalled everything, confirmed GStreamer was present, then ran I presume as I ran Is there a conda and/or pip command to lock currently installed packages? I could edit And is there a way to reinstall 3.6 without rebuilding it? I presume the I'm starting a fresh install on a faster SD card (U3 vs U1) now because my SSH shell wasn't always responding.
|
For TCIII |
After a fresh install, the camera is working and recording on throttle! Thanks for the help. The install order is important. If Somehow I managed to mess up the install order again yesterday! So I commented out albumentations in setup.py, then ran
and ran I also commented out |
I was able to drive but got an error when trying to run autopilot:
With both a .tflite and a .h5 model. I trained the model on MacOS M1, with TF 2.9 and the I ran
I'm reinstalling from scratch again now. |
Possible solution: Remove From the Albumentations website: Note on OpenCV dependencies¶ If you already have some OpenCV distribution (such as opencv-python-headless, opencv-python, opencv-contrib-python or opencv-contrib-python-headless) installed in your Python environment, you can force Albumentations to use it by providing the --no-binary qudida,albumentations argument to pip, e.g.
TCIII |
@DocGarbanzo When you update the nano install to address the albumentations installation issue can you close this issue? |
Marked as solved. |
$ python ~/mycar/manage.py drive
I'm using a newer Jetson Nano, i.e. with two camera inputs, and the TF2.9 branch.
I was able to get past the error by adding to
donkeycar/parts/camera.py:237
,CSICamera::init_camera()
:I'm having another problem now so I'm not 100% sure this is fixed.
The text was updated successfully, but these errors were encountered: