RDK x5使用
1.系统镜像
Index of /downloads/os_images/rdk_x5/
采用3.1.1的镜像文件,3.1.0系统有问题
2.烧录后进行配置
RDK Configuration中 Interface Options 开启SSH和VNC
3.中文环境
RDK Configuration中 Localisation Options -> Locale选中zh_CN.UTF-8 UTF-8回车后重新启动
sudo reboot4.中文输入法
在桌面端找到EN输入法标志,右键点击首选项,点击输入法——>右侧添加——>选择中文,选择智能拼音,最后右上角EN就可以右键选择智能拼音
5.RDK studio
RDK Studio
下载后,通过网线与PC连接,在此处你可以通过右上角的+RDK设备进行添加设备进行管理
6.远程连接VNC
远程控制VNC软件安装教程
pc下载VNC Viewer,网线连接RDK与PC,在VNC中输入设备ip地址192.168.127.10,回车,continue,输入密码
7.系统更新
sudo apt update sudo apt full-upgrade sudo reboot8.can通信配置
#创建ros2工作空间 mkdir -p ~/ros2_ws/src cd ~/ros2_ws/src #安装ros2-socketcan sudo apt install ros-humble-can-msgs sudo apt install ros-humble-ros2-socketcan #python-can 安装 sudo apt install python3-can # 或 pip install python-can9.常见命令
#终端新建python文件 touch my_script.py #查看串口 ls /dev/ttyACM* ls /dev/ttyUSB*10.(RDK)can通信测试,自身带一个can通信(can0)
sudo modprobe slcan sudo slcand -o -c -s8 /dev/ttyACM0 can1 sudo ip link set can1 up sudo pkill -f ttyACM0 sudo ip link delete can1 ip link candump can1 sudo ip link set can1 type can bitrate 1000000 sudo ip link set can1 up candump can1 cansend can1 0300FD01#0000000000000000 cansend can1 0300FD02#0000000000000000 can1 0300FD01 [8] 00 00 00 00 00 00 00 00 can1 028001FD [8] 8C 90 7F E9 7F FF 01 1E(左) can1 0300FD02 [8] 00 00 00 00 00 00 00 00 can1 028002FD [8] 6C 8A 7F C9 7F FF 01 17(右)11.(树莓派)can通信测试
can1 0300FD02 [8] 00 00 00 00 00 00 00 00
can1 028002FD [8] 6C EE 7F FA 7F FF 01 11
12.摄像头测试
sudo apt install ffmpeg ffplay /dev/video0 ffplay /dev/video1 #你可以使用以下命令卸载 cheese: sudo apt remove cheese #如果想连同配置文件一起删除,可以用: sudo apt purge cheese #卸载后可以用下面命令清理无用依赖: sudo apt autoremove或者采用RDKx5手册中的USB摄像头
13.IMU模块测试