Teensy 4 is a huge hit and I understand this is not going to get noticed for a while. That said, here goes.
In a response to a question about modifying MotionCal to support other sensors https://forum.pjrc.com/threads/43838-MotionCal-Tool-Format?highlight=motioncal
Paul said
:~/Shared/Projects/Software/IMU/MotionCal$ make
g++ -O2 -Wall -DLINUX `/usr/bin/wx-config --cppflags` -c -o gui.o gui.cpp
g++ -O2 -Wall -DLINUX `/usr/bin/wx-config --cppflags` -c -o portlist.o portlist.cpp
gcc -O2 -Wall -DLINUX -c -o visualize.o visualize.c
gcc -O2 -Wall -DLINUX -c -o serialdata.o serialdata.c
gcc -O2 -Wall -DLINUX -c -o rawdata.o rawdata.c
gcc -O2 -Wall -DLINUX -c -o magcal.o magcal.c
gcc -O2 -Wall -DLINUX -c -o matrix.o matrix.c
gcc -O2 -Wall -DLINUX -c -o fusion.o fusion.c
gcc -O2 -Wall -DLINUX -c -o quality.o quality.c
gcc -O2 -Wall -DLINUX -c -o mahony.o mahony.c
gcc -O2 -Wall -DLINUX -c -o imuread.o imuread.c
gcc -s -O2 -Wall -DLINUX -o imuread imuread.o visualize.o serialdata.o rawdata.o magcal.o matrix.o fusion.o quality.o mahony.o -lglut -lGLU -lGL -lm
g++ -s -O2 -Wall -DLINUX -o MotionCal gui.o portlist.o images.o visualize.o serialdata.o rawdata.o magcal.o matrix.o fusion.o quality.o mahony.o `/usr/bin/wx-config --libs all,opengl`
/usr/bin/ld: cannot find -lwx_gtk2u_webview-3.0
collect2: error: ld returned 1 exit status
Makefile:71: recipe for target 'MotionCal' failed
make: *** [MotionCal] Error 1
Trying to find the missing wx_gtk2u_webview-3.0 led to understand that it is no longer part of the package because of security problems. But my efforts to remove it have failed. Key routines in the code appear to be in this library.
Is there any chance of getting this fixed so that MotionCal can be built again?
Needless to say, I'm trying to make this work now, but I realize it will be a while before any action will happen. That's OK.
Thanks!
In a response to a question about modifying MotionCal to support other sensors https://forum.pjrc.com/threads/43838-MotionCal-Tool-Format?highlight=motioncal
Paul said
To my mind that is a very fair answer! Since I wanted to modify MotionCal to use with my own IMU (although I am using a Teensy3.6 with it), I tried to follow Paul's directions. I downloaded MotionCal from git, gathered the OpenGL pieces as directed in imuread.h, and tried to build it. Here's the result:You can dig a little deeper. The chips have clear datasheets and the library isn't complicated (at least not that part, no sensor fusion or filter). The MotionCal source is also available on github.
:~/Shared/Projects/Software/IMU/MotionCal$ make
g++ -O2 -Wall -DLINUX `/usr/bin/wx-config --cppflags` -c -o gui.o gui.cpp
g++ -O2 -Wall -DLINUX `/usr/bin/wx-config --cppflags` -c -o portlist.o portlist.cpp
gcc -O2 -Wall -DLINUX -c -o visualize.o visualize.c
gcc -O2 -Wall -DLINUX -c -o serialdata.o serialdata.c
gcc -O2 -Wall -DLINUX -c -o rawdata.o rawdata.c
gcc -O2 -Wall -DLINUX -c -o magcal.o magcal.c
gcc -O2 -Wall -DLINUX -c -o matrix.o matrix.c
gcc -O2 -Wall -DLINUX -c -o fusion.o fusion.c
gcc -O2 -Wall -DLINUX -c -o quality.o quality.c
gcc -O2 -Wall -DLINUX -c -o mahony.o mahony.c
gcc -O2 -Wall -DLINUX -c -o imuread.o imuread.c
gcc -s -O2 -Wall -DLINUX -o imuread imuread.o visualize.o serialdata.o rawdata.o magcal.o matrix.o fusion.o quality.o mahony.o -lglut -lGLU -lGL -lm
g++ -s -O2 -Wall -DLINUX -o MotionCal gui.o portlist.o images.o visualize.o serialdata.o rawdata.o magcal.o matrix.o fusion.o quality.o mahony.o `/usr/bin/wx-config --libs all,opengl`
/usr/bin/ld: cannot find -lwx_gtk2u_webview-3.0
collect2: error: ld returned 1 exit status
Makefile:71: recipe for target 'MotionCal' failed
make: *** [MotionCal] Error 1
Trying to find the missing wx_gtk2u_webview-3.0 led to understand that it is no longer part of the package because of security problems. But my efforts to remove it have failed. Key routines in the code appear to be in this library.
Is there any chance of getting this fixed so that MotionCal can be built again?
Needless to say, I'm trying to make this work now, but I realize it will be a while before any action will happen. That's OK.
Thanks!