Track and light mouse
Target: enable to remote controll, graph interface, error handle
Khadas VIM3 don't shop the kernel with usbtmc and i2c mux driver, so I
rebuild kernel
inside fenix's docker.
The usbtmc and i2c mux are package as module, I load module automatic with systemd
by add usbtmc
and i2c_mux_pca954x
to /etc/modules-load.d/modules.conf
.
Only one USB bus is exported in VIM3, I try to use orignal M.2 port as PCI-e port. I install ADT-Link's M.2 NVMe to PCIe X1 extender on Khadas M.2 extender board, then a PCIe Card(VIA VL805). The PCIe card is power by sperated 5V. But system only reconginze this card as USB2 bus. Why? May I also feed 12v pin. Once I mount USB3 device, system will reboot.
TODO: assign fixed camera path to specifical usb port. Device info could get
from udevadm info -a -p $(udevadm info -q path -n /dev/video0)
TODO: organize output information TODO: send command to power supply then release and return.
Build GUI in QT.
Reference:
- PyQtGraph library
- Assign fixed usb port name
- How to bind v4l2 USB cameras to the same device names even after reboot?
- Convert M.2 to PCI-e in VIM3
- WiringPi-Python on VIM
- Change Logo
- Autostart login tty1 and execute command
- renesas-UPD720201-usb3
Before run SimpleBGC in khadas, please install librxtx-java
calibration design
|--------------------------|
| Camera & Gimbal Geometry |
|--------------------------|
| O----> x |
| | |
| \|/ |--------| |
| y | CAMERA | |
| |--------| |
| |
| |--------| +90 |
| | GIMBAL | /|\ |
| |--------| | |
| 0<---+yaw |
|--------------------------|
c09984db9b780412b9dba95ce789de024a3bc1f3
Color and movement
- offline test: gimbal rotate in preload sequence and saved video
- add laser power switch in GUI
- 微弱信号识别及过滤干扰目标: detect moving region
- send poweroff command to motor after closing
- add force exit function, such as reboot?
https://superuser.com/questions/497933/50-usb-webcams-in-a-single-computer-is-that-really-possible