Archive for category: Tutorials

  • Virtual Brick: A First Look – Making a Line Follower

    Virtual Brick: A First Look – Making a Line Follower

    Tutorials January 22, 2015 12:08 no comments

    Robomatter has released a new product called the Virtual Brick.  They have re-engineered the Virtual NXT and added new functionality, new blocks, improved robot performance, as well as a new interface to make the Virtual Brick much easier to use with the EV3.  The “Brick” part is because it now works with […]

  • Tutorial: Using the Mindsensors EV3Console in Linux

    Tutorial: Using the Mindsensors EV3Console in Linux

    Tutorials August 18, 2013 07:24 3 comments

    If you have the Mindsensors EV3Console and you’re keen to use it on Linux, you’ll find that it is not immediately detected by the drivers built-in to Ubuntu 13.04.  Have no fear, though, it’s fairly easy to fix.  The specific distribution used here is Ubuntu 13.04.  If you’re using something […]

  • Tutorial: Output formatting in ROBOTC

    Tutorial: Output formatting in ROBOTC

    Tutorials March 31, 2013 06:00 no comments

    Aligning your fruit ‘n veg If you’ve ever had to output anything on the screen in ROBOTC, you’ve probably used nxtDisplayTextLine() or one of its many siblings.  Your code may, or may not have looked something like this: task main() { int num_apples = 10; // how do you like […]

  • Tutorial: Using ROBOTC’s new sensorCustom

    Tutorial: Using ROBOTC’s new sensorCustom

    Tutorials March 3, 2013 21:18 4 comments

    With ROBOTC 3.59 came two new sensor types, the sensorCustom and the complimentary sensorCustom9V.  This sensor type was introduced to allow the fast toggling of the dig0 and dig1 lines on the NXT’s sensor ports.  Normally, these pins are either used for RS485, I2C or controlling the light on a […]

  • Tutorial: Linked Lists in ROBOTC

    Tutorial: Linked Lists in ROBOTC

    Tutorials January 31, 2013 20:57 5 comments

    I really love data structures.  That sounded a lot less geeky in my head, but it’s true.  It was my favourite subject when studying computer science and I have a few good books on the subject.  I don’t pretend to understand the math behind most of them.  In any case, […]

  • Tutorial: Stacks in ROBOTC

    Tutorial: Stacks in ROBOTC

    Tutorials January 20, 2013 11:10 1 comment

    Stacks are used a LOT in computing.  The CPU in your laptop or PC, your mobile phone and iPad all have one thing in common, they all use stacks, without exception.  So what is a stack you ask yourself?  Well, think of what a stack of things is in real […]

  • Tutorial: Pointers in ROBOTC

    Tutorial: Pointers in ROBOTC

    Tutorials January 14, 2013 06:41 4 comments

    Hurray, ROBOTC has support for pointers!  “That’s nice,” I hear you say, “but what are they?”  That’s a good question.  I’ll try to explain in this tutorial.  This tutorial is the first of a couple that will show you the kinds of things you’ll be able to do with pointers. […]

  • Tutorial: Sorting your Data

    Tutorial: Sorting your Data

    Tutorials July 21, 2012 17:58 9 comments

    I was posed a question earlier this week: given an arbitrary English text, how would you pick out the 10 most common words?  On the NXT,  having a pile of sensor readings is nice but what if you need to pick the top 10 smallest or biggest ones?  How would […]

  • ROBOTC Driver Suite Tutorial

    ROBOTC Driver Suite Tutorial

    ROBOTC Driver Suite, Tutorials April 11, 2012 20:29 no comments

    Finally, after months and months of stalling, I have started and completed a tutorial for my Driver Suite. It actually took me a lot less effort than I originally thought it would, but I am happy with the result, as I am sure you will be. The tutorial will help […]

  • ROBOTC Arrays Tutorial

    ROBOTC Arrays Tutorial

    Tutorials April 6, 2012 05:51 22 comments

    (Almost) everything you wanted to know about arrays in ROBOTC but were afraid to ask.  RoboDesigners have written up a quick explanation of how arrays work and help you visualise them.  It has some ROBOTC specific code in it, but would probably work fine for most programming languages. Thanks for […]