NXTCam & Line Following with NXC - HELP!
Posted: 10 May 2011, 08:35
Hi everyone,
I've got myself a NXTCam, and have been trying to get a NXC based NXTCam Line Following program to work.
I can follow coloured balls etc. around the room, but follow a black line; I'm stumped! I've been Googling for hours/days with no luck!
I put the NXTCam into Line mode, but I can't get a black line followed. I've tried using the camtest_v3.nxc program with black blob loaded, yet nothing happens in either Line or Blob Modes.
Can some one please post a working NXC example for me to get me started?
Can I have the NXTCam in line follow mode and still access coloured blobs to cause the Line Follower to start a new action?
The documentation for using NXC with the NXTCam is very thin on the ground, I've discovered. Especially for a beginner / intermediate programmer. RobotC is fractionally better, accept the RobotC Forum example codes are as old as me, and like me won't run without a great deal of effort. When I get the NXTCam nutted-out, I will attempt to put a couple of NXC tutorials together to help others in my situation.
I've got myself a NXTCam, and have been trying to get a NXC based NXTCam Line Following program to work.
I can follow coloured balls etc. around the room, but follow a black line; I'm stumped! I've been Googling for hours/days with no luck!
I put the NXTCam into Line mode, but I can't get a black line followed. I've tried using the camtest_v3.nxc program with black blob loaded, yet nothing happens in either Line or Blob Modes.
Can some one please post a working NXC example for me to get me started?
Can I have the NXTCam in line follow mode and still access coloured blobs to cause the Line Follower to start a new action?
The documentation for using NXC with the NXTCam is very thin on the ground, I've discovered. Especially for a beginner / intermediate programmer. RobotC is fractionally better, accept the RobotC Forum example codes are as old as me, and like me won't run without a great deal of effort. When I get the NXTCam nutted-out, I will attempt to put a couple of NXC tutorials together to help others in my situation.