Skip to content

sim: fake IMU data in simulator #2

sim: fake IMU data in simulator

sim: fake IMU data in simulator #2

Workflow file for this run

name: IMU Test
on:
pull_request:
paths:
- 'tools/sim/**'
jobs:
test_imu:
name: Test IMU Data
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install dependencies
run: |
pip install numpy pytest
- name: Test IMU functionality
run: |
python3 -c "
import sys; sys.path.insert(0, '.')
from cereal import messaging
sm = messaging.SubMaster(['accelerometer', 'gyroscope'])
print('IMU services available')
"