2020-07-24, 04:01 PM
Hi there,
I just managed to kind of run the pypilot project. I am using a Pi Zero, running python3.7 in a venv.
I plan on using only the IMU part of the project. I am able to run pypilot_boatimu (both as direct command or as python -m pypilot.boatimu), which constantly outputs pitch/roll/heading. Also I am able to run pypilot_client, which displays a list of values once. or if run with -c it displays that value constantly (-c does not work with every value though). So far so good.
Now what would be the procedure to initiate accelerometer calibration, aligning and compass calibration using command line pypilot_client? Is that even possible?
I cannot run a gui to do that and I also do not want to run openplotter.
Some Background:
I am in the process of developing a very similar autopilot system, unfortunately i found this project too late. Mine is based around a Redis-Server to distribute different information. That seems to be a cleaner solution and easier to maintain that the homemade server pypilot uses. My actuator is an old Autohelm ST2000, which failed last season. I replaced its electronics with an arduino and connect it to the pi. The control algorithm is still missing, I fancy some fuzzy-control based algorithm. Anyway I did find out that those IMUs (mine is also a MPU9255) are difficult (in the mathematical sens) to use and calibrate. Here I do like the efforts pypilot has taken and I hope it can be integrated, the approach would be to write a pypilot client that pushes all values to Redis.
Hints appreciated,
Kind Regards,
Daniel.
I just managed to kind of run the pypilot project. I am using a Pi Zero, running python3.7 in a venv.
I plan on using only the IMU part of the project. I am able to run pypilot_boatimu (both as direct command or as python -m pypilot.boatimu), which constantly outputs pitch/roll/heading. Also I am able to run pypilot_client, which displays a list of values once. or if run with -c it displays that value constantly (-c does not work with every value though). So far so good.
Now what would be the procedure to initiate accelerometer calibration, aligning and compass calibration using command line pypilot_client? Is that even possible?
I cannot run a gui to do that and I also do not want to run openplotter.
Some Background:
I am in the process of developing a very similar autopilot system, unfortunately i found this project too late. Mine is based around a Redis-Server to distribute different information. That seems to be a cleaner solution and easier to maintain that the homemade server pypilot uses. My actuator is an old Autohelm ST2000, which failed last season. I replaced its electronics with an arduino and connect it to the pi. The control algorithm is still missing, I fancy some fuzzy-control based algorithm. Anyway I did find out that those IMUs (mine is also a MPU9255) are difficult (in the mathematical sens) to use and calibrate. Here I do like the efforts pypilot has taken and I hope it can be integrated, the approach would be to write a pypilot client that pushes all values to Redis.
Hints appreciated,
Kind Regards,
Daniel.