Added calibration method for magnetometers.

This commit is contained in:
2021-08-20 13:28:06 +02:00
parent 4d1f5a7437
commit 244aaa8e89
4 changed files with 331 additions and 9 deletions
+7
View File
@@ -40,6 +40,13 @@ import src.helmholtz_cage_device as helmholtz_cage_device
# This function can be called before declare_api_version.
# Please dont put
#
# magnetometer_field [X comp.] [Y comp.] [Z comp.]
# Returns: 1
# Accepts decimal point formatted floats, with or without scientific notation. The float() cast must understand it.
# The field units are Tesla
# Sets the state of an a virtual magnetometer object which mirrors a physical sensor providing data by means of
# this command.
#
# declare_api_version [version]
# Returns: 0 or 1 (terminated with newline)
# Declare the api version the client application was programmed for. It must be compatible with the current