raspberry_pi_camera_bot (experimental)
Posted: Wed Dec 17, 2014 11:55 am
Hello,
I made a robot with Dagu Rover5 + Raspberry Pi + Dagu Mini driver. I found that the work on the experimental branch of raspberry_pi_camera_bot is very interresting (thanks). I have made the following modifications :
1) in mini_driver_firmware.ino :
- I modify waiting time for ultrasonic from 500 to 800
- I change the sign of the left encoder value in order to have the same sign for the two encoder when going forward.
2) in mini_driver.py
- In order to recognize mini driver I change : "lsusb -d 10c4:ea61 " to "lsusb -d 10c4:ea60"
- I change PRESET_ENCODER_TICKS_PER_REVOLUTION from 1000/3 to 256 (I don't know why but this value work!)
Now the command "bot.drive_straight(0.3)" work perfectly, but the command to turn the robot doesn't work (I need to put 190 in order to turn 90 deg!!).
Thanks for this work, Cordialement Michel Van Caneghem
I made a robot with Dagu Rover5 + Raspberry Pi + Dagu Mini driver. I found that the work on the experimental branch of raspberry_pi_camera_bot is very interresting (thanks). I have made the following modifications :
1) in mini_driver_firmware.ino :
- I modify waiting time for ultrasonic from 500 to 800
- I change the sign of the left encoder value in order to have the same sign for the two encoder when going forward.
2) in mini_driver.py
- In order to recognize mini driver I change : "lsusb -d 10c4:ea61 " to "lsusb -d 10c4:ea60"
- I change PRESET_ENCODER_TICKS_PER_REVOLUTION from 1000/3 to 256 (I don't know why but this value work!)
Now the command "bot.drive_straight(0.3)" work perfectly, but the command to turn the robot doesn't work (I need to put 190 in order to turn 90 deg!!).
Thanks for this work, Cordialement Michel Van Caneghem