SOLVED : Tau USB Cable Suggestions
I have some really nice USB cables
- USB to USB-C cables for my phone that are for Qwik charge
- I have USB-C to USB-C
- 3" long USB to USB-C
I have tried nearly 20 different cables and I still get 98% rejected frames. What can I do?
Is anyone else having this issue?
Is there a cable that people are specifically buying for this ?
Is it possible to have the Tau send the same frame twice, albeit at a slower pace, and build one frame from the missing data in the two frames?
EDIT: The Examples all run well except for the recordRawFrames.py It throws frame errors.
"Data error, actual size: 38356, expected size: 38480"
@kevin-lefrank Hmm it's interesting that the error only shows up with the
Can you please submit a bug report on GitHub and we'll investigate further?
@Lazar-Demin ok no problem
I thought it was my cable because the tai server also runs slow .
But now I'm not sure it's a cable thing
@kevin-lefrank We have seen connection issues because of low quality cables. But it's definitely possible there's also something else causing issues.
Can you define what you mean by running slow? Maybe a screencap video will be helpful?
I'm having a similar issue when running TauLidarServer but with data size of 38420. Tried 2 different cables, happy to try any tests. Am using a windows 10 pc with at USB-C to USB-C cable.
@Lazar-Demin added two github issues with links to videos on Google Drive.
Let me know what I can do to help, or any additional info you need. Feel free to email me directly if you want to work through this quicker. email@example.com
@Lazar-Demin I updated the GitHub issues. Looks like my PC is the problem. What are the odds that the opencv modules used lean heavily on a graphics card ? My main PC is quite powerful but does not have a graphics card . That's all I can think of right now
@kevin-lefrank My first guess wouldn't be the graphics card since the
recordFrames.pyprogram doesn't use OpenCV. Since your older PC works just fine, I think think points to some speed or other issue with the serial port on your main PC.
I responded on GitHub as well, there should be a fix you can test out soon. Will let you know when it's ready!
@kevin-lefrank posted on GitHub but posting here for visibility and future reference:
Looks like your issues are caused by a combo of two problems:
- A bug causing the
bad frame ignorederror - https://github.com/OnionIoT/tau-lidar-camera/issues/14
- A USB issue with Thinkpad laptops - https://github.com/OnionIoT/tau-lidar-camera/issues/16
A fix for the
bad frame ignorederror has been fixed and released in TauLidarCamera v0.0.4. You can update by running
python -m pip install TauLidarCamera --upgrade. (Just make sure v0.0.4 is installed).
And the USB issue can be resolved by updating your Thinkpad's BIOS.
Please try that out and let us know how it goes.
- A bug causing the
Just wanted to follow up and say this issue was solved with the tau v0.0.4 update. I no longer have dropped frames or bad data packets.
If you have these issues. I would update to the latest GitHub and update your computer make sure there are no updates waiting for your bios