Skip to content
Snippets Groups Projects
Commit bbc95701 authored by schneider's avatar schneider
Browse files

sim: add imu fake

parent 0bc7f95f
Branches
No related tags found
No related merge requests found
from typing import Tuple
def acc_read() -> Tuple[float, float, float]:
"""
Returns current x, y, z accelerations in m/s**2.
"""
return (1.0, 2.0, 3.0)
def gyro_read() -> Tuple[float, float, float]:
"""
Returns current x, y, z rotation rate in degrees/s.
"""
return (4.0, 5.0, 6.0)
def pressure_read() -> Tuple[float, float]:
"""
Returns current pressure in Pa and temperature in degree C.
"""
return (7.0, 8.0)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment