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

Best way with X2 with adaptor and Raspberry Pi4 with ubuntu to run python sample. #22

Open
halcyon1945 opened this issue Oct 14, 2022 · 0 comments

Comments

@halcyon1945
Copy link

halcyon1945 commented Oct 14, 2022

In my case.

Or do this script manually.
https://github.com/YDLIDAR/YDLidar-SDK/tree/master/startup
it change user group.(lack of this step at install doc?)


Or do this script manually.
https://github.com/YDLIDAR/YDLidar-SDK/tree/master/startup
/dev/ttyUSB0 treat as /dev/ydlidar


230400 -> 115200


False -> True


  • Use USB3.0(blue) port
    2.0 port makes often disconnect.

  • Use external power supply
    1.0A or higher is required.
    you should use it because unidentified issues will occur.


  • Remove brltty (if exist)
    check Port log with dmesg and it seems brltty disturb it. remove brltty.
sudo dmesg
sudo apt remove brltty -y

https://stackoverflow.com/questions/5213723/usb-serial-loses-connection-immediately-in-new-linux-kernel-4-12-14

Run the binary immediately, as it will only be recognized for a few seconds after you set USB connector.
If it starts spinning at high speed, communication is broken. re-connect it.
it may occur under brltty disturbed condition.


thank you for interesting product

@halcyon1945 halcyon1945 changed the title Best way with X2 with adaptor and raspie4 with ubuntu Best way with X2 with adaptor and Raspberry Pi4 with ubuntu Oct 14, 2022
@halcyon1945 halcyon1945 changed the title Best way with X2 with adaptor and Raspberry Pi4 with ubuntu Best way with X2 with adaptor and Raspberry Pi4 with ubuntu to run python sample. Oct 14, 2022
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

1 participant