Join us in Chat. Click link in menu bar to join. Unofficial chat day is every Friday night (US time).
0 Members and 1 Guest are viewing this topic.
@mdp - This also includes your PWM frequency request.
I'll volunteer.And actually, we have a simulator for our robot fish that can probably do it, if you forward me the relevant code to convert into MatLab code.Not sure how well a robot fish Kalman filter will translate into a plane or ground based robot, however . . .
p.s. Did Admin get anywhere with adapting his robot fish Kalman filter for the Razor?
@WebbotRe: AHRS for the Razor.Yes please that would be great. Will it be able to support the initial design and the two new revisions of the Razor?I could lend you my Razor (initial design I think with ATmega328) if that will help. A contribution to Webbot.org would also be possible.Is there any word on the new revisions? Are they better? Have they fixed any problems?
A quick clarification on the implementation of Version 2 (that i am sure will be of benifit to others).It is my understanding that if i was running version 2 of the lib and for one reason or another wanted to change back to version 1. All i would have to do is regenerate the code specifying version 1 and all of the existing files except the .aps and the *.aws files could be reused without any modifications. In this instance i would be able to copy the existing files to combine them with the .aps and *.aws files. Is this correct or on the right track?CheersJoker94
Am curious about the question - are you moving from V1 to V2 for the first time and want to reassure yourself that you can always move back to V1 just in case? If so - then don't worry. V2 allows you to do everything that V1 does.
Another question that might benifit others.When i compile my code I am getting numerous errors, but all of these errors are to do with the header files. Could this be due to the fact that i have not yet updated to version 5 yet?Another possibility is the ways in which i have the library and other files installed? is there a recommended place to instal the library and where to have the other plugin's installed(eg. gait designer, blackfin plugin)PS. it doesn;t matter what version of the library i use I still get the same warnings.
Build started 10.9.2011 at 22:50:13-Os -c -o lib/opt_TimerOverflow.o lib/opt_TimerOverflow.cIn file included from lib/opt_TimerOverflow.c:1:lib/lib_timerdef.h:7:21: error: libdefs.h: No such file or directoryIn file included from lib/opt_TimerOverflow.c:1:lib/lib_timerdef.h:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PROGMEM'lib/lib_timerdef.h:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PROGMEM'lib/lib_timerdef.h:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PROGMEM'lib/lib_timerdef.h:29: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Timer'lib/lib_timerdef.h:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'NUMBER_OF_TIMERS'lib/opt_TimerOverflow.c:2:19: error: timer.h: No such file or directorylib/opt_TimerOverflow.c:3:20: error: errors.h: No such file or directorylib/opt_TimerOverflow.c:5: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PROGMEM'lib/opt_TimerOverflow.c:8: warning: type defaults to 'int' in declaration of 'Timer'lib/opt_TimerOverflow.c:8: error: expected ';', ',' or ')' before '*' tokenlib/opt_TimerOverflow.c:10: warning: return type defaults to 'int'lib/opt_TimerOverflow.c: In function 'ISR':lib/opt_TimerOverflow.c:10: warning: type of 'TIMER0_OVF_vect' defaults to 'int'lib/opt_TimerOverflow.c:11: warning: implicit declaration of function '__timer_overflowService'lib/opt_TimerOverflow.c:11: error: 'pgm_Timers' undeclared (first use in this function)lib/opt_TimerOverflow.c:11: error: (Each undeclared identifier is reported only oncelib/opt_TimerOverflow.c:11: error: for each function it appears in.)lib/opt_TimerOverflow.c: At top level:lib/opt_TimerOverflow.c:13: warning: return type defaults to 'int'lib/opt_TimerOverflow.c:13: error: redefinition of 'ISR'lib/opt_TimerOverflow.c:10: error: previous definition of 'ISR' was herelib/opt_TimerOverflow.c: In function 'ISR':lib/opt_TimerOverflow.c:13: warning: type of 'TIMER1_OVF_vect' defaults to 'int'lib/opt_TimerOverflow.c:14: error: 'pgm_Timers' undeclared (first use in this function)lib/opt_TimerOverflow.c: At top level:lib/opt_TimerOverflow.c:16: warning: return type defaults to 'int'lib/opt_TimerOverflow.c:16: error: redefinition of 'ISR'lib/opt_TimerOverflow.c:10: error: previous definition of 'ISR' was herelib/opt_TimerOverflow.c: In function 'ISR':lib/opt_TimerOverflow.c:16: warning: type of 'TIMER2_OVF_vect' defaults to 'int'lib/opt_TimerOverflow.c:17: error: 'pgm_Timers' undeclared (first use in this function)avr-gcc: Lib/Webbot: No such file or directoryavr-gcc: Lib_Library/WebbotLib: No such file or directoryavr-gcc: v2/2.07: No such file or directorymake: *** [lib/opt_TimerOverflow.o] Error 1Build failed with 22 errors and 8 warnings...
# The library where WebbotLib is installedWEBBOT = ../../..# The library to link againstWEBBOT_LIB = $(WEBBOT)/libWebbot-ATmega328P.a