AnimaKit workshop

From AnimaKit
Jump to: navigation, search

Contents

Inroduction

Hello, we are glad that we can present you our product AnimaKit. Here you can find schedule of our workshop, starting manual and sample codes for this weekend.

Before you start with our Robot, read Getting started.

Program

First day 15.11.2014

Tasks:

  1. Hello world!
  2. I Robot
  3. Secretary
  4. Semaphore
  5. Television
  6. Warm-up I
  7. Warm-up II
  8. Driving school I
  9. Driving school II
  10. Indiana Jones


Second day 16.11.2014

  1. Disco fever and free ride

Inroduction

Hello, we are glad that we can present you our product AnimaKit. Here you can find schedule of our workshop, starting manual and sample codes for this weekend.

Before you start with our Robot, read Getting started.

Program

First day 15.11.2014

Tasks:

  1. Hello world!
  2. I Robot
  3. Secretary
  4. Semaphore
  5. Television
  6. Warm-up I
  7. Warm-up II
  8. Driving school I
  9. Driving school II
  10. Indiana Jones


Second day 16.11.2014

  1. Disco fever and free ride

AnimaKit segway functions

You can use these function in main.cpp.


SegwayServo.cpp

int main(int argc, char *argv[])
{
centerHead();   //center head to middle position

turnLeftAngle( A_angle);  //turn whole robot A_angle degrees to the left

turnRightAngle( A_angle);  //turn whole robot A_angle degrees to the right
forwardTime( A_miliseconds, 30); // set forward speed from 0 to 500 

backwardTime(A_miliseconds,  30);// set backward speed from 0 to 500 

turnLeftTime(A_miliseconds, 500); //set speed of turning to the left from 0 to 500

turnRightTime(A_miliseconds,  500); //set speed of turning to the right from 0 to 500

forwardValue( A_value); //set forward speed without time limit 

backwardValue( A_value); //set backward speed without time limit 

turnLeftValue( A_value); //set speed of turning to the left from 0 to 500 without time limit
turnRightValue(A_value); //set speed of turning to the left from 0 to 500


turnHeadUpDown( A_value); //ovladanie hlavy hore dole hodnoty su obmedzene podla DEF_CAMERA_PITCH_MIN, DEF_CAMERA_PITCH_MAX

turnHeadRightLeft( A_value); //ovladanie hlavy hore dole hodnoty su obmedzene podla DEF_CAMERA_YAW_MIN, DEF_CAMERA_YAW_MAX
}


Download button.png
Personal tools
Namespaces

Variants
Actions
Navigation
Tools