3
votes
Program for NXT golf robot not looping properly
Looking at your code, there are a few things that you need to consider.
Firstly, you have a while (true) loop which will run infinitely.
The first thing you have after the loop is OnFwd(...) which ...
2
votes
Mindstorms NXT NXC RemoteStopProgram fails compilation
Try changing which version of BricxCC you're using to one of the later releases:
http://bricxcc.sourceforge.net/test_releases/?C=M;O=D
What version are you using now? I duplicated the compile error ...
2
votes
Accepted
Absolute position regulation NXC
According to the docs (emphasis added):
Warning
This function requires the enhanced NBC/NXC firmware version 1.31+
Make sure you are using the enhanced firmware provided with NXC and not the ...
2
votes
How to store a matrix of values and pick out certain elements and compute the difference?
This application does seem to be pushing the limits of the official software provided by LEGO. If you are interested in C/C++ (or any other programming language), check out http://www.ev3dev.org.
I ...
2
votes
Help with this .nxc Tripod program
I got this to work. Set the optimisation level to 1 on the NBC/NXC tab of the compilation options. Then recompile and download.
2
votes
How to flash a LEGO Mindstorms brick and program it in another language
I've had great success with Bricx Command Center or BricxCC (as mentioned in this post) on my NXT using NXC (which is easy to pick-up when you already have a C/C++ foundation like you've mentioned).
...
1
vote
Get robot to face perpendicular to nearest object, using the ultrasonic sensor in NXC?
I like your username. I'm not exactly good at NXC either, but I'm experienced in C and Java. So here's some pseudocode that should get the job done. This will rotate the scanning motor 180 degrees, ...
1
vote
How to flash a LEGO Mindstorms brick and program it in another language
In my experience, most 3rd-party firmware can be flashed to the NXT brick using the standard NXT-G software "Firmware Update Tool." As others have mentioned, BricxCC with NXC is also a great option.
...
1
vote
Accepted
How to represent infinity in NXC?
I don't believe that a constant or macro is available in NXC for positive infinity. C99 defines INFINITY in math.h, but the math module in NXC does not appear to include this.
NXC uses IEEE 754 ...
1
vote
Help with this .nxc Tripod program
I had the exact same problem when I built the tripod. This program is written in BrickCC, instead of the standard NXT-G. The way to solve this is to download and install the compiler for brickCC, ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
nxc × 28nxt × 18
mindstorms × 9
programming × 9
ev3 × 4
motor × 3
software × 3
sensor-colour × 3
bluetooth × 2
compatibility × 1
sensor-ultrasonic × 1
python × 1
pathfinding × 1