ROBOTC.net Blog  

ROBOTC News

Archive for the ‘IQ’ tag

Robotics Academy Fall Online Training Schedule

with one comment

OnlineTraining.235000

We are excited to share our Fall online training schedule with you! Enjoy the convenience of taking Robotics Academy courses without leaving your own computer workstation. Register for a class today!!
 

Online Training Schedule

EV3

EV3


 
Complimentary ROBOTC for EV3 Webinars
Oct 14th – Nov 18th, 2014
Tuesdays for 6 Weeks
7-7:45pm EST (4-4:45pm PST)

 

 

 

 

 

TETRIX

TETRIX


 
ROBOTC Online Training for LEGO / TETRIX
Oct 16th – Nov 20th, 2014
Thursdays for 6 Weeks
6-8:00pm EST (3-5:00pm PST)

 

 

 

 

 

VEX CORTEX

VEX CORTEX


 
ROBOTC Online Training for VEX CORTEX
Oct 13th – Nov 17th, 2014
Mondays for 6 Weeks
6-8:00pm EST (3-5:00pm PST)

 

 

 

 
 

VEX IQ

VEX IQ


 
Complimentary ROBOTC for VEX IQ Webinars
Oct 14th – Nov 18th, 2014
Tuesdays for 6 Weeks
6-6:45pm EST (3-3:45pm PST)
 
 

 

 

 

Written by Cara Friez

September 9th, 2014 at 7:30 am

Latest ROBOTC Update is our Official Release!!

with 13 comments

ROBOTC 4-26

We’re very excited for our official release update, ROBOTC 4.26!! This update is for the both the VEX Robotics (CORTEX and IQ) and LEGO MINDSTORMS (NXT and EV3) robotics systems.

Some of these new updates include …

  • Full EV3 Functionality (Sounds, LCD, LEDs, Sensors, Motors)
  • Graphical Language for all platforms (VEX IQ, VEX Cortex – LEGO NXT, LEGO EV3)
  • Updated 3rd Party Driver Library for NXT and EV3
  • Updated Text Based Natural Language for NXT
  • Tons and Tons of Bug Fixes and Enhancements!

Screenshot-2014-08-15_17.23.09

Screenshot-2014-08-15_17.37.14

Screenshot-2014-08-15_17.25.23_____________________________________________________________________________

ROBOTC 4.25 -> 4.26 Change Log

  • Major Bug Fixes
    • Fixed Encoder Count Issue with VEX IQ Virtual Worlds – Encoders were not properly adjusting to the 360 count scale and may have caused issues when trying to use multiple “setMotorTarget/moveMotorTarget” commands.
    • Fixed Virtual Worlds for VEX Cortex platform – crashes when trying to download to Virtual Worlds with VEX Cortex platform are now resolved.
  • VEX IQ
    • Support for VEX IQ Brain Firmware Version 1.12
    • Increase timeout (4 seconds -> 10 seconds) for downloading over wireless for VEX IQ.
    • New VEX IQ Clawbot image for Standard Models
    • New Dialog Message for successful VEX IQ Firmware Downloading
  • VEX Cortex
    • Implemented fix for dual platform users who may experience compiler errors due to “External Motors/Servo Controllers” flag being enabled.
    • Check that a valid team number has been set for VEX Cortex Controller. The check is made during user program download when the download type has been set to “Competition”. Teams should set their VEX Team Number to assist with debugging at competition while using VEXNet 2.0 (white) radios.
  • LEGO EV3
    • Adjust EV3 Standard Model – Motor ports were reversed (left vs right)
    • Adjusted all EV3 Graphical Sample Program to reflect new “standard model”
    • Support for draw picture (BMP) file on LCD screen. Does not support general BMP files, but rather LEGO specific picture files.
    • Fixed an issue where the EV3 “Reset Gyro” command was not properly resetting the Gyro value.
    • “getBatteryCurrent” command has been fixed.
    • Improved usage of Casper’s “search for devices” so that USB connected EV3 that are disconnected during a ROBOTC session are better handled.
    • Crashes to ROBOTC after closing the IDE Editor after communicating with an EV3 have been resolved.
  • Virtual Worlds
    • Additional Logic to have “TETRIX” based Virtual Worlds appear if the “External Motor/Servo Controller” flag is toggled. Currently they do not appear under any condition.
    • Fixed bug hiding “Joystick Control – Basic” for Virtual Worlds users.
  • Graphical Interface
    • Prevent ‘text’ and ‘graphical’ menus from becoming undocked from the ROBOTC interface – doing so may cause the main ROBOTC interface to become unresponsive.
    • Fixed bug where empty parameter values were using the last provided string as opposed to overwriting with “Blank” values – applies for the “MultipleMotor” Graphical commands.
  • ROBOTC IDE / General
    • Text-Based Function Library will no longer show commands that have been deemed “deprecated”
    • Update “Errors” to “Compiler Errors” based on user’s feedback.
    • Change compiler “error” to “warning” for assignment of a pointer value to an int without use of a cast.
    • Compiler was incorrectly allocating temporary variables during evaluation of “&(NULL)” types of expressions. Fixed.
    • Updated Help documentation files.

Download ROBOTC 4.26 here! And ensure that your devices are up to date by following the instruction in our last post. 

As always, if you have questions or feedback, feel free to contact at support@robotc.net or visit our forums! Happy programming!!

Written by Cara Friez

September 2nd, 2014 at 10:07 am

Exciting New ROBOTC Update Available Today!

with 11 comments

ROBOTC4-25

We’re excited to release our latest update, ROBOTC 4.25!!  We are calling this our “Release Preview”, because we are still in development for the full version, which will be released by the end of the month. This release is stable and we encourage all our ROBOTC users to try it out. If you run into any major issues, let us know in the forums. This update is for the both the VEX Robotics (CORTEX and IQ) and LEGO MINDSTORMS (NXT and EV3) robotics systems.

Some of these new updates include …

  • Full EV3 Functionality (Sounds, LCD, LEDs, Sensors, Motors)
  • Graphical Language for all platforms (VEX IQ, VEX Cortex – LEGO NXT, LEGO EV3)
  • Updated 3rd Party Driver Library for NXT and EV3
  • Updated Text Based Natural Language for NXT
  • Tons and Tons of Bug Fixes and Enhancements!

Screenshot-2014-08-15_17.23.09

Screenshot-2014-08-15_17.37.14

Screenshot-2014-08-15_17.25.23

_____________________________________________________________________________

Before you can use ROBOTC 4.25, you will need to ensure that your devices are up to date. The instructions to update your hardware will be different depending on what hardware setup you may have…

LEGO NXT Users

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

LEGO EV3 Users

  • Update your LEGO EV3′s Firmware/Kernel by connecting your EV3 and select “Download EV3 Linux Kernel” from inside of ROBOTC – This process will take about 5 minutes and will allow your EV3 to communicate with both ROBOTC and the EV3 Icon-Based programming language. After updating your EV3′S Linux Kernel, you’ll be able to install the ROBOTC firmware from inside of ROBOTC.

VEX IQ Users

  • Run the “VEX IQ Firmware Update Utility” and update your VEX IQ Brain to firmware version 1.10. You will also need to update your VEX IQ Wireless Controller by attaching it to your VEX IQ Brain using the tether cable. You 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 version 4.25 from inside of ROBOTC. After updating your master firmware, you will also have to install 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 find the “VEXnet Key 2.0 Firmware Upgrade Utility” utility here.
  • Link: http://www.vexrobotics.com/wiki/index.php/Software_Downloads
  • 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 version 4.25 from inside of ROBOTC. After updating your master firmware, you will also have to install the latest ROBOTC firmware as well.

_____________________________________________________________________________

And finally, the very LONG Change Log for 4.25:

  • Cortex: Added servo motor commands to Cortex for Virtual Worlds.
  • Cortex: Added potentiometer commands to Cortex for Virtual Worlds.
  • Cortex: Add Timers and Clear Timers to Graphical for Cortex.
  • IDE: Spurious “rbg” file extension may have been added when saving a text file created from converting a graphics file. Fixed.
  • EV3: Update the routine that checks for “valid syntax of NXT on-brick file” for EV3. EV3 has different rules for file names than NXT.
  • VEX IQ: Added sound commands to Natural Language for VEX IQ – modified the playNote command to use typedefs to make it easier for natural language users.
  • Compiler: When substituting symbol names that match except with different letter case do a better job of handling the case when multiple symbols might possibly fit.
  • EV3: Support for standard ROBOTC “playTone” file with EV3.
  • Updated IDE Version (4.25)
  • Updated Firmware Version (10.25)
  • IDE: New Help System Engine + Content Files (replaces CHM)
  • Debugger: Fixed issue where VEX IQ motor debugger window was displaying “raw” encoder counts instead of “scaled” encoder counts.
  • Virtual Worlds: Adjust “no echo” value for VEX IQ in Emulator/Virtual Worlds
  • IDE: Default directory has been adjusted to be “my documents” instead of the root ROBOTC directory for saving un-saved files.
  • Compiler: Format code “%f” was broken in implementation when a number of decimal specifier wasn’t provided. Fixed.
  • Natural Language: Updated Natural Language Libraries to include “debugging” to LCD commands.
  • GUI: Updated Desktop/Start Icons for Graphical
  • Debugger: Sensor window had some “artifacts” when the number of display rows was larger than the number of active sensors. Fixed so that artifacts are now blank lines.
  • Compiler: Fixed compiler bug. Conversion of ‘float’ constant expressions to ‘long’ constant value was incorrect. End result of bug was that most likely value assigned was zero.
  • EV3: Added resources to the firmware image with sounds and images in /home/root/lms2012/resources/
  • EV3: EV3 firmware from LEGO does not properly handle the use of ‘.’ in the middle of filenames. Replace the ‘.’ with ‘_’.
  • Compiler: Fixed issue with rand() – Compiler was incorrectly optimizing get/set property opcodes to a one-byte index value with constant parameters. Almost all properties only need one byte with exception of “propertyRandom” which was behaving incorrectly as a result of this bug.
  • Graphical: Support for “compiler error” display for graphical files including using “graphical block numbers” rather than “text line index” for error display.
  • Graphical: Tweaked graphical loop block colors.
  • VEX IQ: Allow the debugger to display information based on the global motor encoder units instead of raw counts for VEX IQ
  • Cortex: Updated VEX Cortex IME Support to reflect new motor type (393 with Turbo Gears). Also removed some inconsistencies in the software as well.
  • EV3: When USB connected EV3 is disconnected then ROBOTC would not reconnect to it when reconnected until ROBOTC application was existed and re-entered. The problem was ROBOTC was using a “old” list of “discovered devices”. Now discards list of devices and rescans — when connecting via USB only — and problem is resolved.
  • EV3: Support for EV3 text drawing to screen.
  • EV3: Breakpoints now working for EV3.
  • EV3: Add support for “EV3 Remote Screen” as part of the Debugger.
  • Compiler: Improved implementation of compiler parse for ‘typedef enum” and “typedef struct”. Implementation is now closer to standard “C” with better handling for “anonymous” typedefs. Does not break any sample programs.
  • IDE: “Open Include File” command in source file context menu was broken; fixed. “Go to symbol definition” context menu command now filters out macro parameters and procedure variables.
  • NXT: Fixed issue where “simple” game controller data wasn’t appearing in available debugger windows
  • Graphical: Graphic trash can implementation. You can drag selection to the trash can to delete blocks.
  • NXT/EV3: Fix spurious generation of “#pragma config” for PID settings that are all set to 0xFF values.
  • Graphical: Syntax checking on graphical files. Some errors are now flagged.
  • Graphical: Implement “Comment” block for Graphical views including edit capability.
  • EV3: New Commands for EV3 IR Sensor
  • EV3: New Commands for EV3 Bumper/Touch Sensor
  • EV3: New Commands for EV3 Color sensor
  • EV3: New Commands for EV3 Gyro sensor
  • EV3: New Commands for EV3 Touch Sensor
  • Graphical: “>” and “<” comparison operators were swapping when saving a graphical file. Fixed.
  • IDE: When a new source file is opened (or a template file) do not initially set the “modified” flag in the file. Only set the modified flag after end user has modified the file.
  • IDE: Avoid double “Save File” prompt when compiling a file and on the first SAVE prompt you click cancel.
  • EV3 Kernel: Image of latest build – version 1.06X and all the I2C enhancements.
  • EV3: IDE “File Management” window for EV3 was often crashing; fixed a buffer read overflow situation which clears this up. Better text error message when there is not enough free flash memory to write a new file to the EV3.
  • IDE: Disable “error” message box when pulling USB cable from robot brain (and the debugger shuts down).
  • VEX IQ: Visual Error handling for Debugger Exceptions (Wrong Motor/Sensors/etc)
  • VEX IQ: Updated GUI Text: When a ROBOTC AUTO program had previously ran, and then a user was trying to access a TeleOp program, they would be greeted with a “No Radio Needed…” message box. Updated the text to reflect that if they’re seeing a message they probably need a remote control, because this string is never presented to the user for more than a split second in Auto mode.
  • IDE: Fixed issue with “Sensors” debugger window not being able to be edited.
  • VEX IQ: fixed Issue with VEX IQ Color Sensor – Hue values were being scaled improperly.
  • Graphical: Reduce flicker on graphical view when dragging blocks.
  • Graphical: Added registry options to adjust the appearance of graphical programs. Includes show/hide {}. Show/hide semi-colons. Optional “end” text on end block. Etc.
  • Robot Virtual Worlds / VEX IQ: Invert the proximity value provided by the vex color sensor to align with real hardware.
  • IDE: Add support to “Motors and Sensors Setup” to store drive side — left/right/none — for each motor. Graphical Movement Commands will now use this data to decide what motors to drive
  • Graphical: Adjust width of graphic programming blocks based on contents of edit controls and width of drop down menu items.
  • Graphical: Added EV3, VEX Cortex and NXT as “Graphical Language” platforms.
  • Bug: Large ICON toolbar was not getting built when IDE is opened unless it was “opening last file”. Changed data table to ensure that it is initially built.
  • IDE: Added ability for “Macro” commands to Compile/Download/Launch Graphical Files when special flags are stored inside of the .RGB files.
  • Graphical: VEX IQ Motors and Sensors now support dynamic menus based on Motors and Sensor Setup Data

_____________________________________________________________________________

Download ROBOTC 4.25 here!

As always, if you have questions or feedback, feel free to contact at support@robotc.net or visit our forums! Happy programming!!

Written by Cara Friez

August 15th, 2014 at 8:49 pm

Update – ROBOTC for VEX Robotics 4.08

with 4 comments

ROBOTC logo 4 UpdateThe ROBOTC Development Team is excited to announce the availability of ROBOTC for VEX Robotics 4.08 – an update for the VEX Cortex and VEX IQ platforms. This new version supports the latest firmware versions provided by VEX Robotics (4.20 for VEX Cortex / 1.09 for VEX IQ) and all of the new features supported by the new firmware updates. Some of these new improvements include:

- Support for the VEXnet 2.0 (white) Radios for the VEX Cortex
- Bug Fixes for the VEX IQ system to prevent “I2C Errors”
- Speed enhancements for VEX IQ for better performance of motors and sensor
- New VEX IQ commands for Gyro sensors

This new version of ROBOTC also supports the VEX IQ “Graphical Natural Language” feature. This new interface allows users to program robots from inside ROBOTC with easy-to-use graphical blocks that can be drag-and-dropped to form a program. Each block represents an individual command from the “text-based” ROBOTC and Natural Language. The new click and drag interface along with the simplified commands of Natural Language allows any robotics user to get up and running with programming their robots as soon as possible. As of today, the Graphical Natural Language commands work with the VEX IQ system, but we’re actively developing support for ALL ROBOTC supported platforms!

Before you can use ROBOTC for VEX Robotics 4.08, you will need to ensure that your VEX devices are up to date. The instructions to update your hardware will be different depending on what hardware setup you may have…

  • VEX IQ Users
    • Run the “VEX IQ Firmware Update Utility” and update your VEX IQ brain to firmware version 1.09. You 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 version 4.20 from inside of ROBOTC. After updating your master firmware, you will also have to install 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 find this 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 version 4.20 from inside of ROBOTC. After updating your master firmware, you will also have to install the latest ROBOTC firmware as well.
    • Note that this new firmware version will support download and debugging with both VEXnet 1.0 (black) and VEXnet 2.0 (white) keys.

Here’s the list of changes and enhancements between version 4.06 and 4.08.

VEX Cortex:

  • Support for VEX Cortex Master Firmware 4.20 and VEX Game Controller Master Firmware 4.20
  • Support for wirelessly download and debugging using the new VEXnet 2.0 2.4Ghz radios.
  • Fixed an issue with launching ROBOTC in “Virtual Worlds” mode, which may incorrectly choose the wrong compiler target.
  • Fixed issue with Windows XP/Vista/8 where ROBOTC may crash when unplugging/plugging in a device

VEX IQ:

  • Improved motor responsiveness (16ms update cycles as opposed to 50ms today – this was a mitigation for the I2C issues in the current Master FW)
  • Improved sensor responsiveness (varies by sensor – this was a mitigation for the I2C issues in the current Master FW)
  • Gyro sensors can now return either integer values (getGyroDegrees/getGyroRate) or floating point values (getGyroDegreesFloat/getGyroRateFloat)
  • Fixed a bug where the Gyro sensor was not using the “rate” setting to properly return a deg/sec calculation for the getGyroRate command.
  • Exposed the ability to calibrate the gyro sensor from the user program and specify the number of “samples” to take during calibration (more samples = less drift = longer calibration time)
  • Also added a boolean “get” command to read the gyro calibration status bit to know when calibration is done.
  • New PWM adjustment function – allows users to trigger a specific VEX IQ motor to read the current battery voltage from the VEX IQ brain to adjust the PWM scale factor in the motor to ensure consistent performance. This is automatically done each time a program is executed with ROBOTC, but for longer programs end-users might want to readjust the PWM scale factor.
  • New “read immediate current” from motor – returns a value in mA
  • Modified functions for “motor strength” – renamed these to be “motor current limit” and uses values in mA instead of 0-255 byte value. These commands used to be called “getMotorStrength” and “setMotorStrength” – they’re now renamed to “getMotorCurrentLimit” and “setMotorCurrentLimit”
  • Fixed an issue with “Graphical” mode where users may start up in “Cortex” mode and the function library will appear blank
  • Fixed an issue when “Natural Language” mode was enabled that normal sample programs may not run properly (using the leftMotor/rightMotor keywords)
  • Fixed issue with Windows XP/Vista/8 where ROBOTC may crash when unplugging/plugging in a device

If you have any questions or issues, contact us at support@robotc.net. Happy Programming!!

 
 

Robomatter Blog Ad VEX IQ

 

Written by Tim Friez

March 26th, 2014 at 8:40 pm

VEX IQ Challenge – Add It Up

without comments

VEX IQ LogoAt the VEX World Championship in Anaheim, VEX introduced their newest robotics platform, VEX IQ.  VEX IQ is designed to transform STEM learning for students and their teachers. Students as young as 8 can begin building and programming their robot.

To support the VEX IQ system, the REC Foundation revealed a new VEX IQ Challenge game called “Add It Up” for the 2013-2014 robotics season.
 

VEX IQ Add It Up Field

In the VEX IQ Challenge, students, with guidance from their teachers and mentors, build a robot using the VEX IQ robotics platform to solve an engineering challenge that is presented in the form of a game. VEX IQ Challenge teams will work together scoring points in Teamwork Matches, and also get to show off their robot’s skills individually in driver controlled and autonomous Skills Challenges. VEX released a new video yesterday that explains the rules of the game.

 

There are a total of thirty-six (36) Small BuckyBalls and four (4) Large BuckyBalls available as Scoring Objects in the game. There are four (4) Floor Goals, two (2) Low Goals, two (2) High Goals, and four (4) Scoring Rings, as well as a Hanging Bar. Official game documents are available here: VEX Wiki – Add It Up

Registration for a VEX IQ Challenge team costs $100. Additional teams from the same schools can register for $50. Tournament entry fees vary by event. Visit RobotEvents.com for more information, to register a team and find events near you.

Carnegie Mellon Robotics Academy is currently developing new curriculum and trainings for the new VEX IQ platform and ROBOTC for VEX Robotics 4.0. Curriculum, software, and training will be available this Fall.  To find out more information visit: Robotics Academy VEX IQ.

What do you think of the new VEX IQ system? Are you interested in creating a team in your area?

Written by Cara Friez

July 2nd, 2013 at 6:02 pm