JSKAerialRobot / aerial_robot_demo

The demonstrantions (tasks) by using aerial robot
4 stars 4 forks source link

udev.rules files for brix #130

Open fanshi14 opened 4 years ago

fanshi14 commented 4 years ago

add following contents to /etc/udev/rules.d/99-aerial-robot-dev.rules

KERNEL=="ttyUSB*",  ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6015", ATTRS{serial}=="DM00QPFU", SYMLINK+="flight_controller"

ACTION=="add", SUBSYSTEM=="usb-serial", DRIVER=="ftdi_sio", ATTR{latency_timer}="1"

KERNEL=="ttyUSB*",  ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6001", ATTRS{serial}=="A104US0G", SYMLINK+="leddarone"
tongtybj commented 4 years ago

@fanshi14

In case that have permission denied issue in camera (i.e. /dev/video0)

Please add following contents to /etc/udev/rules.d/99-usb-cam-dev.rules

SUBSYSTEM=="video4linux", MODE="0666"