ROBOTC.net Blog  

ROBOTC News

Archive for the ‘Cool projects’ Category

Cool Project: Schuyler Horky’s Tutorial Videos

without comments

Screen Shot 2013-05-28 at 3.59.05 PMSchuyler Horky caught our attention with his detailed and fun ROBOTC tutorial videos. He has been working on a 10 part ROBOTC for NXT video tutorial series for the past three months to help local students and teachers with programming. We got a chance to talk with Schuyler to find out more about his programming experience….

Where are you from? What grade are you in?

I am from Monroe Washington, and I am a participant in my state’s Running Start program so that I can attend community college while still in high school. That being said, I am a senior in high school and a freshman in college

How long have you been a ROBOTC user?

I have used ROBOTC for MINDSTORMS for five years, and ROBOTC for VEX for four years.

What made you start using ROBOTC?

What made me start to use ROBOTC was my passion for electronics. ROBOTC was the easiest way to experiment with custom sensors, including I2C. At age 13, making my NXT support more motors and sensors brought me into the world of digital electronics, object oriented programming, and engineering.

What do you think of the software?

ROBOTC is the best way for any beginner to start programming, particularly with robotics. The real time debugging capabilities need a few tweaks, but just the fact that ROBOTC has it, is a huge advantage to alternative products. The absolute best thing about ROBOTC is the help menu. Every programming language I have learned has a good digital repository and RobotC is no exception. If I want to learn how to use a certain function, example code and a lengthy explanation are always at my fingertips.

What made you decide to create these tutorial videos?

At my local K-12 home school co-op program, I volunteer to help a math teacher teach programming, coach FLL teams, and mentor VEX robotics teams. In the off-season, I normally teach ROBOTC to the middle school students, getting them ready for more advanced LEGO projects and our VEX robotics teams. This year though, since my programming internship and three college classes per quarter have taken a bit out of my schedule, I cannot help as much, so I create tutorials so that the teacher can use them as curriculum.

What would you say to a student who might be hesitant to start programming in ROBOTC?

ROBOTC is the best way to get excited about programming in C. The cross platform support means that you won’t have to re-learn anything when moving from NXT to VEX, or VEX to Arduino. ROBOTC can take you as a beginner and make you a proficient programmer. ROBOTC offers a huge repository of documentation and example code, powerful low-level functions, in addition to quick compile time, real time debugging, and extended 3rd party support.

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

Thanks so much to Schuyler for taking the time to answer our questions!! You can find his entire YouTube playlist tutorial series here – ROBOTC for NXT Tutorial

Do you have a cool project or video you want to share with us? If so, send us an email at socialmedia@robotc.net.

Written by Cara Friez

May 31st, 2013 at 7:30 am

Tracking a Colored Ball with the NXTCam

without comments

The NXTCam from mindsensors.com

Vision systems are one of the more useful, albeit trickier, sensors that can be used in a robotics system. They allow a microcontroller to literally ‘see’ an object, its color, shape, and (in some cases) the material it is made from. They are used extensively almost anywhere an automated system needs to make a decision based on an object’s visual properties.

Fortunately, MindSensor’s NXTCam combined with Xander’s driver suite allows NXT users to quickly and easily program a vision system for their robots. ROBOTC forum member alain has recently created one of the basic NXTCam robots (a robot that will track a colored ball with relatively high accuracy) and was kind enough to share his programming journey on the ROBOTC forum and the video below.
 
 
 
 
 
 
 

If you’re interested in building your own color-tracking robot or have other, unique ideas for an NXT cam with ROBOTC, be sure to check out the Robotics Academy demo video for ideas on how the NXTCam can be used and the ROBOTC forum for coding help.

Written by John Watson

May 20th, 2013 at 10:55 am

TETRIX Curiosity Rover Programmed with ROBOTC

without comments

IMG_1712We ran into Paul Utley from Pitsco at the 2013 FIRST Championship who designed a model of the Curiosity Rover with TETRIX parts, NXT brick, and programmed in ROBOTC! We were lucky enough to get a short interview with him about it. Check it out here …
 
 
 
 
 
 
 
 


 
If you are at the 2013 FIRST Championship in St. Louis, MO., make sure to stop by and check it out in person. For more information on Tetrix go to http://www.tetrixrobotics.com
 

Written by Cara Friez

April 25th, 2013 at 11:09 pm

Sneak Preview: Robot Virtual Worlds Multiplayer Cloud Based Demo

with 3 comments

RVW Multiplayer 01

The Robot Virtual Worlds team has been developing a multiplayer game mode, and our group was lucky enough to get a sneak peak last week (and I made sure to record the event for you!)

 

 

 

 

 

 

Check out the video from the preview:

It will work with ROBOTC, have CS2N connectivity for achievements, private rooms so only the people you invite will be allowed in, structured chat rooms, and a lot more!! Look for it to be released at the end of the summer.

What do you think? What features would you like to see included in it?

Written by Cara Friez

April 3rd, 2013 at 8:00 am

VEXduino by Prof Mason

without comments

vexduinoMartin Mason, professor of Physics and Engineering at Mt. San Antonio College and ROBOTC user, has developed a new VEXduino Shield. He created a board that you can plug in VEX sensors but, combined with ROBOTC, uses an Arduino to control the robot instead of a Cortex or PIC. Combining the Shield with an Arduino, some VEX parts, and a small breadboard is a perfect recipe for teaching electronics with the ROBOTC for Arduino!

Read the rest of this entry »

Written by Cara Friez

March 25th, 2013 at 2:57 pm

Daily Ingenuity: VEX Auto-Clicker

without comments

Just like many of you, we have to get creative with the tools we have around us for different tasks. Today was no different. Tim is reformatting a computer today, and long story short, needed to click the “retry” button every time a window pops up. To make sure we didn’t have him wasting his day pushing a button (you’d like ROBOTC 3.6 released one day, right?), we made a VEX ‘auto-clicker’ to get the job done. :) Check out our picture and short video …
 
 

 
 

Auto Clicker

 

Written by Cara Friez

March 18th, 2013 at 3:12 pm

Posted in Cool projects

Tagged with , , ,

ROBOTC and Time-Lapse Photography

without comments

Tanguy - Rig 01While scouring Vimeo a couple weeks ago, I came across a “Vimeo Staff Pick” time-lapse video featuring beautiful landscapes, lakes, mountains, and skies called “Hdr Skies.” When looking in the description for more details, I noticed that ROBOTC was listed! I sent the creator, Tanguy Louvigny, an email to learn more about his process with ROBOTC and time-lapse photography. He was nice enough to answer some questions for us …

- When did you start using ROBOTC?

I started using ROBOTC some 3 years ago, when I started my TETRIX based time-lapse rig project.

- What made you decide to program your time lapse rig with ROBOTC?

Version 2 of my rig used three motors to move the camera on three different axis, and was thus more complex to program. That’s when I decided I needed something more convenient and powerful to be able to control the TETRIX encoders and synchronize the motors with the camera shots. ROBOTC was the solution to my problems and worked like a charm.

- What did you use to build your rig?

My goal with this project was to construct a motorized base for my camera to add movement in my time lapse clips. The first, one axis version of the rig simply used a LEGO MINDSTORMS NXT 2.0 kit to support the camera. For version 2, I needed more robust parts and powerful motors to be abled to sustain the weight of new and bigger cameras, so I went for a TETRIX kit that I would couple with the MINDSTORMS brick to control the motors.

- How long was this video in production?

The ”Hdr skies” video was a compilation of one year of time lapse shots. Since then, as I shoot more, I try to achieve a new video every six months or so.

- How has your experience been with ROBOTC?

I had a great time programming with it, I already knew a bit of C, so I found it very easy and natural to use, in fact so simple I was rapidly able to code all my ideas with ease!

- Do you have any other projects coming up that you are using ROBOTC with?

My next project is a new TETRIX based five axis rig using a motorized jib. I’ll use ROBOTC to control the motors and build a new MINDSTORMS interface to program the moves. I’m also exploring new possibilities to use ROBOTC to fire the camera directly, thus simplifying the robot/camera synchronizing part.

Tanguy also mentioned that all his time lapse videos are made with the rig.

Check out the video here :

Thank you so much Tanguy for sharing your awesome project! Do you have a cool projects that you created using ROBOTC? If so, let us know! We’d love to feature it here.

Written by Cara Friez

March 15th, 2013 at 8:00 am

Student Shows Off ROBOTC Skills in Tutorial

with one comment

Avi's ScreenshotWhen it comes to setting up any new robot, the age-old saying ‘knowledge is power’ tends to ring particularly true. This is why one can find a variety of beginner guides already available, such as the Video Curriculum Trainer and the ‘Getting Started with NXT and TETRIX’ ROBOTC wiki guide. There’s no such thing as too much knowledge, though, and the more tools a roboticist has at their fingertips the higher their chance for success.

Because of this, we are pleasantly surprised by the depth of content covered by Avi, aka TheProgreammerDude’s YouTube tutorial video. Avi is a member of FTC team 5773. Not only is his tutorial straight from the screen of an FTC team programmer, it focuses on ROBOTC programming concepts specifically for the FTC competition (such as using competition templates and setting up a TETRIX robot using the Motors and Sensors Setup window).

If you’re looking add this video set to your ROBOTC toolkit, be sure to check out the first video in his series.



Have you created a ROBOTC or Robot Virtual Worlds tutorial? If so, let us know!

Written by John Watson

March 13th, 2013 at 3:51 pm

New ROBOTC Code Plugin for Sublime Text Editor

with one comment

Screen capture of a ROBOTC program being edited in Sublime Text Editor

Screen capture of a ROBOTC program being edited in Sublime Text Editor

ROBOTC community member Mike McFarlane has recently released a plugin for the popular Sublime Text Editor. This new plugin will allow users to edit .c files on both Linux, Mac, and Windows platforms, which can then be opened and compiled in ROBOTC (the Sublime Editor will not be able to compile the code to a robot, unfortunately).

Quote from Mike (full post on the ROBOTC forum):
I’ve written a plugin for the elegant and productive Sublime Text editor that will allow you to create and edit RobotC code on Mac, Linux and Windows. It’s got autocomplete on the full set of RobotC functions and variables, search via functional and platform category, tabbing between a functions values, syntax aware colouring and code snippets. Only v0-2 right now, but it works…It’s not possible to compile or debug outside the RobotC IDE, but I’ve got some ideas on ways to get the files quickly in and out the IDE.

For more information on the new plugin, check out Mike’s blog post. If you are comfortable with the Sublime Text Editor and wish to download the plugin directly, you can do so from this site.

Any features you’d like to see added in the future?

Written by John Watson

March 4th, 2013 at 10:18 am

Bridge laying, the NXT method

without comments

Miniaturized SPRAT model controlled by 3 NXT bricks using ROBOTC.

ROBOTC community member Didier Coll has created more than a few awesome robots. In the past couple of months, though, he has made some truly spectacular bridge-laying robots using ROBOTC over multiple NXT bricks.

The first creation is an AMX-13 type bot, which (unlike the other two robots) carries the bridge on its front. Like the MLC-80 though (below), the AMX-13 is programmed to place the bridge and then drive across: it uses 2 motors and 8 actuators controlled via 2 ROBOTC-coded NXT bricks to achieve this goal.

The second robot is based off of the French Army’s current EFA design. Much like a real EFA, the robot drives to the middle of the ‘river’ and extends the folded bridge sections using a series of LEGO pistons; the robot stays in the middle of the bridge and the other robots effectively drive over it. The EFA model uses 2 NXT’s, 3 Multiplexors, 4 motors, and a staggering 10 actuators to perform this task.

Didier’s final robot is a replica of the SPRAT MLC-80 used during WWII. It uses 3 NXT bricks, a whopping 9 motors, 9 actuators, and 5 servos to place the bridge and drive across it, all controlled by ROBOTC for MINDSTORMS. A sample of the ROBOTC code used for this robot is below.

#pragma config(Sensor, S1,     HTIRL,          sensorI2CCustom)
#pragma config(Sensor, S2,     PSPNXV4,        sensorI2CCustom)
#pragma config(Motor,  motorA,           ,             tmotorNXT, openLoop)
#pragma config(Motor,  motorB,           ,             tmotorNXT, openLoop)
#pragma config(Motor,  motorC,           ,             tmotorNXT, openLoop)
//*!!Code automatically generated by 'ROBOTC' configuration wizard               !!*//

//*!!Code automatically generated by 'ROBOTC' configuration wizard               !!*//
///----------------------------------------------------------------------------
/// didier  TWO MASTER SLAVE NXTBee modèle
//  NXT MARRON
///
///
///----------------------------------------------------------------------------

#include "drivers/mindsensors-ps2ctrl-v4.h"
#include "drivers/hitechnic-irlink.h"
#include "ROBOT DATA SPRAT 3 NXT ONE.h"
#include "didier GESTION SPRAT 3 NXT ONE.h";

///////////////////////////////////////////////////////////////////////////////

task main()
{
bNoPowerDownOnACAdaptor = true;   // will NOT power down when connected to AC adapter

bFloatDuringInactiveMotorPWM = false;  // the motors will NOT coast when power is not applied

StartTask (ROBOTData);
StartTask (gestionSPRAT);

while (true)
{
wait1Msec(10);
}
}

Want to see more pictures, videos, and information on these bots? Have any thoughts, comments, or questions? Check out Didier’s forum posts (links above) or comment below!

Written by John Watson

January 28th, 2013 at 4:00 pm