ROBOTC.net Blog  

ROBOTC News

Archive for the ‘Mathematics’ tag

A Teacher’s POV: Using the Gyro Sensor

with one comment

Programming your robot to make precise turns can be a source of frustration for some students as they begin to learn ROBOTC. Oftentimes, when students are just learning programming, all of the movements of their robots are based on timing. When programming a robot to move forward or backwards, a small error or a small amount of inconsistency can usually be overcome. With turning, however, inconsistencies and small errors can lead to larger errors and the frustration I mentioned earlier.

gyro sensor

At this point, students learn that sensors can be used to improve the movement of their robots. With the VEX IQ, a Gyro Sensor is provided that eliminates any guesswork when it comes to programming your robot to turn.

The Gyro Sensor measures the rotational angle of the robot. If you look at the Gyro Sensor, you will see an arrow that points in a counter-clockwise direction. That is the default positive direction. Therefore, as long as the sensor is mounted flat on the robot it picks up the parallel angle to the ground. The sensor then registers the current position as a zero point. If the robot turns counter-clockwise, it registers as a positive value. If it turns clockwise, the sensor registers a negative value. We can see this applied with the following illustration:

 

Gyro_Sensor--Display

 

We can program the Gyro Sensor using Natural Language or full ROBOTC. To use Natural Language, you just need to make sure that the Gyro Sensor is plugged into port 4. Let’s take a look at some ways to program the Gyro Sensor with Natural Language.

 

measure turnsleft gyro

 

With this program, getGyroDegrees returns the current rotational value of the sensor in units of degrees. When making gyro-based turns, it is best to reset the gyro sensor before each turn, so the resetGyro command is utilized. With the example, we want the robot to turn until the getGyroDegrees command returns a value (from the Gyro Sensor) of 90 degrees. Therefore, we use the repeatUntil command. When we run this program, our robot should make a 90 degree left turn. Note that the robot may turn more than 90 degrees due to drift, which is caused by momentum. If this occurs, just slow down the speed of the motors. That should eliminate the drift.

We can apply the same commands to program our robot to make a right turn.

 

measure turnsright gyro

 

What I did when first showing the students the Gyro Sensor was to have them see the sensor work with the debugger screen. I used a sample program utilizing full ROBOTC with this activity. The sample program we used was in the Gyro Sensor Folder, and it is called Gyro Display Values. The students compiled and downloaded the program. They kept the USB cables plugged into their robots so they could see the values of the Gyro Sensor on the debugger screen. To access the debugger windows, go to the Robot menu, click on Debugger Windows, and then select Sensors.

The students can now run their program, physically move their robot, and see how the values of the Gyro Sensor change via the debugger screen.

The VEX IQ Gyro Sensor is extremely useful and easy to program, and the students have a lot of fun using this sensor.

- Jason McKenna

 
 

Robomatter Blog Ad VEX IQ

 

Written by Cara Friez

February 24th, 2014 at 1:16 pm

Expedition Atlantis Beta 3 Now Available!

without comments

We’re happy to announce a big update to the Expedition Atlantis game. Thank you to everyone who provided feedback for the previous versions – keep it coming!

One new feature that we think you’ll appreciate is the ability to create a certificate of the badges that you’ve earned, if you’ve been playing with a CS2N or Local account. It’s a great way to share the progress you’ve made in the game!

Atlantis Certificate

Here are some of the other major features and fixes we’ve made based on your feedback:

  • Fixed a bug where sometimes the game would freeze after upgrading to Helios II in Poseidon’s Courtyard
  • Improved the visibility of the distance and angle values throughout the game, especially in the Heart of Atlantis
  • Fixed a bug where the game could crash in VR Training Mode
  • Fixed a bug that could cause the game to freeze in the Underwater Base when playing in Custom Difficulty
  • Addressed possible issues when switching between difficulty levels while playing the Heart of Atlantis

To catch up on all of the latest Expedition Atlantis information, including the game unveiling and a Google Hangout with the development team, check out our Expedition Atlantis page.

Download the latest version of Expedition Atlantis at RobotVirtualWorlds.com.

Update for Expedition Atlantis Virtual World!

without comments

We’re excited to announce a huge update to our brand new Expedition Atlantis Virtual World. The update includes nearly 100 fixes and improvements to the deep sea game. For a full overview of the game, check out the original announcement here. And the best news is, Expedition Atlantis is completely free through the end of the year!

Atlantis Beta 2

Download the latest version of Expedition Atlantis by clicking here.

If you downloaded and tried out Expedition Atlantis, please take 2-3 minutes and give us your feedback in this survey.

Written by Jesse Flot

October 22nd, 2013 at 5:07 pm

New Robot Virtual World: Expedition Atlantis

without comments

The Robot Virtual World team has just released a beta version of it’s latest game, Expedition Atlantis! It’s the year 2023 and Atlantis has been discovered deep in the ocean, off of the coast of Africa. A team of elite scientists and engineers have been sent to investigate the underwater ruins, and you’re one of them! Use your skills to to maneuver the teams underwater vehicles in this expedition to Atlantis!

Proportional problems are embedded everywhere. Expedition Atlantis provides students with the big ideas needed to become proficient proportional thinkers. Check out this video to see how:

The game begins with your submarine being deployed from a large mothership, beginning your expedition to Atlantis. A large underwater storm throws the submarine off course and into a cliff side!

Hyperion Deployed

Fortunately, the submarine was equipped with an escape pod! The underwater storm is still acting up, so you’ll need to move the robot to areas with cover between outbursts. The mothership will transmit how far away the next safe zone is; you’ll need to calculate how many wheel rotations it will take to get there. Be careful not to move too far or too little or you’ll be blown around the ocean floor!

Chapter 1

A special training mode is available to help you learn how proportional relationships work, like how turning a number of wheel rotations translates into moving forward a certain distance.

VR

Expedition Atlantis can be played with four different difficulty levels: Cadet (Easy), Explorer (Medium), Admiral (hard), and Custom. With custom mode, you can set how many problems you need to solve in each level of the game, and how hard the problems are. You’ll also notice that there are 4 main levels to the game.

Chapter Selection

After completing Level 1, the Minoan Megaliths, you’ll reach Level 2, the Pillars of Hercules. Underwater platforms appear to allow your escape pod to cross the chasm. You’ll need to calculate how much the robot needs to turn to line itself up with the next platform, before the robots thrusters engage. Be careful or your robot will thrust itself right to the bottom of the chasm!

Chapter 2

Once you cross the chasm, you’ll reach the Atlantis Base and be equipped with a robot capable of catching cargo from the mothership. The storm is still acting up and throwing the cargo off course, so you’ll need to calculate how much the robot needs to turn and move forward to catch the cargo in Poseidons Courtyard.

Chapter 3 A

The cargo you catch contains upgrades for your robot, which will be crucial for the final part of your mission. Take the cargo back to base to equip the upgrades!

Chapter 3 B

In the underwater base, you’ll be able to equip all of the upgrades that you caught in Poseidons Courtyard. Upgrades range from different wheels, different robot bodies (chassis), powerful attachments, and even paint colors.

Base

With your upgraded robot, you’ll be ready to explore the Heart of Atlantis. You’ll be completely in charge of marking where your robot needs to go, performing the calculations to get it there. Be careful! Ancient Atlantis was highly advanced technologically – it has a reactor core and portal network which is still operational today, but sensor readings indicate that they are unstable. Your robots radiation shield will protect it from the radiation, but will also slowly drain its batteries.

Chapter 4

As you make progress in Atlantis, you’ll be rewarded with achievements. These achievements will also show up on your “My Achievements” page on CS2N, if you logged into the game with your CS2N username!

Badges

Why Use Expedition Atlantis?

  1. Proportional problems are embedded everywhere
    1. Widely applicable
    2. Students with math IEPs especially need proportional reasoning skills
  2. Expedition Atlantis provides students with the big ideas needed to become proficient proportional thinkers
    1. High student engagement through underwater robotics game
    2. Research-driven
      1. Mechanistic approach
      2. Proportional thinking, not just proportional methods
      3. Repeated, contextualized practice
      4. Unified approach
    3. Aligns with the Common Core Standards
    4. Immediate teacher and student feedback
    5. Differentiation for high- and low-performing students (manual and automatic)

Expedition Atlantis is designed to be a fun, educational tool to teach and reinforce proportional relationships. When complete, it will be accompanied with a full Teacher’s Guide that provides information on its use in the classroom, ties into mathematical standards, and other valuable information. It’s also available completely for free during our Beta and Feedback period, so download it today!

We appreciate any feedback you have about Expedition Atlantis. Feel free to share it at the ROBOTC.net Forums.

Robotics Back to School Blog Series

without comments

SCHOOL-BUS-DRIVERIt is that time of year again … backpacks on our backs, buses on the streets, and lessons being planned. Yes, we are going back to school! To kick start the school year, we are introducing a six week robotics back to school blog series that highlights the technical and pedagogical side of planning for your robotics classroom. John Watson, from ROBOTC customer support, and Jason McKenna, a K-8 Gifted Support Teacher in the Hopewell Area School District outside of Pittsburgh, PA, will be sharing with you tips, tricks, advice, and recommendations on prepping your robotics classroom and curriculum.

As each blog is posted, the topics below will turn into hyperlinks, so feel free to bookmark this page!

Topics

If you have any questions or would like to start a conversation on any of the topics, feel free to leave us a comment below!

Sneak Preview: RVW Expedition Atlantis

without comments

Atlantis01Happy Friday! I thought it might be nice to end the week with a little sneak preview into our newest Robot Virtual World game, “Expedition Atlantis: A Calculated Deep Sea Adventure.” We are still working on it, so things might change, but wanted to share an inside look. The game and curriculum will be available this Fall. Check back for more info soon!

 

 

 

 

 


 

 

Written by Cara Friez

July 12th, 2013 at 5:59 pm

Robot Virtual Worlds Measurement Toolkit

without comments

Measurement-Tool-KitWe recently added a great new feature to our Robot Virtual Worlds … the Measurement Toolkit! There is no more guessing on how far a robot needs to travel to solve programming problems. It allows for intelligent path planning and navigation. You can now have students do the math, show their work, and explain how they solved the problems.

Check out our newest video that talks about what the measurement toolkit can do in RVW!