[Tweets]

12/02/2018 11:18am
Indeed! [LINK]
08/02/2018 4:07pm
The advert video for @iros_2018 is really good! I wish robots really served coffee at the conference [LINK]
07/02/2018 10:10am
RT @NatureEcoEvo: Cockroach and termite genomes reveal molecular basis of termite eusociality [LINK] [LINK]
06/02/2018 1:29pm
Robotics for Nuclear Environments - a really cool website for a really cool project that I am currently a part of a… [LINK]
02/02/2018 8:09pm
RT @RIFBristol: Everything you need to know about Bristol’s sci-tech scene [LINK] via @siliconrepublic [LINK]

[NXC UserInteraction Library]

LocationType drawAlignedText (string text_, int yPosition_, UIN_ALIGNMENT alignment_, int maxWidth_ = -1)

Draw single- or multi-line text with specified alignment. The LINEBREAK_CHAR(default #) character can be used as carriage return. The string will be automatically split into lines by words.

Parameters:
text_ Text to draw
yPosition_ Starting Y position of text
alignment_ UIN_ALIGNMENT of the text
maxWidth_ (Optional) Maximum width of the text. Default = DISPLAY_WIDTH

Returns:
LocationType where X = X position of left-most line, Y = text height

Related:
enum UIN_ALIGNMENT


{Please enable JavaScript in order to post comments}

[You might also be intested in...]

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.
V-REP, Gazebo or ARGoS? A robot simulators comparison
Let’s have a look at three commonly used open-source simulators for robotics: V-REP, Gazebo and ARGoS, to find out which one suits your project the best.
Designing Effective Roadmaps for Robotics Innovation
Automated factories, autonomous delivery drones, self-driving cars: these and similar technologies will soon touch every aspect of our lives. An engaging discussion about how these technologies are regulated and innovated took place at the IROS 2017 conference.
The Information-Cost-Reward framework for understanding robot swarm foraging
The Information-Cost-Reward (ICR) framework relates the way in which robots obtain and share information about where work needs to be done to the swarm’s ability to exploit that information in order to perform work efficiently in the context of a particular task and environment.