2021-09-27, 09:12 AM
Hello,
OK ; compilation executed and everything works fine by now.
Here follows the commands for compilation for the ones interested with tinypilot_2020_10_27.img.xz image:
The script python-RTIMULib.build execute the compilation and generation of the package necessary for the specific structure (RAM filesystem) of tinycore (tinypilot base) ; looking at the code is interesting.
Here is the extract of /var/log/pypilot/current:
ICM20948 is indeed recognized ; tests indicate that driver is operational.
Thanks Sean for the advices, time, dedication and all work ; always deeply impressed !
Best,
Xavier.
OK ; compilation executed and everything works fine by now.
Here follows the commands for compilation for the ones interested with tinypilot_2020_10_27.img.xz image:
Code:
# *** Compile last git version of RTIMULib2 ***
# Prepare directories, get last git and compress in .tar.gz (expected by python-RTIMULib.build)
cd ~
mkdir RTIMULib_update
cd RTIMULib_update
git clone git://github.com/seandepagnier/RTIMULib2.git
tar czvf RTIMULib2.tar.gz RTIMULib2
rm -rf RTIMULib2
# Extract, rename, compile and generate squashfs (to make persitent)
sudo sh /mnt/mmcblk0p2/tinypilot/pypilot_dependencies/python-RTIMULib/python-RTIMULib.build
# *** Reboot... ***
sudo reboot
Here is the extract of /var/log/pypilot/current:
Code:
2020-03-14_11:00:17.41751 ERROR loading intellect.py invalid syntax (intellect.py, line 205) invalid syntax (intellect.py, line 205)
2020-03-14_11:00:17.41853 ERROR loading learning.py invalid syntax (intellect.py, line 205) invalid syntax (intellect.py, line 205)
2020-03-14_11:00:17.67724 Settings file RTIMULib.ini loaded
2020-03-14_11:00:17.67736 Failed to open settings file for saveDetected ICM20948 at standard address
2020-03-14_11:00:17.68017 Failed to open settings file for saveUsing fusion algorithm Kalman STATE4
2020-03-14_11:00:17.68030 min/max compass calibration not in use
2020-03-14_11:00:17.68334 Using ellipsoid compass calibration
2020-03-14_11:00:17.68341 Using accel calibration
2020-03-14_11:00:18.00325 ICM-20948 init complete
2020-03-14_11:00:18.07324 loading servo calibration /home/tc/.pypilot/servocalibration
2020-03-14_11:00:18.07338 WARNING: using default servo calibration!!
2020-03-14_11:00:18.07347 Loaded Pilots: ['absolute', 'basic', 'simple']
2020-03-14_11:00:18.07355 warning: failed to open special file /dev/watchdog0 for writing
2020-03-14_11:00:18.07363 cannot stroke the watchdog
Thanks Sean for the advices, time, dedication and all work ; always deeply impressed !
Best,
Xavier.