Allbot VR204 not moving as intended

Hi
I have been trying to get control over the movement of my 2 legged robot. I did the assembly and centering of servos as per instructions.Whenever i turn on;all the servos seem to move to a particular direction and stay there unless i power it back and realign it again.I am attaching a link of video of the robot movement here.

I am trying first to get an understanding of the magnitude of the movement of the servos with my code.I have just downloaded a sample code as given here.Once i understand the servos movement in line with the code i am planning to get my Robot to move with my own code.

#include <Servo.h> // The ALLBOT library needs the servo.h library
#include <SerialALLBOT.h> // Do not forget to include the ALLBOT library, download it from the manuals.velleman.eu website

SerialALLBOT BOT(4); // Create a SerialALLBOT

enum MotorName {
hipLeft,
hipRight,
ankleRight,
ankleLeft,
};

int sounderPin = 13; // Declaring what pin the sounder on the VRSSM is connected to
void setup()
{
BOT.attach(hipLeft, 12,0,0, 0);
BOT.attach(hipRight, 3,0, 0, 0);
BOT.attach(ankleLeft, 11,0,0,0);
BOT.attach(ankleRight, 2,0, 0, 0);

}
void loop()
{
BOT.update();
}

Hello nambiarrp,

It seem that de servo’s are not centered correctly.

Run this sketch to center the servo’s correctly.

/*Center Servo
 * Copyright (C) 2014 Velleman nv
 *
 * This software may be modified and distributed under the terms
 * of the MIT license.  See the LICENSE file for details.
 *
 */
#include <Servo.h>

Servo myservo;  // create servo object to control a servo

void setup()
{
  myservo.attach(1);  // attaches the servo on pin 1 to the servo object
}

void loop() 
{
  myservo.write(90);                   // sets the servo position to 90° (is half of 180°)
  delay(15);                           // waits for the servo to get there 
} 

Best regards,
Velleman Support