OpenDuckMini快速入门教程-耳部舵机测试

前提准备
- 确保硬件连线正确
操作步骤
- 连接手柄
- 启动测试脚本
$ cd ~/open_duck_mini_ws/Open_Duck_Mini_Runtime/scripts/
$ python antennas_ps4_controller_test.py
pygame 2.6.0 (SDL 2.28.4, Python 3.11.2)
Hello from the pygame community. https://www.pygame.org/contribute.html
Loaded joystick with 6 axes.
- 使用
L2
或R2
按键控制舵机转动
如果使用XBOX ONE手柄则打开
antennas_controller_test.py
脚本,操作类似
演示视频
获取最新文章: 扫一扫右上角的二维码加入“创客智造”公众号