ROBOTC.net Blog  

ROBOTC News

Archive for September, 2010

Introducing the VEX Cortex Video Trainer!

without comments

The Robotics Academy Team is proud to present a beta preview of the VEX Cortex Video Trainer. This multimedia-rich curriculum features lessons for the VEX Cortex Microcontroller, which can also be applied to the older VEX PIC Microcontroller 0.5. It includes in-depth programming lessons for ROBOTC, multi-faceted engineering challenges, step-by-step videos, robotics support material, educational resources, and more. Whether you’re just looking for help getting started with the VEX Cortex and ROBOTC, or are planning on integrating it into the classroom, we’re confident that the video trainer will be an invaluable tool for you.

Keep in mind that the video trainer is still in development; your feedback is welcome and appreciated as we continue to add to this exciting product. Please send all questions and feedback to jbflot@cmu.edu

Written by Jesse Flot

September 27th, 2010 at 5:12 pm

Posted in Cortex,General News,VEX

Rotacaster Minifig Vomit Mobile

without comments

Credit goes to the one and only Xander

[Source: http://mightor.wordpress.com/2010/09/22/rotacaster-minifig-vomit-mobile/]

imageThe “Minifig Vomit Mobile” is what my friend Marc-Andre called the omniwheel I took the video of.  I felt that in order for that name to be more accurate, I had to add a minifig to the robot, so here he is, on the left.  Unfortunately, this one has no internal organs, being a skeleton and all, so there is, in fact, no stomach to vomit from.

There seems to be a common misconception that the code for this robot would very complex.  However, that’s not the case;  it’s actually surprisingly simple.  You can download the ROBOTC code right here: [LINK] and take a look for yourself.  I am not sure how you would make it work with NXT-G 2.0, seeing as there is no updated sin/cos blocks that work with floats, but it should be trivial to port to NXC.

Skeletor rides off into the sunset

Video:

YouTube Direct Link 

Written by Vu Nguyen

September 24th, 2010 at 11:44 am

Posted in Cool projects

Released: 3rd Party ROBOTC Driver Suite V1.6

without comments

A new release of the Driver Suite has been uploaded to Source Forge.

Changes:

  • A driver for the new HiTechnic Magnetic Sensor has been added, together with an example program for normal use and for with the Sensor MUX.
  • Added a driver to send and receive messages to and from an RCX using the IR Link.  You can also control motors and make it play sounds.  More functionality will be added in future releases.
  • Simplified functionality to control PF motors using the IR Link.  You can now control a motor by using a single function, PFMotor(), without having to resend the command continuously. This is part of the HTIRL-NG driver.  The normal HTIRL driver will be phased out in the next release.
  • Added support for the new Lego E-Meter.  You can now use your NXT as a multimeter.
  • The Mindsensors MSDIST driver now configures itself, you no longer need to specify which Sharp IR module is connected to it.
  • The Mindsensors NXTCam can now be configured in line tracking mode.

Thank you’s:

  • John Hansen for providing me with the technical info for the Lego E-Meter
  • David Cosimano for sending me one.
  • Thorsten Benter for sending me an RCX, IR Tower and USB-Serial converter so that I could write the IR Link RCX driver.
  • Gus Jansson for testing the Magnetic Sensor driver and finding some bugs in it.

Without the help from these folks this would’ve been a rather small update.

You can download it from the usual spot: [LINK].

Written by Xander Soldaat

September 24th, 2010 at 10:36 am

Posted in General News

FREE ROBOTC Webinar available for viewing!

without comments

Hi everyone!

Our very own VEX expert, Jesse Flot, has just recently recorded a webinar to help those using the CORTEX platform. Starting yesterday (Sept. 8th), Jesse will be recording weekly webinars (for 6 weeks) to help those who are looking for resources when working with the CORTEX system.

Jump to the Webinars area to view it

Please note that this webinar epsiode is geared towards the BEST competition, but that doesn’t mean that it won’t help you out.

The way that the webinars will be created is Jesse will take questions from the CORTEX Competition forum, and use those topics to record a webinar.

If you wish to submit a topic to talk about, please log onto the forum and post a topic!

Written by Vu Nguyen

September 9th, 2010 at 11:05 am

Posted in General News,VEX

Tagged with , , ,

Ringtone converter for ROBOTC

with one comment

Thanks to Shep from our forums for providing us information about his very cool project!

Submitted by Shep:

—————————————————————————————–

If you like to play music on your NXT, if you use RobotC and have access to Microsoft Excel, have I got a deal for you!

I have created an Excel spreadsheet that will very easily convert RTTTL (Ring Tone Text Transfer Language) ringtones into RobotC code with very little effort. RTTTL ringtones are the original ringtones that were just beeps and tones.

The Excel file contains over 300 ringtones ready to convert just by selecting which one you want and then putting the code into your file. You can also add your own ringtones that you may already have or have found on the ‘net. I have found thousands of free ringtones. It will only work with RTTTL format files and RobotC.

Some of the files need considerable tempo adjusting to sound right, so I have added a way to adjust the tempo of the music.

Here is a sample of the output of the file: (yes, this code works, try it out!)

nxtDisplayCenteredTextLine(0, “Star Wars”);
PlayTone(695, 14); while(bSoundActive);
PlayTone(695, 14); while(bSoundActive);
PlayTone(695, 14); while(bSoundActive);
PlayTone(929, 83); while(bSoundActive);
PlayTone(1401, 83); while(bSoundActive);
PlayTone(1251, 14); while(bSoundActive);
PlayTone(1188, 14); while(bSoundActive);
PlayTone(1054, 14); while(bSoundActive);
PlayTone(1841, 83); while(bSoundActive);
PlayTone(1401, 41); while(bSoundActive);
PlayTone(1251, 14); while(bSoundActive);
PlayTone(1188, 14); while(bSoundActive);
PlayTone(1054, 14); while(bSoundActive);
PlayTone(1841, 83); while(bSoundActive);
PlayTone(1401, 41); while(bSoundActive);
PlayTone(1251, 14); while(bSoundActive);
PlayTone(1188, 14); while(bSoundActive);
PlayTone(1251, 14); while(bSoundActive);
PlayTone(1054, 55); while(bSoundActive);
wait1Msec(280);
PlayTone(695, 14); while(bSoundActive);
PlayTone(695, 14); while(bSoundActive);
PlayTone(695, 14); while(bSoundActive);
PlayTone(929, 83); while(bSoundActive);
PlayTone(1401, 83); while(bSoundActive);
PlayTone(1251, 14); while(bSoundActive);
PlayTone(1188, 14); while(bSoundActive);
PlayTone(1054, 14); while(bSoundActive);
PlayTone(1841, 83); while(bSoundActive);
PlayTone(1401, 41); while(bSoundActive);
PlayTone(1251, 14); while(bSoundActive);
PlayTone(1188, 14); while(bSoundActive);
PlayTone(1054, 14); while(bSoundActive);
PlayTone(1841, 83); while(bSoundActive);
PlayTone(1401, 41); while(bSoundActive);
PlayTone(1251, 14); while(bSoundActive);
PlayTone(1188, 14); while(bSoundActive);
PlayTone(1251, 14); while(bSoundActive);
PlayTone(1054, 55); while(bSoundActive);

I don’t have a site for downloading, so all you’ll have to do is send me an email at Tinkernology_at_yahoo_dot_com requesting the converter and I will reply with the Excel file along with a RobotC file I created with 42 songs already converted and ready to play for your use. That’s almost 10 minutes of music ready to play.

And if you are an Excel Junkie like me, you will enjoy tearing this file apart. I spent many hours working on it.

Rock On!

—————————————————————————————–

Source: http://tinkernology.blogspot.com/2010/07/ringtone-converter-for-robotc.html

Written by Vu Nguyen

September 7th, 2010 at 9:29 pm

Posted in Cool projects,NXT

Tagged with

ROBOTC for Cortex and PIC 2.25 released!

without comments

The Robotics Academy is happy to announce the release of ROBOTC for Cortex 2.25.

We’ve made lots of changes in ROBOTC from 2.20 to 2.25. We’re continuing to improve ROBOTC with the Cortex system. This new version is fully compatible with the VEX Cortex and the VEX PIC systems, along with the VEXnet upgrade system for the VEX PIC.

Click here to download the latest version

Firmware Downloader Built-In: Firmware Download for ROBOTC Firmware, Cortex Master Firmware and VEXnet Joystick Firmware built into ROBOTC now!

Download Method Chooser: Easier to choose how you want to download your program. Always defaults to VEXnet and USB, but you can manually choose to disable VEXnet and download over USB only.

Quick Preferences: This allows you to set key preferences with only the click of a button. Make ROBOTC work the way you want it to!

Other New Features and Bug Fixes:

  1. Build is able to program both PIC and Cortex platforms successfully.
  2. “Auto save” before compile was broken.
  3. “Previous Platform Type” was not being correctly saved into Windows Registry.
  4. Add code to handle “Device Removal” and “Device Acquire” without long hangs of application.
  5. Added a flag to Preferences -> Internal” to indicate whether firmware downloading should be read verified.
  6. Fix “Priority” column in “Task Status” debugger pane. It was not properly displaying.
  7. Move “Debug Stream” from Super-User to “Expert” menu.
  8. Add a 250 millisecond delay after telling Cortex to enter download mode before attempting the autobaud sequence.
  9. VEX Cortex Integrated Master Firmware Loader inside of ROBOTC.
  10. Add support for run-time strings in the VEX LCD display routines.
  11. Fix conlict between Digital pin 4 and 10. They both share the same external interrupt index and it was possible to hang the Cortex. Fix makes both pins work correctly — previously pin 10 was not working — for external interrupts. But the hardware prevents supporting sensors that require external interrupts on both pins at once.

Written by Vu Nguyen

September 2nd, 2010 at 5:31 pm

Posted in Releases,VEX

Tagged with , ,