[NXC UserInteraction Library]

float createNumberPicker (string questionText_, float minNumber_, float maxNumber_, float selectedNumber_ = -9999, float step_=1 )

Number pickerAsk for a floating-point or integer number with sliding menu interface.

Parameters:
questionText_ Text displayed above the picker. Can be left empty.
minNumber_ Minimal value in the picker
maxNumber_ Maximal value in the picker. This number might be adjusted so that an integer amount of steps towards it is possible from minNumber_
selectedNumber_ (Optional) Default selected value. This is defaulted to minNumber_ if out of range or not one of steps. Default = minNumber_
step_ (Optional) Size of one step. Must be greater than 0. Default = 1

Returns:
float Selected number


{Please enable JavaScript in order to post comments}

NXTPong

A custom-built lego machine for playing pong, featuring two controllers connected to the Mindstorms NXT brick. Programmed using NXC.

Developing in NXC using XCode

After comparing a number of options, I chose NXC as a pretty good alternative to Robot-C. It supports a lot of things like sensor and motor management, playing of sounds, basic 2D and 3D graphics, etc. Most importantly, you can compile your programs from the command line or from XCode. This tutorial assumes knowledge of XCode 4 and of C. The NXC programming guide is a good reference.

Setting up NXC Development on a Mac

This tutorial provides a step-by-step guide for setting up your Mac or Linux machine and your NXT brick for development with NXC. We will use the enhanced NXC firmware in order to enable extended functions for development.

pyCreeper

The main purpose of pyCreeper is to wrap tens of lines of python code, required to produce graphs that look good for a publication, into functions. It takes away your need to understand various quirks of matplotlib and gives you back ready-to-use and well-documented code.

Novelty detection with robots using the Grow-When-Required Neural Network

The Grow-When-Required Neural Network implementation in simulated robot experiments using the ARGoS robot simulator.

Fast Data Analysis Using C++ and Python

C++ code that processes data and makes it available to Python, significantly improving the execution speed.