[Tweets]

24/11/2017 5:11pm
RT @BristolRobotLab: APPLY NOW: Opportunity to join the FARSCOPE 4 year PhD programme in 2018, based here at the BRL [LINK]
24/11/2017 5:11pm
RT @ProfCompMod: Good news from @unisouthampton: Three cups of coffee a day 'may have health benefits' [LINK] @NGCM_Soton
20/11/2017 12:10pm
How is information utilised in robot swarms? "The Information-Cost-Reward framework for understanding #robot #swarm[LINK]
15/11/2017 10:12pm
DVLA asks me to join the NHS Organ Donor Register after I ordered a form to get my driving license. They already kn… [LINK]

[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}

[Blog]

Robot swarms in action

Watch e-puck robots collect resources and bring them back to base. While the previous simulation work helped us to learn a lot about the...

[read full]

How to compile code for e-puck robots on your computer

Compiling code natively on e-puck robots or cross-compiling on your computer can be very tedious. Luckily, there is a third option:...

[read full]

Coding for tomorrow: Why is good code important?

"Why should I care about how my code is written, as long as it works?" I will argue here that well-structured and well-written code not...

[read full]

How Coding in Python Might Be Bad For You

7 reasons why coding in Python is like writing a really bad essay and getting away with it

[read full]