Questions tagged [not-exactly-c]

Not eXactly C (NXC) is a high-level programming language for the LEGO Mindstorms NXT, built on top of Next Byte Codes (NBC).

Filter by
Sorted by
Tagged with
0 votes
2 answers
911 views

PID Controller for line following robot

I had this idea of using the PID Controller as the algorithm of the line following mechanism for my Robot. The problem (which is a nature behavior of the PID controller ) on the line gaps ( where ...
james's user avatar
  • 1
3 votes
1 answer
69 views

Mindsensor Motor Multiplexer jump on run_unlimited

I am trying to run a nxt motor using the mindsensors motor multiplexer at a slow speed. When I turn it on, it tends to jump approx 20 to 40 degrees before moving at a slow speed. Has anyone seen ...
Commodore63's user avatar
3 votes
2 answers
2k views

PID line follow with three sensors in Not eXactly C

I'm currently working on a line-following robot which uses three sensors to follow a black line. The sensors are pretty much in line and right next to each other. Right now, I'm doing a simple line ...
shea's user avatar
  • 364
2 votes
2 answers
123 views

Check if task exists in Not eXactly C

Is there a way to check if a task, function or variable exists in Not eXactly C? I know that in PHP you can use isset() to check if a variable exists and ...
shea's user avatar
  • 364