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.
NXTCam & Line Following with NXC - HELP!
NXTCam & Line Following with NXC - HELP!
regards
Ray McNamara
www.rjmcnamara.com
'The Universe Consists of 1% Hydrogen, & the Rest is Ignorance!'
Ray McNamara
www.rjmcnamara.com
'The Universe Consists of 1% Hydrogen, & the Rest is Ignorance!'
Re: NXTCam & Line Following with NXC - HELP!
I'm not completely possable with the default thresholds of the sensor, but I don't have one.
2Labz.com, My Website
Re: NXTCam & Line Following with NXC - HELP!
There is are notes here on how cameras were used to guide a line-follower - might give you some ideas. Sorry I can't come up with a program.
http://blog.electricbricks.com/en/2010/ ... -follower/
http://web.abo.fi/fak/tkf/rt/robot/print.php
http://dasl.mem.drexel.edu/~seanMason/?page_id=289
http://www.youtube.com/watch?v=o6U7Xtvk ... r_embedded (link to program dead)
http://blog.electricbricks.com/en/2010/ ... -follower/
http://web.abo.fi/fak/tkf/rt/robot/print.php
http://dasl.mem.drexel.edu/~seanMason/?page_id=289
http://www.youtube.com/watch?v=o6U7Xtvk ... r_embedded (link to program dead)
A sophistical rhetorician, inebriated with the exuberance of his own verbosity, and gifted with an egotistical imagination that can at all times command an interminable and inconsistent series of arguments to malign an opponent and to glorify himself.
Re: NXTCam & Line Following with NXC - HELP!
Thanks for trying.h-g-t wrote:There is are notes here on how cameras were used to guide a line-follower - might give you some ideas. Sorry I can't come up with a program.
http://blog.electricbricks.com/en/2010/ ... -follower/
http://web.abo.fi/fak/tkf/rt/robot/print.php
http://dasl.mem.drexel.edu/~seanMason/?page_id=289
http://www.youtube.com/watch?v=o6U7Xtvk ... r_embedded (link to program dead)
regards
Ray McNamara
www.rjmcnamara.com
'The Universe Consists of 1% Hydrogen, & the Rest is Ignorance!'
Ray McNamara
www.rjmcnamara.com
'The Universe Consists of 1% Hydrogen, & the Rest is Ignorance!'
Who is online
Users browsing this forum: Semrush [Bot] and 0 guests