Search found 7 matches

by kizzard
01 Nov 2010, 23:22
Forum: Mindstorms Software
Topic: NXC and C programming communication
Replies: 9
Views: 12575

Re: NXC and C programming communication

If you are OK with C++: http://www.norgesgade14.dk/bluetoothlibrary.php It did not compile straight away for me with gcc, I had to modify the code (mainly syntactic errors that are probably compiler dependent - removing namespace qualifiers and such) but it does work perfectly. It works out of the b...
by kizzard
01 Nov 2010, 20:07
Forum: Mindstorms Hardware
Topic: Inaccurate Hitechnic Compass
Replies: 6
Views: 11628

Re: Inaccurate Hitechnic Compass

Thank you all for your replies, I apologise for my slow response, I have been very busy. doc-helmut: Yes I calibrated the compass several times, following the instructions on the hitechnics website. I wrote a program to rotate the bot 1.75 turns at a speed of about 40 seconds per turn whilst calibra...
by kizzard
28 Oct 2010, 01:09
Forum: Mindstorms Hardware
Topic: Inaccurate Hitechnic Compass
Replies: 6
Views: 11628

Inaccurate Hitechnic Compass

Hey all I have a Hitechnics compass sensor. It is giving readings with errors up to 30*. For example: I place the bot on the ground and draw a parallel line against the side of it (parallel also with the sensor). Then I look at the reading on screen, and turn the bot around so it's lined up with the...
by kizzard
27 Oct 2010, 04:33
Forum: Mindstorms Software
Topic: Limited capabilities of NXC
Replies: 10
Views: 14909

Re: Limited capabilities of NXC

Thanks for clearing that up John. By the way, I bought your book and found it very helpful! Thanks.
by kizzard
26 Oct 2010, 23:14
Forum: Mindstorms Software
Topic: Limited capabilities of NXC
Replies: 10
Views: 14909

Re: Limited capabilities of NXC

Thanks for the information, Andy. I got LeJOS a couple of hours ago and have written have a functioning onboard controller. I am impressed, LeJOS is excellent, just what I was after!
by kizzard
26 Oct 2010, 18:28
Forum: Mindstorms Software
Topic: Limited capabilities of NXC
Replies: 10
Views: 14909

Re: Limited capabilities of NXC

Ah, thank you! Perfect answer. I am simply after a compiler/firmware with a rich language. Those sound great. Memory is not an issue for me as the planning/AI/number crunching will be done on my computer. All I need the onboard controller to do is carry out commands sent to it and feed back translat...
by kizzard
26 Oct 2010, 17:04
Forum: Mindstorms Software
Topic: Limited capabilities of NXC
Replies: 10
Views: 14909

Limited capabilities of NXC

I just got an NXT recently and have just started programming in NXC. In the process of trying to code a queue to queue instructions that will be sent to the robot, I've run across some rather glaring limits on what can be expressed with this language. No pointers, and no arrays in structs are the fi...