Skip to content

Commit

Permalink
unit test of sensor auto calibration sim passed
Browse files Browse the repository at this point in the history
  • Loading branch information
ShisatoYano committed Dec 8, 2023
1 parent bc8fc45 commit 7e9df78
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ src/simulations/path_tracking/pure_pursuit_path_tracking/__pycache__
src/simulations/perception/point_cloud_search/__pycache__
src/simulations/perception/point_cloud_rectangle_fitting/__pycache__
src/simulations/perception/lidar_obstacle_sensing/__pycache__
src/simulations/perception/sensor_auto_calibration/__pycache__
test/__pycache__
Test/__pycache__
.pytest_cache
Expand Down
18 changes: 18 additions & 0 deletions test/test_sensor_auto_calibration.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
"""
Test of Automated Sensor Calibration by UKF
Author: Shisato Yano
"""

from pathlib import Path
import sys
import pytest

sys.path.append(str(Path(__file__).absolute().parent) + "/../src/simulations/perception/sensor_auto_calibration")
import sensor_auto_calibration


def test_simulation():
sensor_auto_calibration.show_plot = False

sensor_auto_calibration.main()

0 comments on commit 7e9df78

Please sign in to comment.