go away spammer

Author Topic: Webbotlib documentation: potential typo (or my own bad coding :-P )  (Read 1660 times)

0 Members and 1 Guest are viewing this topic.

Offline mstachoTopic starter

  • Supreme Robot
  • *****
  • Posts: 376
  • Helpful? 10
On page 250, the example to make the generic quadrature encoder, the function in the example is:

QUADRATURE quad1 = MAKE_QUADRATURE(B4, B5, FALSE, 32, FALSE);

(in my case I'm using K0, K1, and 1368 pulses per revolution).  This won't compile (it says "invalid initializer").  But:

QUADRATURE quad1 = MAKE_GENERIC_QUADRATURE(K0,K1,false,1368,false);

does.  Is there a function called MAKE_QUADRATURE and I'm just using it wrong, or is it a typo in the manual?

MIKE
Current project: tactile sensing systems for multifingered robot hands

Offline Webbot

  • Expert Roboticist
  • Supreme Robot
  • *****
  • Posts: 2,165
  • Helpful? 111
    • Webbot stuff
Re: Webbotlib documentation: potential typo (or my own bad coding :-P )
« Reply #1 on: February 25, 2011, 08:14:11 PM »
its my typo, you're correct
Webbot Home: http://webbot.org.uk/
WebbotLib online docs: http://webbot.org.uk/WebbotLibDocs
If your in the neighbourhood: http://www.hovinghamspa.co.uk

 


Get Your Ad Here