June 29 2018 (Chris Week Numero Doce)

Today we were again moved into a new class with only three others of my level and our teacher Steve. The class of June 29th was spent translating our sketches and measurements from June 22 into digital designs and beginning the process of creating our final Fusion 360 version. I made a lot of progress on my sketches and modeling today and am ready to add in the measurements in our next Friday class.

Digital sketch and Fusion 360 model attached below

June 22 2018 (Chris Week Numero Once)

The day of June 22nd was spent in the computer lab in Middleton with Steve and three others in my year group.

During the day I was measuring and drawing out plans for our new robot chassis building project.

Photos of the sheets of paper that I used today are attached.

June 1 2018 (Chris Week Numero Nueve)

During the day of Friday June 1st 2018 we spent our time taking apart, replacing parts of, and rebuilding older EIT PCs. I succeeded in the task of  taking apart, repairing and rebuilding the PC correctly and demonstrated my knowledge and understanding of both computer parts, and their purpose. I also was able to show my ability to know what was missing from my PC and piece together different PCs in order to repair my own.

May 25 2018 (Chris Week Numero Ocho)

During the morning part of todays class Baylee and I rebuilt large parts and added new sensors and pieces to our robot, this process along with typing simple  motor command functions and learning from Steve’s examples took most of our morning time until lunch. After our lunch break to Heather’s request I began, and completed in its entirety, assignment 18740 – “Complete a Simple Program” which was handed out during one of the previous weeks in which I had been away sick.

May 18 2018 (Chris Week Numero Siete)

Today was my first day back in class since April 13th due to our two week holiday break and then my sickness during the two weeks after.

This week Steve was away so our class was led by Heather, this morning I had many issues with both my computer and the EIT network which, although Heather and I were able to work through many of them, put back my learning opportunity greatly as I was unable to complete much work before our 11:30am lunch break.

Coding for April 13 (Chris Week Numero Seis)

{
	setMotorSpeed(leftMotor, 50);		//first straigh
	setMotorSpeed(rightMotor, 50);  
	sleep(7500);										
	
	setMotorSpeed (leftMotor, 0);
	setMotorSpeed (rightMotor, 50);  //left turn 1
	sleep(2000);
	
	setMotorSpeed(leftMotor, 50);		
	setMotorSpeed(rightMotor, 50); //left turn 1
	sleep(1200);										

	setMotorSpeed (leftMotor, 0);
	setMotorSpeed (rightMotor, 50); //left turn 1
	sleep(2100);

		setMotorSpeed(leftMotor, 50);		
		setMotorSpeed(rightMotor, 50);  //second straight
		sleep(4000);

		setMotorSpeed (leftMotor, 50);
		setMotorSpeed (rightMotor, 0); //right turn 1
		sleep(3000);

			setMotorSpeed(leftMotor, 50);		
			setMotorSpeed(rightMotor, 50); //third straight
			sleep(4500);								

			setMotorSpeed (leftMotor, 0);
			setMotorSpeed (rightMotor, 50); //left turn 2
			sleep(2100);

			setMotorSpeed(leftMotor, 50);		
			setMotorSpeed(rightMotor, 50); //left turn 2 - top
			sleep(3500);

			setMotorSpeed (leftMotor, 0);
			setMotorSpeed (rightMotor, 50); //left turn 2
			sleep(2000);
	
				setMotorSpeed(leftMotor, 50);		
				setMotorSpeed(rightMotor, 50); //fourth straight
				sleep(7000);																				

					setMotorSpeed (leftMotor, 0);
					setMotorSpeed (rightMotor, 50); //left turn 3
					sleep(2000);

					setMotorSpeed(leftMotor, 50);		
					setMotorSpeed(rightMotor, 50); //left turn 3 - bottom
					sleep(1000);

					setMotorSpeed (leftMotor, 0);
					setMotorSpeed (rightMotor, 50); //left turn 3
					sleep(2000);

setMotorSpeed(leftMotor, 50);		
setMotorSpeed(rightMotor, 50); //fifth straight
sleep(7000);

	setMotorSpeed (leftMotor, 50);
	setMotorSpeed (rightMotor, 0); //right turn 2
	sleep(2000);

	setMotorSpeed(leftMotor, 50);		
	setMotorSpeed(rightMotor, 50); //right turn 2
	sleep(1000);

	setMotorSpeed (leftMotor, 50);
	setMotorSpeed (rightMotor, 0); //right turn 2
	sleep(2000);

		setMotorSpeed(leftMotor, 50);		
		setMotorSpeed(rightMotor, 50); //sixth straight
		sleep(5800);

setMotorSpeed (leftMotor, 50);
setMotorSpeed (rightMotor, 0); //left turn 4
sleep(2000);

setMotorSpeed(leftMotor, 50);		
setMotorSpeed(rightMotor, 50); //left turn 4
sleep(1000);

setMotorSpeed (leftMotor, 0);
setMotorSpeed (rightMotor, 50); //left turn 4
sleep(2000);

}

 

April 13 2018 (Chris Week Numero Seis)

Today we coded a virtual robot  in different scenarios and challenges as a new way to visualize the impacts of our code. We first put the robot through a simple pre-made course using our own code.  I achieved this task with relative ease. After this activity we designed a more complex course for our robots to navigate through using our code. This task went well. After this task we moved on to another task in which we had to navigate through a  virtual orchard maze where we had to guide our robot through each row. Code for this is in another post on this blog.

April 6 2018 (Chris Week Numero Cinco)

Today we learnt about different ways to format and simplify our RobotC code. This was very useful information to learn as it makes our code look simpler and will allow us to save some time when writing the same functions multiple times. Although this is very useful I did not end up using it often in my code written today (posted separately) as I preferred to cement the basic code before simplifying everything another week.

Coding for April 6 (Chris Week Numero Cinco)

#pragma config(Motor,  port1,           rightMotor,    tmotorVex393_HBridge, openLoop, driveRight)
#pragma config(Motor,  port6,           openArm,       tmotorVex393_MC29, openLoop)
#pragma config(Motor,  port7,           arm,           tmotorVex393_MC29, openLoop)
#pragma config(Motor,  port10,          leftMotor,     tmotorVex393_HBridge, openLoop, reversed, driveLeft)
//*!!Code automatically generated by 'ROBOTC' configuration wizard               !!*//

int speed = 63;
int backSpeed = -63;
//int timeRun = 3000; //sets every use of timeRun to same (easy to change)
int timeWait = 2000; //sets every use of timeWait to same (easy to change)
int timeRun2 = 5000;

task main()
{
	while (1==1) //always run - infinite
	{
		wait1Msec(timeWait); //telling the robot to wait 2 sec before starting gives us time to set up
		motor[port1]=speed; //turns on right motor to speed of 63 (half max speed)
		motor[port10]=speed; //turns on left motor to speed of 63 (half max speed)
		wait1Msec(3000);//motor will run for 3 seconds
		wait1Msec(timeWait);
		
			wait1Msec(timeWait); //telling the robot to wait 2 sec before starting gives us time to set up
			motor[port1]=backSpeed; //turns on right motor to speed of 63 (half max speed)
			motor[port10]=speed; //turns on left motor to speed of 63 (half max speed)
			wait1Msec(timeRun2); //motor will run for 3 seconds
		
			wait1Msec (timeWait); //waiting for next block
			motor  [port7]=63; //start lifting arm
			wait1Msec (1200); //how long arm moves for
			motor [port6]=63; //spend which claw  grabs
			motor [port7]=0; //end all motors
			motor [port1]=0; //end all motors
			motor [port10]=0; //end all motors
			wait1Msec (1000); //waiting for 1 sec before close arm
			motor [port7]=-1200; //lower arm
			motor [port6]=-63; //close claw grabbing
			wait1Msec (500); //waiting .5 sec
			motor [port6]=0; //ending claw movement
	}	
}