Keywords: USB error, run sample with "sudo"
Using sudo is because the OSDK advanced sensing function has limited permission to use the USB device. Please refer to the official website environment configuration to add the DJI USB device to solve it.
-
Add DJI USB Device Node
To use the vision function in OSDK on the M210 series of drones to enable the Linux system to obtain and identify DJI devices, please add the DJI USB device node in Linux as follows:- Create the file
DJIDevice.rules
in the/etc/udev/rules.d/
directory. - Add
SUBSYSTEM =="usb", ATTRS {idVendor} =="2ca3", MODE ="0666"
in theDJIDevice.rules
file. - After restarting the computer, the system can recognize the DJI USB device.
- Create the file
Comments
1 comment
Add DJI USB Device Node
To use the vision function in OSDK on the M210 series of drones to enable the Linux system to obtain and identify DJI devices, please add the DJI USB device node in Linux as follows:
Create the file DJIDevice.rules in the/etc/udev/rules.d/directory.Add SUBSYSTEM =="usb", ATTRS {idVendor} =="2ca3", MODE ="0666" in the DJIDevice.rules file.After restarting the computer, the system can recognize the DJI USB device.
Please sign in to leave a comment.