ROBOTC.net Blog  

ROBOTC News

Archive for the ‘IQ’ tag

Cool Project: VEX IQ Smart Radio and iOS

without comments

Cool Project - Smart Radio Blog
Our friend, Simon Burfield, put together a fantastic tutorial on how to get the your VEX IQ brain transferring data with your bluetooth enabled smartphone using the VEX Smart Radio and ROBOTC. Who doesn’t want to control their VEX IQ with a smartphone?!?!

And if you were at VEX Worlds 2016, you might have seen the VEX IQ Smart Radio in action with Simon’s robots. Check out a preview below:

 

To get started, you will need the following:

  • An iOS device with xcode installed
  • A way to run ROBOTC 4.5 +
  • The VEX firmware update program

The following video tutorial and steps below will guide you through the process:

Steps

1) Install the VEX Smart Radio firmware on to the brain
2) Enable Smart Radio in ROBOTC
3) Install the RobotC Smart Radio firmware on to the brain
4) Download the code https://github.com/burf2000/VEXIQ_iOS_ROBOTC
5) Plug a motor in to port 8, a Touch LED in to port 2
6) Install the ROBOTC (BT Demo) program on to the brick
7) Disconnect the brain from the PC
8) Find your Smart Radio ID and remember it (mine was 7436)
9) Run the ROBOTC program on the brain (remember not to be connected via USB)
10) Load code project up and deploy to a iOS device that supports Bluetooth LE
11) Enter your Smart Radio ID in to the App and hit connect

Once connected you should be able to control the motor and the LED!

You can find the original code by James Pearman here. And this is Simon’s code shown in the video tutorial.

Have questions? Head over to our ROBOTC VEX IQ Forum and we can help you out.

Happy Programming!

Do you have a cool ROBOTC project you want to share with the world? If so, send us an email at socialmedia@robomatter.com and we’ll post it on our blog and social media pages!

Written by Cara Friez-LeWinter

May 18th, 2016 at 6:00 am

VEX Starstruck and VEX IQ Crossover Robot Virtual Worlds Now Available!

with 2 comments

VEX RVW 16

We are thrilled to announce the availability of our two brand new virtual environments, the VEX EDR Robotics Competition – Starstruck and VEX IQ Challenge – Crossover. As in years past, these worlds are made available at the same time as their real world counterparts are unveiled at VEX Worlds!

The competitions for this year are both extremely exciting! With VEX Starstruck, matches are played on a field set up as seen below. The object of the game is to attain a high score by Scoring your Stars and Cubes in your Zones and by Hanging Robots on your Hanging Bar.

CORTEX Board

CORTEX Board 2

For VEX IQ Crossover, matches are played on a field set up as seen below. The object of the game is to attain the highest score by Scoring Hexballs in their colored Scoring Zone and Goals, and by Parking and Balancing Robots on the Bridge.

IQ Board 1

IQ Board 2

Using Robot Virtual Worlds will allow you to …

  • Practice programming in the 2016-2017 game right away
  • Compete with your classmates, or online (starting in the Fall)
  • Form strategies using the virtual field
  • Develop and test code on a simulated robot before running code on a real robot!

To help you get started with these new Robot Virtual Worlds, check out our video-based VEX Curriculum Series completely for free to help you get started with programming.

Click the following links for more information and to start play today – VEX Robotics Competition – Starstruck Virtual World, and here for the VEX IQ Challenge – Crossover Robot Virtual World.

Written by Cara Friez-LeWinter

April 22nd, 2016 at 6:13 pm

Congrats to our VEX Virtual Programming Challenge Winners!

with one comment

Virtual Winners

We are very excited to officially announce the winners of our VEX Virtual Programming Skills Challenge for both VEX EDR and VEX IQ! Winners of each competition received an invitation for their team to the VEX World Championship — April 20-23, 2016 at the Kentucky Expo Center in Louisville, Kentucky.

VEX EDR Winner: Friarbots B (Team # 3309B) from Anaheim, CA. The team member who received the high score was Matthew Krager.

Frairbots

VEX IQ Winner: Flash Robotics (Team # 5194a) from London, England. The team member who received the high score was Dominic Vald.

Flash Robotics

We’d also like to congrats the VEX EDR runner-up who will be attending VEX Worlds with the challenge invite, since Friarbots qualified for Worlds at their local competition. VEX EDR Runner-Up: Univ. Tec. de Altamira (Team # TAL2), from Alltarmira, Mexico. The team member who received the high score was Victor Francisco Chavez Bermudez

We look forward to seeing all them at VEX Worlds in a couple weeks!

Written by Cara Friez-LeWinter

April 7th, 2016 at 6:15 am

ROBOTC for VEX Robotics 4.53 Preview Available Today!

without comments

ROBOTC 4-53 VEX

ROBOTC for VEX Robotics 4.53 preview is out and it sports a myriad of awesome new features that we’re very excited about! A full list of changes and improvements appear below, but here are the highlights:

Create Graphs from your Datalogs

Datalog Graph

Want to know what running your robot into a wall looks like to your accelerometer? Curious about how ambient light intensity varies throughout the day? Datalogging now supports (live) plotting of incoming data gathered on the robot brain. Science experiments involving sensor and motor data can be displayed. You can easily find out by gathering the data and having ROBOTC plot the data for you, as it comes in.

Datalog Graphical

Datalogging is no longer restricted to just Full ROBOTC, we’ve added easy to use blocks that allow you to access the same functionality in a simple manner.

Additionally, logged data can even be exported for further analysis in a spreadsheet application of your choice.

 

ROBOTC Graphical Variable Support

Variable Support

You can now use variables in ROBOTC Graphical, as well as perform various operations on them. You can add, subtract, divide, multiple, whatever your program requires. You can use variables in loops, motor blocks, you name it!

 

ROBOTC Graphical Break and Continue

Continue Break

We’ve added two new program flow blocks, break and continue. This was a much requested feature from our more advanced users of ROBOTC Graphical. You can now create more complex programs without creating work-arounds or having to switch to ROBOTC Full.

 

Beta Channel Access

Use Beta Builds

Want to have a front row seat when it comes to upcoming features in ROBOTC? Subscribe to the beta channel through ROBOTC’s preference menu and you will be notified when a preview build (such as this one), is released. Try out new and exciting features before we release them to the general public and provide us with feedback. Help make ROBOTC better!

 

Other changes and bug fixes

New features – VEX

  • You can control an LED on the VEX EDR from Graphical and Natural Language using the new setLED block or command.

Changes and Improvements – General

  • The default colors in the Assembly window (F9) have new defaults for increased readability.
  • Function tooltips have been revised and corrected where applicable.
  • License error messages have been improved. A short explanation of the error codes is now provided.
  • #info has been added to the list of support #pragma statements, such as #error and #warn
  • The start and stop buttons on the datalogging control have been merged into a single button.
  • Deleting a file from the File Utility was not possible, this has been fixed.
  • We’ve made some visual changes to ROBOTC Graphical including new colours for enhanced readability.
  • Internal improvements to the datalogging system have been made that resolve possible data corruption and inability to disable polling for a specific data series.
  • Saving a New User Model in the Motors and Sensor Setup has been fixed.
  • Various float conversion related issues have been fixed.
  • NaN (Not a Number) detection has been fixed.
  • Sscanf with more than 7 arguments could crash the VM, this has been fixed.
  • Overloaded deprecated function no longer cause warnings.
  • A discrepancy between the compiler and VM regarding the maximum number of tasks has been fixed.
  • An issue with ROBOTC crashing due to a recursive macro has been addressed.
  • The RVW package manager now shows the correct informational icon.
  • Opening the RVW package manager no longer causes an exception under certain circumstances.
  • An issue with the debugStream window background refresh causing a hang when communications with the robot was lost, has been remedied.
  • The Program Debug window no longer crops the status line.
  • You can now use displayInverseString() in combination with a char *.
  • drawInvertRect and drawInvertEllipse were not deprecated correctly, this has been fixed.

Changes and Improvements – VEX

  • The VexIQ LCD screen has been added to the #debuggerWindows #pragma.
  • A bug in the macro parser prevented the use of the VEX EDR platform when a PLTW license was active. This has been fixed.
  • An issue with debugging and using sscanf on the VEX IQ has been addressed.
  • VEX IQ getGyroRate and getGyroRateFloat return incorrect values, this has been fixed.
  • Starting a new task on the VEX EDR no longer clears the screen.
  • Using drawTextCenteredInUserScreenArea function will no longer throw an exception on the VEX IQ.
  • An issue with the start of flash file system not showing correctly in communication debug message has been fixed.
  • The VEX EDR competition template now sets the platform correctly.

Download ROBOTC for VEX Robotics 4.53 preview here!

And let us know what you think of the new updates. Happy Programming!

Written by Xander Soldaat

March 29th, 2016 at 6:20 am

Cool Project: Tumblebug

with one comment

TumbleBugBlogDamien Kee, a VEX IQ and EV3 Super User, has created another cool project! This time he used one of his kids toys, the Tumble Bug Ball Drop, to test out how often the ball comes out of the left foot / right foot with a 50% probability. Damien says, “My boys got this toy for Christmas one year and I thought I’d put together a little device to check the probability of how it works. I used Ultrasonic Sensors with the EV3 and Colour Sensors (Proximity mode) with the IQ to keep track every time a ball went through the toy…. This would make a great experiment to run in class, not just with the Tumble Bug but all different types of kids toys.” We couldn’t agree more!

Damien used the VEX IQ and LEGO EV3 programmed in ROBOTC to run his tests. The programs figure out the percentage and display them on screen. Here is a full breakdown video of how the project was done …

 
 
 

 

Not only does this project allow for the practice of programming, but it gives the opportunity to assess variables when determining the results. Damien says: ”

What I love about doing these sort of extended investigations in class, is that rather than being a final conclusion, this now opens up a huge range of other questions and scenarios that you can test.

  • Why was there a difference?
  • Was the table level?
  • Do the different balls have an impact?
  • Does the placement speed in the mouth affect the results?”

Want to try it out yourself? Here are the code files Damien used:
EV3 RobotC –  EV3_tumblrbug.c
VEX IQ RobotC –  tumblrbug_VEX.c

To see the full hardware setup and find out the final results, check out his full blog here – Testing the Tumblebug (EV3 and VEX IQ)

 

Do you have a cool ROBOTC project you want to share with the world? If so, send us an email at socialmedia@robomatter.com and we’ll post it on our blog and social media pages!

Written by Cara Friez-LeWinter

March 2nd, 2016 at 6:00 am

Download Today – ROBOTC 4.52 for VEX Robotics!

without comments

ROBOTC 4-52 VEX

The ROBOTC Development Team is very happy to announce the official release of ROBOTC 4.52. This update is for the VEX Robotics (VEX EDR CORTEX and VEX IQ) physical and virtual robotics systems and includes new features, improvements, and a load of bug fixes.

Click here to download 4.52!

Important Setup Information for ROBOTC 4.52:

VEX IQ Users:

  • Run the “VEX IQ Firmware Update Utility” and update your VEX IQ Brain to firmware version 1.15.
  • Also update your VEX IQ Wireless Controller and any other VEX IQ Devices (sensors, motors).
  • After updating to the latest VEX IQ Brain firmware, 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, you will also have to update the VEX Cortex with the latest ROBOTC firmware.

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, you will also have to update the VEX Cortex with the latest ROBOTC firmware.

ROBOTC 4.50 —> 4.51 —> 4.52 Change Log:

New Features and Improvements:

  • Added support for simple mathematical expressions in numerical text boxes in Graphical.
    Graphical_Math
  • Datalogging has been added for the VEX IQ platform.
  • Users can now log data from inside your program, with or without a timestamp.
    DataLogging4
  • Users can also configure motor, sensor and other values to be automatically polled at intervals as low as 10ms.
    DataLogging2
  • Users can view data in ROBOTC as it polled in and save to a .CSV file for additional analysis in a popular spreadsheet software.
    DataLogging3
  • You can use standard keyboard shortcuts to Select All, Copy, Cut and Paste in the Debugstream Window.
  • Natural Language Library Files have been enhanced for improved readability.
  • “Port with no Motor” has been added as an option for graphical blocks that use multiple motors – this will allow you to unselect a specific motor.
  • Graphical Copy and Paste has been improved to work better with comment blocks.
  • A flag (-SUPPRESS ) has been added to allow suppression of command line activation errors.
  • When compiling multiple files at once, the IDE will remain more responsive to user interaction.
  • A setMotorBrakeMode block has been added to Graphical, allowing motors to be set to either “float” or “brake”. This will allow motors to be setup as “free running”. This command can be found in “Expert” and above menu levels.
  • Additional programming samples have been added
  • User I2C commands for the Cortex has been implemented.
  • Users can now use custom I2C sensors within their programs – custom I2C commands are compatible with using the VEX Integrated Motor Encoders.
  • The list of loggable properties has been greatly trimmed down and sorted according to menu level. Static and irrelevant properties have been removed where appropriate.
  • Datalogging has been enabled for the VEX Cortex platform

General Bug Fixes:

  • ‘Trial’ indicator displays correctly, regardless of license combinations.
  • Missing function added to the Function Library descriptions
  • Fixed and improved “hover over” tool tip help descriptions inside of the Function Library.
  • Resolved issue where the bottom of the Graphical Library view would not be cleared properly when scrolling
  • Char arrays with “\0” are properly initialized.
  • Selection of options inside of a Graphical Block can be reverted by using “undo”.
  • Fix potential RVW file read issue from crashing ROBOTC.
  • Several float-related issues resolved:
    • Compiler incorrectly optimizes constant expressions with ‘float’ operands.
    • Formatted printing does not work with negative floats
  • Using nSemaphore.nOwningTask comparison no longer generates a compiler warning
  • Two enum issues related to overflowed values have been fixed.
  • Functions returning pointers no longer generate errors when used in Boolean logic expressions.
  • Values from arrays of pointers assigned to another pointer, no longer cause errors.
  • setMotorBrakeMode commands take immediate effect, rather than after the first motor speed command.
  • Closing a source file could cause am unhandled exception under certain conditions, this has been resolved.
  • Compiling multiple Graphical programs at once no longer generates an error that there is no code to compile.
  • Fixed an issue where the Global Variable Base Address was incorrectly displayed.
  • RVW Package Manager will only self-elevate if multiple level packs are being installed.
  • Numerous small visual enhancements and fixes.
  • Clearing a datalog series now clears the listbox properly.
  • The Datalog debug pane can now be opened in Basic menu level.
  • Changing Datalog source could lead to incorrect properties being shown, this has been fixed.
  • The UploadDatalog intrinsic is no longer exposed to the user.
  • Clicking download in the auto check for updates dialog did not work properly, this has been fixed.

VEX Bug Fixes: 

  • VEX IQ no longer crashes when using Ternary String Decisions
  • Users are now alerted when a VEX IQ program exceeds the max allowed compiled program file size.
  • Fixed issue where using playSoundFile on VEX cortex would generate a compiler error
  • Compile errors in sample programs for the VEX IQ Smart Radio messaging have been resolved.
  • Fixed an issue where a disconnected Ultrasonic Sensor was not returning -1 when disconnected from the VEX Cortex.
  • Motors dialog pane for VEX Cortex now shows default motor names, rather than port names.
  • An enum for the VEX IQ data path values instead of using raw numbers, has been added.
  • Prevent users from using sscanf with floats on the VEX IQ to avoid crashing the brain
  • Previously, setMotorTarget on the Cortex would not work correctly if the encoder had been reset to 0, this has been fixed.
  • On the Cortex, moveMotorTarget was not working as intended, this has been remedied.
  • Intrinsics to return the IME velocity values have been added.
  • IME velocity is now shown correctly in the motor debug window, for Cortex.
  • A bug with PID using Quad Encoders has been fixed.
  • bUseVexI2CEncoderVelocity has been obsoleted, it was not tied to any internal functionality.

Click here to download 4.52!

Happy Programming!

Written by Cara Friez-LeWinter

December 7th, 2015 at 6:35 am

Released Today – ROBOTC 4.51 for VEX Robotics Preview!!

with 3 comments

ROBOTC 4-51 VEX

The ROBOTC Development Team is very excited to announce a public preview of ROBOTC 4.51. This update is for the VEX Robotics (VEX EDR CORTEX and VEX IQ) physical and virtual robotics systems and includes new features, improvements, and a load of bug fixes.

Click here to download the .exe file for 4.51!

Important Setup Information for ROBOTC 4.51:

VEX IQ Users:

  • Run the “VEX IQ Firmware Update Utility” and update your VEX IQ Brain to firmware version 1.15.
  • Also update your VEX IQ Wireless Controller and any other VEX IQ Devices (sensors, motors).
  • After updating to the latest VEX IQ Brain firmware, 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, you will also have to update the VEX Cortex with the latest ROBOTC firmware.

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, you will also have to update the VEX Cortex with the latest ROBOTC firmware.

ROBOTC 4.50 —> 4.51 Change Log:

New Features and Improvements:

  • Added support for simple mathematical expressions in numerical text boxes in Graphical.

    Graphical_Math

  • Datalogging has been added for the VEX IQ platform.
  • Users can now log data from inside your program, with or without a timestamp.

    DataLogging4

  • Users can also configure motor, sensor and other values to be automatically polled at intervals as low as 10ms.

    DataLogging2

  • Users can view data in ROBOTC as it polled in and save to a .CSV file for additional analysis in a popular spreadsheet software.

    DataLogging3

  • You can use standard keyboard shortcuts to Select All, Copy, Cut and Paste in the Debugstream Window.
  • Natural Language Library Files have been enhanced for improved readability.
  • “Port with no Motor” has been added as an option for graphical blocks that use multiple motors – this will allow you to unselect a specific motor.
  • Graphical Copy and Paste has been improved to work better with comment blocks.
  • A flag (-SUPPRESS ) has been added to allow suppression of command line activation errors.
  • When compiling multiple files at once, the IDE will remain more responsive to user interaction.
  • A setMotorBrakeMode block has been added to Graphical, allowing motors to be set to either “float” or “brake”. This will allow motors to be setup as “free running”. This command can be found in “Expert” and above menu levels.
  • Additional programming samples have been added
  • User I2C commands for the Cortex has been implemented.
  • Users can now use custom I2C sensors within their programs – custom I2C commands are compatible with using the VEX Integrated Motor Encoders.

General Bug Fixes:

  • ‘Trial’ indicator displays correctly, regardless of license combinations.
  • Missing function added to the Function Library descriptions
  • Fixed and improved “hover over” tool tip help descriptions inside of the Function Library.
  • Resolved issue where the bottom of the Graphical Library view would not be cleared properly when scrolling
  • Char arrays with “\0” are properly initialized.
  • Selection of options inside of a Graphical Block can be reverted by using “undo”.
  • Fix potential RVW file read issue from crashing ROBOTC.
  • Several float-related issues resolved:
    • Compiler incorrectly optimizes constant expressions with ‘float’ operands.
    • Formatted printing does not work with negative floats
  • Using nSemaphore.nOwningTask comparison no longer generates a compiler warning
  • Two enum issues related to overflowed values have been fixed.
  • Functions returning pointers no longer generate errors when used in Boolean logic expressions.
  • Values from arrays of pointers assigned to another pointer, no longer cause errors.
  • setMotorBrakeMode commands take immediate effect, rather than after the first motor speed command.
  • Closing a source file could cause am unhandled exception under certain conditions, this has been resolved.
  • Compiling multiple Graphical programs at once no longer generates an error that there is no code to compile.
  • Fixed an issue where the Global Variable Base Address was incorrectly displayed.
  • RVW Package Manager will only self-elevate if multiple level packs are being installed.
  • Numerous small visual enhancements and fixes.

VEX Bug Fixes: 

  • VEX IQ no longer crashes when using Ternary String Decisions
  • Users are now alerted when a VEX IQ program exceeds the max allowed compiled program file size.
  • Fixed issue where using playSoundFile on VEX cortex would generate a compiler error
  • Compile errors in sample programs for the VEX IQ Smart Radio messaging have been resolved.
  • Fixed an issue where a disconnected Ultrasonic Sensor was not returning -1 when disconnected from the VEX Cortex.
  • Motors dialog pane for VEX Cortex now shows default motor names, rather than port names.
  • An enum for the VEX IQ data path values instead of using raw numbers, has been added.
  • Prevent users from using sscanf with floats on the VEX IQ to avoid crashing the brain

Click here to download the .exe file for 4.51!

Happy Programming!

Written by Cara Friez-LeWinter

November 19th, 2015 at 5:50 pm

Download ROBOTC for VEX Robotics Updates 4.30 or 3.65 Today!

with 2 comments

ROBOTC 4-30VEX
The ROBOTC Development Team is excited to announce not one, not two, but three updates this week! Yes, earlier in the week we announced our 4.29 update, but we’ve taken care of a few more bugs along with a 3.65 update. These updates are for the VEX Robotics (CORTEX and VEX IQ) robotics systems and includes new features, functionality and a load of bug fixes. You can download them here! Read more below …

4.29 -> 4.30 Change Log

  • (Cortex) Added new sample programs for RVW VEX Cortex using the Natural Language 2.0 commands.
  • (Cortex) Fix to enable tankControl to be displayed for Virtual Robots.
  • (Cortex) New VEX Cortex Master Firmware (4.25) for VEX Cortex Brain & VEXNet Remote Control
  • (Cortex) Update for VEX Competition Template in Natural Language 2.0 to ensure maximum compatibility
  • (Cortex) Increased Timeout for VEX wireless communications when using the new VEXNet 2.0 Radios – prevents communications issues
  • (IQ) Fixed incorrect samples for VEX IQ in Virtual Worlds (both Text and Graphical)
  • (All) Rebuilt firmware to version 10.30. All platforms will require a firmware update.
  • (ALL) Prevent Graphical files from asking to save if the “Save On Compile” flag is set to false.
  • (ALL) Update all standard models to have correct drive train setting.
  • (ALL) Fixed an issue where a “sprintf’ varArg list contains a string constant the compiler was generating incorrect code causing a firmware crash.
  • (ALL) Compiler Fix: ‘long’ pointer temporary variables were sometimes being allocated as type ‘signed’ instead of ‘unsigned’.
  • (ALL) Checking for “divide by zero” exception forgot to check in the “module” opcodes; it was only checking the “divide” opcodes. Fixed.
  • (ALL) Fixed issues where the first time the Debugger “Local Variables” window is painted with values (rather than blank) the address field displays “0xCDCDCDCD” rather than the offset.
  • (ALL) Graphical Interface now support “multiple selection” using Shift/Control keyboard modifiers (drag select coming soon!)
  • (ALL) Fix for DebugStream which was adding \r to the String as it was written to file.

3.64 -> 3.65 Change Log

  • (Cortex) New VEX Cortex Master Firmware (4.25) for VEX Cortex Brain & VEXNet Remote Control
  • (Cortex) Increased Timeout for VEX wireless communications when using the new VEXNet 2.0 Radios – Full download/debug support available.
  • (All) Fixed issue with licensing system when an unexpected error code (i.e. server is available but service is down) would cause ROBOTC to crash.
  • (All) Fixed issue with ‘Check for Update’ functionality where a hotel/school wifi login screen might cause a ROBOTC crash with unexpected XML parameters.
  • (All) Fixed issue with licensing system where a license could not be used on the same computer twice.

And to read more about the changes in 4.29, visit our post from earlier this week. Happy Programming!

Written by Cara Friez-LeWinter

February 18th, 2015 at 9:30 am

New Robot Virtual Worlds iPad App Available!

with 3 comments

We are thrilled to announce a brand new, FREE Robot Virtual Worlds app for the iPad! The Robot Virtual Worlds app allows you to start learning how to program both simulated VEX IQ and fantasy robots using ROBOTC Graphical.

Click here to to open the Robot Virtual Worlds App in iTunes!

The current version of the app will allow you to use the Basic Movement commands from ROBOTC Graphical to control the robot (forward, backward, turn right, turn left), along with the robot’s grippers and arms to interact with objects in the environment. We believe this is a great teaching tool to include with the Expedition Atlantis iPad app as well as a teaching tool for ROBOTC Graphical!

Check out our video of the app in action…


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

Written by Jesse Flot

December 9th, 2014 at 6:45 am

ROBOTC 4.27 Update is Available Today!

with 3 comments

ROBOTC 4-27

The ROBOTC Development Team is very excited to announce our latest release update, ROBOTC 4.27! This update is for the both the VEX Robotics (CORTEX and IQ) and LEGO MINDSTORMS (NXT and EV3) robotics systems and includes new features, functionality and a load of bug fixes! Download the latest update and take a look at the setup information below.

Download ROBOTC 4.27 here! 

Important Setup Information for ROBOTC 4.27:

VEX IQ Users:

  • Run the “VEX IQ Firmware Update Utility” and update your VEX IQ Brain to firmware version 1.13 (may not be available at time of release, but will be available soon).
  • 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.23 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.23 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.

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 is the same to keep alignment with the EV3 Programming Software and LEGO’s releases, but the Kernel has bug fixes to increase sensor reliability.
  • After updating your EV3′S Linux Kernel, you’ll also need to update the ROBOTC firmware from inside of ROBOTC.

ROBOTC 4.26 -> 4.27 Change Log:

  • Support for the EV3 platform in Robot Virtual Worlds.
  • Updated NXT 3rd Party Sensor Library with latest release from BotBench.com
  • Update Built In Variable files for missing EV3 compatible commands.
  • Added EV3 motor synchronization functions: setMotorSyncEncoder and setMotorSyncTime.
  • Add “Autobot IQ” as a standard model for VEX IQ platform.
  • Fixed an issue where bad parameters to “Read Data from Flash Memory” message may cause problems for EV3 downloading.
  • Fixed NXT Joystick issue – update to JoystickDriver.c to start the “readMsgFromPC” task upon first request for joystick data (prevents Natural Language from keeping the task from starting).
  • Set the “Project Explorer” window to be hidden by default.
  • Added 200ms sleep to EV3 prolog code after sensors have been reset and configured. Ensures first reads from sensors in user programs contain useful data.
  • Updated “Official” kernel image for EV3 to remove debugging noise on sensor port #1 – Version number is still 1.06X, but requires users to update the EV3 Kernel.
  • Task queue was not being initialized for EV3 firmware except when running with Debugger. Caused all multitasking programs started from the On-Brick EV3 GUI to fail.
  • Adjust NL Libraries for Forward/Backward issues on NXT platform.
  • Adjust EV3 Motor Commands (moveMotorTarget, setMotorTarget) to use a better ramping algorithm – movements are now a lot more reliable.
  • Updated licensing system to fix potential encryption vulnerabilities.
  • Fix a bug where an incomplete TETRIX configuration line will cause ROBOTC to crash.
  • Added a super user toggle to silence the “Must set Team Number” value for Cortex Competition Mode.
  • Fixed issue where Debugger Windows (Motors, Sensors, Variables) were not appearing after subsequent downloads/debugging sessions.
  • Fixed issue with EV3 touch sensor and EV3 bumped sensor values (and resetting those values) in EV3 Firmware.
  • Updated Swervebot “standard model” to include VEX Motor IMEs
  • Fix an issue with “Save As” always pointing to the “My documents” folder – this forced redirect should only take place for saving NEW files.
  • Modify Natural Language main include to be a “warning” instead of error when using emulator mode.
  • Added new RBC Macro Command to switch “External Controllers” flag.
  • Fix encoder issue with emulator platforms (mix between raw encoder counts and “scaled”)
  • Fixed a bug where the joystick station would not appear / crash ROBOTC when using IQ or Cortex platforms.
  • Fixed accidental bug where motorPWM was disabled for the NXT platform.
  • Fixed a bug where Virtual Worlds/Emulator VEX IQ was not displaying the correct values in the debugger for the specific color sensor mode.
  • Remove some unneeded color enums from EV3 native bytecodes libraries.
  • Improved support for use of “enum” and “struct” keywords. Previously declarations were of the format ” “; now they can also be of form “struct “. Similarly for “enum” keyword. ROBOTC compiler is a blend of C and C++ syntax for “enum” and “struct” recognition.
  • Fix “Include” file issues (i.e. forward slash vs back slash + relative path issues)
  • Add special “Start Page” if users have a PLTW license.
  • Functions whose return value is “void *” were incorrectly generating a ROBOTC compiler error.
  • Added VEX Cortex 4.23 Firmware Images
  • Added support for VEX IQ 1.13 Firmware
  • Enhancements to Virtual Worlds Joystick Control with Natural Language/Graphical
  • Updated values the Joystick Debuggers display when buttons are pressed.
  • Increased height of the Joystick Station Debugger Windows to allow multiple buttons descriptive text

And as always, if you have questions or feedback, feel free to contact at support[at]robotc[dot]net or visit our forums! Happy programming!!

Written by Cara Friez-LeWinter

November 6th, 2014 at 3:19 pm