Our diddyborg is not driving right now..

Currently I am doing a project with the diddyborg robot with the raspberry pi so that it can do obstacle avoidance, and path planning.

Right now it isn't moving , even though the code runs fine where performdrive is called.

Any suggestions?

piborg's picture

Okay, I am sure we can help you get him running.

If you could answer these questions, they will help us work out where the trouble is:

  1. Does he move correctly using any if the standard examples?
    The best one to try would probably be diddySequence.py
  2. Are there any messages shown on the terminal when running the script to drive him?
  3. Have you made any changes to the DiddyBorg, or is he standard?
    For example adding an additional board or changing the battery supply
  4. Could you upload your script so we can see if there is something preventing him working in the script?

1. No, not running with diddySequence.py
2. There are messages.
3. Its standard.
4. Yeah,

piborg's picture

Since the standard script is not working it is likely the problem is either with the DiddyBorg or the software installation.
We should stick to using diddySequence.py to test if he works since it is the simplest script.

If you could try these and tell us the results:

  1. Are the batteries fully charged?
  2. Could you check that the power is connected correctly to the PicoBorg Reverse?
    Check that both cables are well clamped, and that the +ve and -ve cables are connected the correct way around
  3. Are you using Raspbian Wheezy?
    We have not checked if DiddyBorg works correctly with Jessie yet, it may not be compatible
  4. What messages are displayed on the terminal when you run diddySequence.py?
  5. What message is displayed on the terminal if you run uname -a?

Here is the connection diagram for checking the power connections to the PicoBorg Reverse:

You can click on the image for a larger view.

When running the diddy sequence it says

Picoborg loaded on bus 1

Edit:
It says
Loading picoborg reverse on bus 44
Found picoborg reverse on 44
Picoborg reverse loaded on bus 1

Bumpp

We are using Jessie atm

piborg's picture

I tested the install / script using the full version of Raspbian Jessie this morning (2015-11-21).
Everything seemed to work fine.
uname -a: Linux raspberrypi 4.1.13-v7+ #826 SMP PREEMPT Fri Nov 13 20:19:03 GMT 2015 armv7l GNU/Linux

Could you tell us which version of Jessie you are using, the full or Lite version?

If you could take some photos of the wiring that would be helpful.
In particular a couple of photos of the wiring into the PicoBorg Reverse would be good.

Subscribe to Comments for "Our diddyborg is not driving right now.."