0% found this document useful (0 votes)
35 views1 page

Poe Bot

The document summarizes a project to program a PoeBot robot. It describes the purpose of learning basic programming skills. It explains a competition course involving picking up bean bags and maneuvering around obstacles. The programming code controls the robot's motors and gripper servo. A reflection notes the PoeBot failed the obstacle course due to issues picking up bean bags and navigating.

Uploaded by

api-341205374
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
35 views1 page

Poe Bot

The document summarizes a project to program a PoeBot robot. It describes the purpose of learning basic programming skills. It explains a competition course involving picking up bean bags and maneuvering around obstacles. The programming code controls the robot's motors and gripper servo. A reflection notes the PoeBot failed the obstacle course due to issues picking up bean bags and navigating.

Uploaded by

api-341205374
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Purpose of project:

Product Analysis of
PoeBot

To learn the basics of


programing a Bot that we
have built.

#include "JoystickDriver.c"
task main()
{
while(1==1){

Distinguishing
characteristics after
redesign:

if(vexRT[Btn6U]==1){
motor(right_motor)= 25;
}
else if (vexRT[Btn6D]==1){
motor(right_motor)= -25;
}
else{
motor(right_motor)= 0;

We did not need to redesign the Bot


since our servo worked the way the
book told us how to build it.

Explanation of Competition
(in detail):
The course had various obstacles to
test your bots capability. You first
had to pick up bean bags then
maneuver around cones and either
go through or around a speed
Bump then drop the bean bag off
in a container then repeat the
process until 3 minutes was up

Programming Code:

#pragma config(Motor, port1,


right_motor, tmotorVex269_HBridge,
openLoop, reversed)
#pragma config(Motor, port2,
grip_servo, tmotorServoStandard,
openLoop)
#pragma config(Motor, port3,
flashlight, tmotorVexFlashlight, openLoop,
reversed)
#pragma config(Motor, port9,
arm_motor,
tmotorVex393_MC29,
openLoop, reversed)
#pragma config(Motor, port10,
left_motor, tmotorVex393_HBridge,
openLoop)
//*!!Code automatically generated by 'ROBOTC' configuration wizard
!!*//

}
if(vexRT[Btn5U]==1){
motor(left_motor)= 25;
}
else if (vexRT[Btn5D]==1){
motor(left_motor)= -25;
}
else{
motor(left_motor)= 0;

Reflection of Competition
Performance:
Our PoeBot did not perform very
good. We had problems picking up
the bean bags but when we finally
picked one up our bot could not turn
left or right to go around the cones.
Our Bot failed the obstacle course
and failed us.

}
if(vexRT[Btn8D]==1){
motor(arm_motor)= 25;
}
else if(vexRT[Btn8D]==1){
motor(arm_motor)= -25;
}
else
{
motor(arm_motor)= 0;
}
if(vexRT[Btn8R]==1){
setServo(grip_servo, 100);
}
else if(vexRT[Btn8U]==1){
setServo(grip_servo, 0);
}
}
}

You might also like