Search found 10 matches

by matzzn
22 Feb 2013, 08:17
Forum: Mindstorms Software
Topic: [NXC]TachoCount problem
Replies: 7
Views: 6905

Re: [NXC]TachoCount problem

Ok next problem. ... } while (tacho < angle && !(stady_state > (angle *100 / pwr) ) ); Off (out); /*This solves the problem Wait(200); Coast(out); */ Wait(1); ResetRotationCount(OUT_A); Wait(1); } .... RunMotor (OUT_A, 100, 90); Wait (1000); tacho = GetOutput( OUT_A, RotationCount); // tacho...
by matzzn
22 Feb 2013, 08:02
Forum: Mindstorms Software
Topic: [NXC]TachoCount problem
Replies: 7
Views: 6905

Re: [NXC]TachoCount problem

Thanks seems fixed now. That's a really tricky bug ;)
I'm going to change everything to "Rotation Count".
by matzzn
21 Feb 2013, 20:11
Forum: Mindstorms Software
Topic: [NXC]TachoCount problem
Replies: 7
Views: 6905

Re: [NXC]TachoCount problem

The fw seems to use this for obscured internal purposes.
That was my first thought (I think OffEx() )
RotationCount causes this problem also.
by matzzn
21 Feb 2013, 17:50
Forum: Mindstorms Software
Topic: [NXC]TachoCount problem
Replies: 7
Views: 6905

[NXC]TachoCount problem

I'm just trying to wirte a function for fast motor-movements. I have a problem with "GetOutput( OUT_A, TachoCount);" After resetting the TachoCount, GetOutput returning not 0. inline void RunMotor ( byte out, char pwr, long angle) { long tacho; long pre_tacho; unsigned int stady_state; int...
by matzzn
08 Dec 2012, 10:49
Forum: Mindstorms Software
Topic: [NXC]Motor-control-functions
Replies: 10
Views: 9946

Re: [NXC]Motor-control-functions

The links you posted all result in this message: The pictures shows that different pid values result in a overshoot of the target position. PID values can only be multiples of 32. Use the PID_0 through PID_7 constants which are 0, 32, 64, 96, 128, 160, 192, and 224 With such rough values ​​I ne...
by matzzn
05 Dec 2012, 19:15
Forum: Mindstorms Software
Topic: [NXC]Motor-control-functions
Replies: 10
Views: 9946

Re: [NXC]Motor-control-functions

I have no idea where you got that graph from. Perhaps you could post the full source code which you used to produce it? I took your code, changed the rotation to 90° and monitored the rotation-count in Labview. RotateMotorExPID I don't know if there's a difference to RotateMotorPID but here are so...
by matzzn
30 Nov 2012, 18:33
Forum: Mindstorms Software
Topic: [NXC]Motor-control-functions
Replies: 10
Views: 9946

Re: [NXC]Motor-control-functions

Here's one thread where I posted an NXC function that could be used as an alternative to the stock RotateMotor function: I've seen this already. This is the result: https://www.dropbox.com/s/f8hn8jwymiywxle/JHmotorcontrol.jpg I can not see any improvement... Of course, NXC users are strongly encour...
by matzzn
29 Nov 2012, 17:32
Forum: Mindstorms Software
Topic: [NXC]Motor-control-functions
Replies: 10
Views: 9946

[NXC]Motor-control-functions

Hello I am currently examining the commands RotateMotor() and RotateMotorPID(). I have come to the conclusion that the motor always overshoots the target position. I could not eliminate the problem by changing the PID values. http://mindstormsforum.de/viewtopic.php?f=25&t=7282&sid=801c08faf3...
by matzzn
29 Nov 2012, 17:02
Forum: Mindstorms Software
Topic: Real time data monitoring from a computer
Replies: 2
Views: 5287

Re: Real time data monitoring from a computer

I have built such a software for Windows.

http://roboticsaumair.jimdo.com/nxt-min ... -software/

I used Labview for programming. You may use the mac version of Labview.
by matzzn
27 Nov 2012, 18:04
Forum: Mindstorms Software
Topic: Communicating via RS485
Replies: 46
Views: 44598

Re: Communicating via RS485

but i'd also like a trouble-free communication protocoll via rs485 and bluetooth for NXC.
same here