ROBOTC.net Blog  

ROBOTC News

Archive for the ‘Coding’ tag

Cool Project: LEGO EV3 Sorter Machine

without comments

CH Chen created a cool project and shared it with us! This LEGO EV3 Sorter machine is able to detect the color of Lego Technic beams and then add it to the appropriate slot of the three colors.

 

 
 

 

Click here to see the code! And check out CH Chen’s blog with even more of his projects.

Do you have a cool project you’d like to share? If so, send us an email at socialmedia@robotc.net.

Written by Cara Friez

July 22nd, 2015 at 7:00 am

VEX CORTEX Trainer: Using the LCD

without comments

VEX Cortex Trainer The latest chapter within the VEX CORTEX Video Trainer Curriculum is now available … Using the LCD! Located in the Sensing section, this chapter covers how to configure and implement the LCD as a useful tool in your program.

Some of the lessons you’ll learn within this chapter includes:

  • Three steps to using the LCD

  • Displaying a custom message

  • How to display continuously updating values

  • How to use the LCD to debug your program

 

VEX LCD

 
Check out one of the chapter videos here:

 

Check out the entire curriculum here!

Written by Cara Friez

July 20th, 2015 at 6:35 am

VEX CORTEX Trainer: Gyro Sensor Chapter Now Available!

without comments

VEX Cortex Trainer The latest chapter within our latest VEX CORTEX Video Trainer Curriculum is now available … Gyro Sensor! Located in the Sensing section, this chapter will allow you to to turn the robot by measurements of degrees.

Some of the lessons you’ll learn within this chapter includes:

  • How the Gyro Sensor works

  • How to account for the momentum of the robot when turning.

  • How to use the Gyro Sensor to reduce Accumulated Error.

  • How to use the Gyro Sensor to increase turning accuracy.

 

Gyro Chapters
 

Check out one of the chapter videos here:


 

End Gyro SectionAt the end, there are two programming challenges, Mine Traversal and Robo 500, that can be completed with either a physical or virtual robot.

 

Check out the entire curriculum here!

 
 
 

Written by Cara Friez

July 2nd, 2015 at 7:25 am

Download ROBOTC for VEX Robotics 4.32 Today!

with one comment

ROBOTC 4-32
 

The ROBOTC Development Team is very excited to announce our latest update, ROBOTC 4.32. This update is for the VEX Robotics (VEX EDR CORTEX and VEX IQ) robotics systems and includes new features, functionality and a load of bug fixes.

 

Click here to download 4.32!
Important Setup Information for ROBOTC 4.32:

VEX IQ Users:

  • Run the “VEX IQ Firmware Update Utility” and update your VEX IQ Brain to firmware version 1.15.
  • Users will also have to update their VEX IQ Wireless Controller in addition to any other VEX IQ Devices (sensors, motors) that may need to be updated as well.
  • After updating to the latest VEX IQ Brain firmware, users will also have to install the latest ROBOTC firmware from inside of ROBOTC.

VEX Cortex Users (with Black VEXnet 1.0 Keys):

  • You will need to update your VEX Cortex and VEX Game Controllers with Master Firmware Version 4.25 from inside of ROBOTC.
  • After updating the master firmware, users will also have to update the VEX Cortex with the latest ROBOTC firmware as well.

VEX Cortex Users (with White VEXnet 2.0 Keys):

  • The new VEXnet 2.0 keys have a specific “radio firmware” that you will need to upgrade to enable “Download and Debugging” support. You can download the VEXnet Key 2.0 Firmware Upgrade Utility here.
  • Download the “VEXnet Key 2.0 Firmware Upgrade Utility” and insert your VEXnet 2.0 key to any free USB port on your computer. Follow the instructions on the utility to update each key individually. All VEXnet 2.0 keys must be running the same version in order to function properly.
  • After updating your VEXnet 2.0 keys, you will need to update your VEX Cortex and VEX Game Controllers with Master Firmware Version 4.25 from inside of ROBOTC.
  • After updating the master firmware, users will also have to update the VEX Cortex with the latest ROBOTC firmware as well.

ROBOTC 4.30 —> 4.32 Change Log:

Robot Virtual Worlds Package Manager

Robot Virtual Worlds Package Manager simplifies keeping your RVW worlds up-to-date and allows you to easily download new ones.

RBC Macro Editor

The RBC Macro Editor allows you to quickly create a ROBOTC Text-Based or Graphical macro file that will pre-configure many aspects of the UI, such as platform, the debugger windows that are to be opened, the default save-as file name and many others. If you are targeting Virtual Worlds, you can also select which world should be used.

General Changes

  • Debugstream has been made more robust to prevent buffer overflows and corrupted data.
  • Added quick access, “Add License” menu item.
  • Added command line option to deactivate all active, non-building licenses (-DEACTIVATE).
  • “SensorValue” intrinsic definition changed from ‘word’ to ‘int’. This will allow it be be either ‘short’ or ‘long’ depending on the native “int” format of specific platform.
  • CTRL+ALT+SHIFT+D” is new keyboard accelerator to open preferences.
  • All libraries (DLLs) and executables are now signed.

General Bug Fixes

  • Fix issue where a “save as” with a new document -> then a subsequent “save” would cause a “save as” prompt in the wrong location.
  • Fix enumeration bug in Joystick Driver
  • Context menu for large ICON toolbar changes now take immediate effect.
  • Fix the repeatUntil(0) warning message to say “‘repeat until’ expression is constant ‘0’. Loop will never exit.”
  • Fix issue with command line deactivation with building licenses
  • IDE was not removing error flags from graphical blocks.
  • Long operands on opcodes “&” “|”, “^” and “~” were incorrectly handling negative 16-bit constants.
  • Fix bug in addTo/MinusTo/DivideTo/TimesTo opcode when variable is a global short variable and the operand is a 16-bit or less compile time constant.
  • Fix issue that prevented functions that return pointers to be dereferenced in an expression.
  • Fixed a bug where the missing “Name” field would cause a crash for the command line activation.

Graphical

  • Hitting the Control key no longer deselects all the things.
  • Bug causing Graphical Block artefacts on the screen has been fixed.

VEX

  • Added 2 more RVW Cortex Standard Models.
  • Enhancements to improve the VEX Cortex IME functionality in Virtual Worlds
  • Fixed download firmware button not allowing you to cancel the procedure
  • Small fix for VEX Cortex to disable sensor ports during initialization to prevent solenoid jitter.
  • Fixed issue of “SQUAREBOT” standard model having PID control enabled with quadrature encoders.
  • Fixed issue of “SQUAREBOT” standard model not having the VEX LCD configured.
  • Removed the quadrature encoders from the “SQUAREBOT – IME” standard model.

Happy Programming!

Written by Cara Friez

June 12th, 2015 at 5:29 pm

ROBOTC for LEGO MINDSTORMS 4.32 Available Today!

with 2 comments

ROBOTC 4-32 LEGO
 

The ROBOTC Development Team is excited to announce our latest update, ROBOTC 4.32! This update is for the LEGO MINDSTORMS (NXT and EV3) robotics systems and includes new features, functionality and a load of bug fixes.

Click here to download 4.32!

Important Setup Information for ROBOTC 4.32:

LEGO NXT Users:

  • Simply update to the latest ROBOTC firmware from inside of ROBOTC.

LEGO EV3 Users:

  • All users will need to update the  LEGO EV3′s Kernel by connecting the EV3 and selecting “Robot Menu -> Download EV3 Linux Kernel” from inside of ROBOTC. The version number (1.07X) is the same to keep alignment with the EV3 Programming Software and LEGO’s releases.
  • After updating your EV3′s Linux Kernel, you’ll also need to update the ROBOTC firmware from inside of ROBOTC.

ROBOTC 4.30 —> 4.32 Change Log:

Robot Virtual Worlds Package Manager

Robot Virtual Worlds Package Manager simplifies keeping your RVW worlds up-to-date and allows you to easily download new ones.

RBC Macro Editor

The RBC Macro Editor allows you to quickly create a ROBOTC Text-Based or Graphical macro file that will pre-configure many aspects of the UI, such as platform, the debugger windows that are to be opened, the default save-as file name and many others. If you are targeting Virtual Worlds, you can also select which world should be used.

General Changes

  • Debug Stream has been made more robust to prevent buffer overflows and corrupted data.
  • Added quick access, “Add License” menu item.
  • Added command line option to deactivate all active, non-building licenses (-DEACTIVATE).
  • “SensorValue” intrinsic definition changed from ‘word’ to ‘int’. This will allow it be be either ‘short’ or ‘long’ depending on the native “int” format of specific platform.
  • CTRL+ALT+SHIFT+D” is new keyboard accelerator to open preferences.
  • All libraries (DLLs) and executables (EXEs) are now signed.

General Bug Fixes

  • Fix issue where a “save as” with a new document -> then a subsequent “save” would cause a “save as” prompt in the wrong location.
  • Fix enumeration bug in Joystick Driver
  • Context menu for large ICON toolbar changes now take immediate effect.
  • Fix the repeatUntil(0) warning message to say “‘repeat until’ expression is constant ‘0’. Loop will never exit.”
  • Fix issue with command line deactivation with building licenses
  • IDE was not removing error flags from graphical blocks.
  • Long operands on opcodes “&” “|”, “^” and “~” were incorrectly handling negative 16-bit constants.
  • Fix bug in addTo/MinusTo/DivideTo/TimesTo opcode when variable is a global short variable and the operand is a 16-bit or less compile time constant.
  • Fix issue that prevented functions that return pointers to be dereferenced in an expression.
  • Fixed a bug where the missing “Name” field would cause a crash for the command line activation.

Graphical

  • Hitting the Control key no longer deselects all the things.
  • Bug causing Graphical Block artefacts on the screen has been fixed.

MINDSTORMS

  • New Linux image, updated to 1.07X to ensure compatibility with LEGO EV3 Programming Software. Please be sure to update your brick to the latest Linux firmware.
  • EV3 brick can now be renamed from both the file and the communication utilities in the Robot menu.
  • Refreshed the Driver Suite files for both NXT and EV3
  • getColorRGB() will now also work with a standard LEGO NXT Color sensor.
  • Added intrinsic getSensorConnType() to retrieve sensor connection type.
  • Fixed multi-tasking issue in EV3 VM where multi-tasking was not possible with programs started directly from the EV3 Brick.
  • Fixed a division by zero error in DatalogTest.c sample program
  • Fixed an issue where uploading a file from your EV3 to your PC removed the file extension from the uploaded file.
  • LEGO NXT Sensors that are normally auto-ID’d no longer have their autoID flag disabled for that port.
  • LEGO Energy Meter was improperly configured.
  • Fix Standard Model issue for EV3 (Gyro was improperly configured)

Happy Programming!

Written by Cara Friez

June 12th, 2015 at 5:29 pm

The Robotics Summer of Learning is Back!

without comments

SOL Coming Soon

We are proud to announce the return of our Robotics Summer of Learning program! This summer, students have the opportunity to learn how to program robots, earn a programming certificate and badges, and play with cool software for FREE! We will provide all of the software and training materials at no cost to you or your students.  The course will consist of three modules: movement, sensing, and program flow and will be taught using the Robot Virtual World software.

The Robotics Summer of Learning starts June 15th, register here and we’ll send you a reminder when it opens up!

A Teacher’s POV Blog Series

without comments

Teacher POVWe’ve had some wonderful teachers share their stories with us this year about their experience in the classroom teaching robotics. Read their stories here in our Teacher’s POV blog series.

Here are a few recent posts:

– International School Manila
– Palisades Middle School Robotics Initiative
– RVW VEX IQ Beltway
– First Year Teaching Automation and Robotics

Do you have a story to share about implementing STEM into your classroom, a cool project you did with your students/team, or advice about teaching robotics? If so, send us an email at socialmedia@robomatter.com and be a guest blogger for us. We would love to share your stories on our blog!

 

Written by Cara Friez

June 10th, 2015 at 11:34 am

VEX Users: Program Virtual Robots Without Downloading Anything New!

without comments

Have You Explored New Worlds with ROBOTC?

ROBOTC has provided you with many challenges and learning opportunities, but did you know you can explore exciting new virtual worlds without downloading anything new? Try out Robot Virtual Worlds for FREE in ROBOTC with a 10-day trial!

See the instructions to get started at the bottom of this email!

What are Robot Virtual Worlds?

Robot Virtual Worlds are high-end simulation environments that enables users, without robots, to learn programming with game and competition worlds. Watch our video for more information!

Game Worlds!

Escape to one of our fantastic game worlds where you can use your programming skills to explore and complete challenges!

Ruins of Atlantis

We thought Atlantis was a myth. We were wrong. Your mission is to explore the Ruins of Atlantis, 6,000 meters below the surface of the ocean, collecting data and treasure as you do.

Palm Island Luau Edition

Visit the beautiful Palm Island and program your robot to drive along its boardwalk path. Collect coconut clusters and set lobster traps for the Luau.

Operation Reset

The mining colony of Alpha Base H99 needs your help! A terrible storm has damaged the colony’s equipment and we need you to use your programming skills to complete the mission.

Competition Worlds!

Practice your programming skills with virtual versions of popular robotic competitions.

VEX Nothing But Net

Try to get the most points by collecting and scoring the balls and bonus balls into the Low and High Goals. Elevate your robot into the climbing zone for bonus points!

VEX IQ Bank Shot

Get the highest score by emptying the ball cutouts, and scoring the balls into the scoring zone. More points if you can make a bank shot into the goal!

VEX Highrise Beltway

Autonomously score as many cubes as possible during the time period. Zoom around the beltway to move around. Beltway is a modified version of the VEX IQ Highrise competition game.

Getting Started

Starting your Virtual Worlds trial:

1.  Open ROBOTC (from the icon on your desktop or Start Menu).

2.  Click “Help”
in the menu and select “Manage Licenses”.


3.
  Click “Add License” in the menu and select “Robot Virtual Worlds – VEX” from the Product drop-down.

4.  Click “Start Trial”.

5.  Click “Close”.

Using Virtual Worlds:

1.  Click “Robot” in the menu and set the “Compiler Target” to “Virtual Worlds”.

2.  Click “Window” in the menu and set “Select a Virtual World to Use” to any of the virtual worlds installed.

Visit robotvirtualworlds.com to explore and download more levels!

If you need to go back to programming your physical robot, select “Physical Robot” from the “Compiler Target” menu.

Written by Cara Friez

June 9th, 2015 at 9:42 am

LEGO Users: Program Virtual Robots Without Downloading Anything New!

without comments

Have You Explored New Worlds with ROBOTC?

ROBOTC has provided you with many challenges and learning opportunities, but did you know you can explore exciting new virtual worlds without downloading anything new? Try out Robot Virtual Worlds for FREE in ROBOTC with a 10-day trial!

See the instructions to get started at the bottom of this email!

What are Robot Virtual Worlds?

Robot Virtual Worlds are high-end simulation environments that enables users, without robots, to learn programming with game and competition worlds. Watch our video for more information!

Game Worlds!

Escape to one of our fantastic game worlds where you can use your programming skills to explore and complete challenges!

Ruins of Atlantis

We thought Atlantis was a myth. We were wrong. Your mission is to explore the Ruins of Atlantis, 6,000 meters below the surface of the ocean, collecting data and treasure as you do.

Palm Island Luau Edition

Visit the beautiful Palm Island and program your robot to drive along its boardwalk path. Collect coconut clusters and set lobster traps for the Luau.

Operation Reset

The mining colony of Alpha Base H99 needs your help! A terrible storm has damaged the colony’s equipment and we need you to use your programming skills to complete the mission.

Virtual Challenges!

Practice your programming skills with virtual versions of popular robotic competitions or challenging obstacle courses.

Curriculum Companion

Practice valuable programming concepts with a variety of activities using the curriculum companion. Use the same ROBOTC code to program your real and virtual robots!

Level Builder

The RVW Level Builder provides a 12’x12′ square field to build on and several objects – from cans and boxes to line tracking tiles – that you can use to design challenging, unique, and fun levels!

Measurement Toolkit

Not sure how far to make your robot move? Use the virtual measurement tools to calculate the distance and angles needed to move around in the virtual worlds!

Getting Started

Starting your Virtual Worlds trial:

1.  Open ROBOTC (from the icon on your desktop or Start Menu).

2.  Click “Help”
in the menu and select “Manage Licenses”.

3.  Click “Add License” in the menu and select “Robot Virtual Worlds – LEGO” from the Product drop-down.


4.
  Click “Start Trial”.

5.  Click “Close”.


Using Virtual Worlds:

1.  Click “Robot” in the menu and set the “Compiler Target” to “Virtual Worlds”.

2.  Click “Window” in the menu and set “Select a Virtual World to Use” to any of the virtual worlds installed.

Visit robotvirtualworlds.com to explore and download more levels!

If you need to go back to programming your physical robot, select “Physical Robot” from the “Compiler Target” menu.

 

Written by Cara Friez

June 9th, 2015 at 9:41 am

2015 Robomatter Scholarship Winner

without comments

The Robotics Education and Competition (REC) Foundation isRobomatter-Logo pleased to announce the winner of the 2015 Robomatter Scholarship, valued at $5,000 which invited students participating in the VEX Robotics Competition to submit an essay explaining how their participation in both the VEX Robotics Competition and the Carnegie Mellon Robotics Academy sponsored Robot Virtual World Competition enhanced their understanding and application of programming. In addition, students were encouraged to share how programing skills and use of ROBOTC improved their robotics experience.

“It’s rewarding to hear that students, like Max Farr, gain valuable hands-on experience in programming through participation in the VEX Robotics Competition,” said Jason Morrella, president of the REC Foundation. “The REC Foundation is extremely grateful to partners, such as Robomatter, who make it possible for students to secure the resources they need to continue their education and pursue a post-secondary degree in STEM.”

The winner of the 2015 Robomatter Scholarship is: Max Farr, VEX Robotics Competition Team 21, from CHAMPS Charter High School in California.

“As our team’s driver and programmer, I rely on ROBOTC’s easy and approachable format to enable me to quickly plan, set up and execute commands that improve our game strategy and overall execution,” said Max Farr. “I also rely on Robomatter’s Virtual World at the beginning of every season to better understand the game and quickly begin brainstorming robot designs.”

The 2015/2016 season is now open with VEX IQ Challenge Bank Shot and VEX Robotics Competition Nothing But Net. Both games are available through the Robot Virtual Worlds too!

For more information about the REC Foundation and the scholarship program, please visit www.RoboticsEducation.org. And for more information about Robomatter, please visit www.Robomatter.com.

Written by Cara Friez

June 4th, 2015 at 5:30 am