|
从syslog看, 4个电机都没反应!
- 18.130098 Master 6 988 BLC call for motor 1
- 19.130095 Master 6 988 BLC motor 1 flash & start FAILED
- 19.190088 Master 6 988 BLC call for motor 2
- 20.190067 Master 6 988 BLC motor 2 flash & start FAILED
- 20.250051 Master 6 988 BLC call for motor 3
- 21.250072 Master 6 988 BLC motor 3 flash & start FAILED
- 21.313197 Master 6 988 BLC call for motor 4
- 22.310096 Master 6 988 BLC motor 4 flash & start FAILED
- 22.344353 Master 6 988 BLC motor 1 dead
- 22.344544 Master 6 988 BLC motor 2 dead
- 22.344635 Master 6 988 BLC motor 3 dead
- 22.344712 Master 6 988 BLC motor 4 dead
复制代码
/data/syslog.bin文件在AR.Drone重启动时, 由于缓存的原因, 最新写的Log可能还没记到文件里.
你可以用以下命令得到program.elf的直接Log输出.
-
- killall -9 program.elf
- program.elf > /data/video/log.txt
复制代码
用FTP将文件log.txt取出来.
另外, 可试一下其PWM控制串口 /dev/ttyPA1 是否工作:
-
- killall -9 program.elf
- dd if=/dev/ttyPA1 bs=46 count=1 | hexdump -C
复制代码 |
|