Compass App
#3
Tested it now, by cloning the repository rather than downloading the release zip.

Looks good, but does not seem to work correctly. I have not tried any calibration. The arrow moves slightly, but points in approximately the same direction regardless of the rotation of the PP. I guess this could be a problem with my magnetometer though, I have not investigated the outputs from my magnetometer directly.

Manjaro edition pinephone, running Mobian. Had to do "apt install python3-matplotlib" to get it running.

Some suggestions:
  • Make the terminal output more readable on the small screen on the PP. Remove some decimal places, and perhaps print x, y, and z on separate lines?
  • Command line option to disable the continuous printing of the magnetometer data, in order for important status information such as the detection of the magnetometer, or loading of calibration data to be clearly visible.
  • It would be great if the application had the ability to set the sampling frequency automatically, but I am sure you already have this on your to-do list Smile
  Reply


Messages In This Thread
Compass App - by lgtrombetta - 06-23-2021, 10:54 AM
RE: Compass App - by awaittrot - 06-23-2021, 09:08 PM
RE: Compass App - by threepwood - 06-24-2021, 02:27 AM
RE: Compass App - by lgtrombetta - 06-24-2021, 09:16 AM
RE: Compass App - by lgtrombetta - 06-24-2021, 02:58 PM
RE: Compass App - by threepwood - 06-25-2021, 06:35 AM
RE: Compass App - by biketool - 06-25-2021, 07:08 AM
RE: Compass App - by lgtrombetta - 06-25-2021, 01:20 PM
RE: Compass App - by lgtrombetta - 06-26-2021, 07:28 AM
RE: Compass App - by lgtrombetta - 07-10-2021, 07:55 AM
RE: Compass App - by biketool - 07-28-2021, 01:07 AM
RE: Compass App - by lgtrombetta - 07-30-2021, 04:17 AM
RE: Compass App - by biketool - 07-30-2021, 08:14 AM
RE: Compass App - by newton688 - 09-09-2021, 08:42 PM
RE: Compass App - by lgtrombetta - 09-13-2021, 11:57 AM
RE: Compass App - by newton688 - 09-16-2021, 08:19 PM
RE: Compass App - by newton688 - 09-25-2021, 02:31 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)