ROBOTC.net Blog  

ROBOTC News

Archive for the ‘Coding’ tag

VEX IQ HighRise for Robot Virtual World!

without comments

HighriseWebBG

The ROBOTC and Robot Virtual World teams are thrilled to announce the availability of our newest virtual world: VEX IQ Highrise! Like previous simulations of the VEX competitions, this virtual world includes a fully programmable robot, the correctly scaled field, game objects, and score and timer tracking. It’s absolutely perfect for teams who want to do strategic planning and learn how to program.

Just like the official 2014-2015 VEX IQ competition, the object of the game is to attain the highest possible score by Scoring Cubes in the Scoring Zone and by building Highrises of Cubes of the same color on the Highrise Bases. Each Cube Scored in the Scoring Zone is worth a point value equal to the Highrise Height of the same color as the Cube. That is, if a team builds a Highrise of 3 red Scoring Cubes on the Highrise Base, a red cube in the Scoring Zone is worth 3 points.

2014-06-10_16-09-03-fe39c03cd7aa6b916759539ccca54550
 
2014-06-10_16-09-24-385d3d1ca962ec260c2dca8f580a0205
 
2014-06-10_16-10-20-c889f8f94abdc88bb4a4043a96a9cb92
 
Check out our latest video highlighting the game:
 


 
The download for the VEX Highrise virtual world, along with additional helpful information can be found at RobotVirtualWorlds.com/VEXIQ.
 
Robomatter Blog Ad VEX RVW

Written by Cara Friez

July 10th, 2014 at 1:24 pm

ROBOTC at the China International Robotic Show

without comments

China ROBOTC 006The China ROBOTC team sent us some great photos from the China International Robotic Show in Shanghai, which they’ll be at from July 9-11. We will update the photos here and on our Facebook page as we get them from the weekend!

 

 

 

 

Written by Cara Friez

July 9th, 2014 at 4:49 pm

Sign up for the Robotics Summer of Learning All Summer!

without comments

Fun RSOL

Did you know that you can sign up for the Robotics Summer of Learning anytime during the summer? All our live webinars are recorded, so you can easily sign up today and work at your own pace!

FAQ

 


How do I join and get into the class?
Sign in or sign up for a new account at CS2N.org. Then visit http://cs2n.org/summer-of-learning and click on the VEX IQ robot. You’ll be taken to a new page where you will click “View” under “Summer of Learning 2014 – VEX IQ – Intro.” From there you will be in the official Summer of Learning course!

How much does this course and/or software cost?
Nothing at all! It is free until September 1, 2014.

What do I need to download?
ROBOTC and the VEX IQ Challenge Pack. You need to download both items. The License ID and Password is located in the CS2N Moodle Course. Use these to activate the license for the entire summer (through September 1st). Computer Minimum Requirements.

Where can I find the link for the live classes?
The link is at the top of the section for the topic of that class. For example, if the topic for the live class is turning, the link will be at the top of the basic movement section. This is also where you will find the recording after the live class has ended.

What is the class schedule?
The live class schedule is listed below, but remember that you can work throughout the summer at your own pace. All classes are recorded. Just keep in mind that if you work ahead, some items of the curriculum will not be released until later this summer.

Will I be able to use the ROBOTC Graphical with EV3 and/or NXT? And, will there be a RSOL class for that?
ROBOTC for LEGO MINDSTORMS is still in development, but it will be available later this summer. Once it is ready, there will be a Robotics Summer of Learning course specifically for it.

Live Webinar Course Schedule

  • June 16: Introduction to Software, Setup, Forums and Procedures used in this course
  • June 17: Intro to Expedition Atlantis and Moving Forward
  • June 23: Turning and Intro to Ruins of Atlantis
  • June 30: Forward until Touch and Forward until Near
  • July 7th: Turn for Angle, Forward until Color, Intro to Palm Island
  • July 14th: Loops and if/else
  • July 21st: Repeated Decisions, Continuous Decisions, Intro to Operation Reset
  • July 28th: Joystick and Button control, intro to VEX IQ Highrise

Sign Up2

Robotics Summer of Learning Starts Next Week!!

without comments

Our Robotics Summer of Learning (RSOL) course opens this Sunday, June 15 with our first live webinar course starting on Monday, June 16! The RSOL gives students the opportunity to learn how to program robots using a free copy ROBOTC 4.0 (including the new Graphical Natural Language) for Robot Virtual Worlds programming software. If you’ve always thought that ROBOTC was too difficult, you should try out the new Graphical Natural Language, which is part of ROBOTC 4.0!

Sign up here!

Live Webinar Course Schedule:

  • June 16: Introduction to Software, Setup, Forums and Procedures used in this course.
  • June 17: Intro to Expedition Atlantis and Moving Forward
  • June 23: Turning and Intro to Ruins of Atlantis
  • June 30: Forward until Touch and Forward until Near
  • July 7th: Turn for Angle, Forward until Color, Intro to Palm Island
  • July 14th: Loops and if/else
  • July 21st: Repeated Decisions, Continuous Decisions, Intro to Operation Reset
  • July 28th: Joystick and Button control, intro to VEX IQ Highrise

All courses will be held at 1:00 PM Eastern Standard Time with a live instructor. A link will be available in the CS2N Moodle course for each session. All sessions are recorded so that you can take the course at your own pace. These dates are subject to change.

And don’t forget to sign up for our Robotics Summer of Learning Newsletter to get important reminders and information throughout the summer!

Cool Project: VEX IQ Quadruped

without comments

Repost from BotBench

In my last post about the VEX IQ building system I had a small video featuring my VEX Quadruped.  I’ve done a bit of work on it since then and the gait has been greatly improved.  I also added some small rubber feet on the legs.  These are the traction links from the Tank Tread & Intake Kit.

Due to the heavy load that these motors are under, you may find that the batteries will run down a bit faster than you’re used to.  Good thing the kits come with a charger!

Up next on the agenda is to add some sensors and have it interact a bit more.  The little wheels on the bottom are not used when it is walking; the robot is fully lifted off the ground.

I’ve taken some picture, so you can see how it’s put together.  These should be enough to copy the design, should you wish to.  You can download the program to run this here: [LINK].  Note that part of the code is based on the excellent guide on creating an Arduino based quadruped: [LINK].

CIMG3355 CIMG3367

CIMG3353 CIMG3354

CIMG3357 CIMG3358

CIMG3359 CIMG3366

CIMG3360 CIMG3361

CIMG3362 CIMG3363

CIMG3364 CIMG3365

Repost from BotBench

 

Robomatter Blog Ad VEX IQ

Written by Xander Soldaat

June 3rd, 2014 at 11:17 am

CMU Robotics Academy Professional Development Classes are Filling Up Quickly!

without comments

PD Blog

The ROBOTC Professional Development courses offered by Carnegie Mellon Robotics Academy are filling up quickly. Register today to make sure you get into your preferred course!

On-Site Training

Take one of our week long on-site courses in Pittsburgh, PA at the National Robotics Engineering Center (NREC). NREC is part of the Carnegie Mellon University Robotics Institute, a world-renowned robotics organization, where you’ll be surrounded by real-world robot research and commercialization.

ROBOTC for LEGO / TETRIX
July 7 – 11, 2014
July 28 – August 1, 2014

ROBOTC for VEX CORTEX
August 4 – 8, 2014

Online Training

Enjoy the convenience of taking Robotics Academy courses without leaving your own computer workstation with our online classes.

ROBOTC Online Training for TETRIX
July 21st – 25th, 2014
Monday – Friday for 1 Week
3-5:00pm EST (12-3:00pm PST)

ROBOTC Online Training for VEX CORTEX
July 28th – August 1st, 2014
Monday – Friday for 1 Week
3-5:00pm EST (12-3:00pm PST)

ROBOTC Online Training for VEX IQ
August 11th – 15th, 2014
Monday – Friday for 1 Week
3-5:00pm EST (12-3:00pm PST)

The Carnegie Mellon Robotics Academy’s Professional Development courses provide teachers and coaches with a solid foundation for robot programming in the respective languages, and experience in troubleshooting common student mistakes. It also focuses on identifying and extracting academic value from the naturally occurring STEM situations encountered in robotics explorations. All participants who complete the course will receive a Robotics Academy Certification. Find out more here – Robotics Academy Professional Development

Written by Cara Friez

June 2nd, 2014 at 11:15 am

ROBOTC Omniwheel Article in Design & Technology Practice Magazine

without comments

twitterDT_logo Xander Soldaat, ROBOTC Project Contributor, was recently asked to write a robotics article for the British Design & Technology Practice magazine.  He wrote about the basics of programming a LEGO MINDSTORMS NXT omniwheel based platform, and the mathematics behind it using ROBOTC as the programming language.  

You can read a copy of the article here: [LINK].

The D&T Association is the organization that represents the interests of  Design and Technology (STEM) teachers throughout the UK.

 
 

Robomatter Blog Ad LEGO

 

Written by Cara Friez

May 13th, 2014 at 10:26 am

Student POV: Robovacuum

without comments

Alexis and Noah are back again with another Student POV! This time, sharing how they programmed a robovacuum in ROBOTC Graphical Language for the VEX IQ platform.

————————————————————————————
In this challenge, we programmed the Vex IQ robot to perform a task that was based off of the robotic vacuums that vacuum autonomously while avoiding obstacles. Our challenge was to program a robot that would perform like a robotic vacuum. Therefore it would be able to move autonomously while avoiding obstacles.

We started our program by putting in a repeat forever loop. This means that our program will continuously run until we stop it with the exit button on the Vex IQ brain.

RoboVacuum1

We then made a plan on what we needed our robot to do. Within the repeat loop, we had to put an “if else” statement. An if else statement is a command that makes a decision based on a condition. With our program, our condition is the bumper sensor. The robot checks the condition of whether or not the bumper sensor is depressed. If the bumper sensor is not depressed, it will run the command inside the curly braces of the if statement. If the bumper sensor is depressed, it will run the commands inside the brackets of the else statement. We had to put this statement inside a repeat forever loop because without it, it would only make this decision once.

RoboVacuum2

We then had to decide what task the robot was to perform when the sensor was depressed. So we set up commands within the curly braces of the else statement shown here.

RoboVacuum3

Below is an image of the final program.

RoboVacuum4

Now our robot is able to move around autonomously while avoiding different obstacles!

- Alexis and Noah

 
 

Robomatter Blog Ad VEX IQ

 

Written by Cara Friez

April 17th, 2014 at 8:30 am

Student POV: Slalom Challenge

without comments

It’s Danica and Jake, back again! This time, teaching people about the slalom challenge, in ROBOTC Graphical Language for the VEX IQ platform. The challenge is to line follow using the VEX IQ color sensor without hitting the “mines”, also known as the cups.

#5

In the graphical organizer, to line follow on the left side of the line, all you have to do is use the block, lineTrackLeft, to follow the right side you have to use lineTrackRight.

#1

In this block, there are 3 boxes, one for the threshold, the second for the speed of the left motor, and the last box is for the speed of the right motor. In this line of code, the threshold of 105, the robot’s left motor is set to go at 50% power, and the right motor is set to go at 15% power.

This block has to be included into a repeat loop to make sure the robot continues to do this command for an allotted amount of time.

#2

The repeatUntil loop has many options for how long the loop should run. For this challenge, we decided to use the timer.

#3

The timer is set at 7000 milliseconds or 7 seconds, so it has enough time to make it through the slalom. Our finished program looks like this:

#4

Now you can line follow in any challenge you would like, the possibilities are endless!

 
 

Robomatter Blog Ad VEX IQ

 

Written by Cara Friez

April 2nd, 2014 at 7:47 am

Student POV: Robo 500 Challenge

without comments

Hi, we’re Alexis and Noah, two eighth grade students at Hopewell Memorial Junior High School. Earlier this week, we did the Robo 500 challenge. To write the programs, we used the recently released ROBOTC Graphical software for the VEX IQ. The goal of the challenge was to complete two laps around a Vex IQ storage bin.

ROBO 500 picture

We completed the challenge by using timing and degree measurements. The first step was to get the robot to move forward. For this, we would use a basic motor command.

Photo 1

In ROBOTC Graphical, it gives you the option to choose the values in which you want your motor to run by, such as time and rotations. In this challenge, we chose time.

Photo 2

From there, we experimented with different time values until we found the timing that was needed to finish the side of the challenge before the turn. Through testing, I found that 3.7 seconds covered the distance needed.

Photo 3

Now, what was left was the largest challenge of the program, the turn. Timing a turn can be challenging on seconds alone. So, I used degree turns. I started with a 180 degree, which brought me around about 45°. Due to the drift of the robot when it moves forward, I had to make the turn slightly less than double the 180° turn. I settled on a value of 300°.

Photo 4

Once the values were established, the rest was just repeating the commands so the robot would go around the whole box. Here is an example of my final program.

Photo 5

We were then thinking about how the turns were a hassle with trial and error, and contemplated a better way to turn. So, we decided to use a gyro sensor to have the most accurate turns possible.

To start out the program we had to reset the gyro sensor so the sensor could record the degrees from zero.

Photo 6

From here we moved forward to the end of the course for time, and we moved forward for about four seconds. Then we used a while loop. A while loop is set to check a condition and while the condition is true, it performs what is inside of the curly braces of the while loop. In this case the condition is while the gyro sensor value is less than 90 degrees.

Photo 7

We would then repeat these actions until the robot has made two full laps around the course. Here is the program for one lap. To do two laps I would just repeat this program again.

Photo 8

We were able to finish our programs efficiently in a short amount of time due to the design of the new graphical programming. This new design enables you to drag over commands from the function library; such as, moving forwards and backwards, turning, and sensor commands while avoiding the hassle of painstakingly typing each command. This reduces the time spent on each program and allows us to speed up the pace at which we program, and we are able to complete challenges in a shorter amount of time.

Photo 9To the left, we have an image of the function library and a depiction of what would happen if you dragged a command into your program. The command would line up with the next available open line and would give you options as to what values you wanted to program your robot with.

————————————————————

If you’re a student who would like to contribute to the blog, let us know at socialmedia@robotc.net.

 
 

Robomatter Blog Ad VEX IQ

 

Written by Cara Friez

March 26th, 2014 at 7:30 am