I have some problem to make the libasuro 3.0 fit with orginal library. I tried several times, in several ways, like copy paste each function from libasuro to original library, with no success.
Here it is, after compilation:
asuro.c:272: error: `uint16_t' undeclared (first use in this function)
asuro.c:272: error: (Each undeclared identifier is reported only once
asuro.c:272: error: for each function it appears in.)
asuro.c:272: error: parse error before "enc_count"
asuro.c:275: error: `int8_t' undeclared (first use in this function)
asuro.c:276: error: `uint8_t' undeclared (first use in this function)
asuro.c:278: warning: implicit declaration of function `EncoderReset'
asuro.c:282: error: `tot_count' undeclared (first use in this function)
asuro.c:282: error: `enc_count' undeclared (first use in this function)
asuro.c:283: error: `l_speed' undeclared (first use in this function)
asuro.c:283: error: `r_speed' undeclared (first use in this function)
asuro.c:285: error: `encoder' undeclared (first use in this function)
asuro.c:285: error: `LEFT' undeclared (first use in this function)
asuro.c:286: error: `diff' undeclared (first use in this function)
asuro.c:286: error: `RIGHT' undeclared (first use in this function)
asuro.c: In function `Rotate':
asuro.c:309: error: `uint16_t' undeclared (first use in this function)
asuro.c:309: error: parse error before "enc_count"
asuro.c:312: error: `int8_t' undeclared (first use in this function)
asuro.c:313: error: `uint8_t' undeclared (first use in this function)
asuro.c:319: error: `tot_count' undeclared (first use in this function)
asuro.c:319: error: `enc_count' undeclared (first use in this function)
asuro.c:320: error: `l_speed' undeclared (first use in this function)
asuro.c:320: error: `r_speed' undeclared (first use in this function)
asuro.c:322: error: `encoder' undeclared (first use in this function)
asuro.c:322: error: `LEFT' undeclared (first use in this function)
asuro.c:323: error: `diff' undeclared (first use in this function)
asuro.c:323: error: `RIGHT' undeclared (first use in this function)
make: *** [asuro.o] Error 1
Sorry, I pasted the whole thing.
I can solve most of these, it's just some little typo problems in variable declarations.
But I can't understand that one:
asuro.c:272: error: `uint16_t' undeclared (first use in this function)
and
asuro.c:309: error: `uint16_t' undeclared (first use in this function)
asuro.c:309: error: parse error before "enc_count"
asuro.c:312: error: `int8_t' undeclared (first use in this function)
asuro.c:313: error: `uint8_t' undeclared (first use in this function)
May one of you guys could give me a complet and final version of the asuro library, or give me a link to download it? I am especially intersted in Rotate and Travel functions... Thaaaaanxx!
I have a new problem now, I think that my odometry is not functionnal; for exemple in the Rotate function, Asuro never stop and keep turning on itself...
Users browsing this forum: No registered users and 0 guests
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum