Skip to content

setAngularScala() and setLinearScalar() cannot set to OTOS. #3

@uecken

Description

@uecken

setAngularScala() and setLinearScalar() cannot set to OTOS.
Could you help me?

myOtos.setAngularScalar(0.9)
time.sleep(1)
print("getAngularScaler:")
print(myOtos.getAngularScalar())

myOtos.setLinearScalar(0.9)
time.sleep(1)
print("getLinearScaler:")
print(myOtos.getLinearScalar())

MPY: soft reboot

Qwiic OTOS Example - メートル単位1mm精度表示

I2C devices found: ['0x17']
Initializing device...
Device initialized successfully!
getAngularScaler:
1.0
getLinearScaler:
1.0
Ensure the OTOS is flat and stationary during calibration!
Calibrating IMU...
Calibration successful!

Position:
X (cm): 0.0
Y (cm): 0.0
Heading (Degrees): 0.0


I am using raspberrypi pico w.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions