AnimaKit workshop
From AnimaKit
Revision as of 19:04, 26 November 2014 by AnimaRobotics (Talk | contribs)
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:
- Hello world!
- I Robot
- Secretary
- Semaphore
- Television
- Warm-up I
- Warm-up II
- Driving school I
- Driving school II
- Indiana Jones
Second day 16.11.2014
- 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:
- Hello world!
- I Robot
- Secretary
- Semaphore
- Television
- Warm-up I
- Warm-up II
- Driving school I
- Driving school II
- Indiana Jones
Second day 16.11.2014
- 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 }