Skip to content

Commit fe848be

Browse files
committed
implemented unit test of rear wheel feedback simulation
1 parent 8a1d5e6 commit fe848be

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ src/components/visualization/__pycache__
2626
src/simulations/localization/extended_kalman_filter_localization/__pycache__
2727
src/simulations/mapping/ndt_map_construction/__pycache__
2828
src/simulations/path_tracking/pure_pursuit_path_tracking/__pycache__
29+
src/simulations/path_tracking/rear_wheel_feedback_tracking/__pycache__
2930
src/simulations/perception/point_cloud_search/__pycache__
3031
src/simulations/perception/point_cloud_rectangle_fitting/__pycache__
3132
src/simulations/perception/lidar_obstacle_sensing/__pycache__
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
"""
2+
Test of Path tracking simulation by Rear wheel feedback algorithm
3+
4+
Author: Shisato Yano
5+
"""
6+
7+
from pathlib import Path
8+
import sys
9+
import pytest
10+
11+
sys.path.append(str(Path(__file__).absolute().parent) + "/../src/simulations/path_tracking/rear_wheel_feedback_tracking")
12+
import rear_wheel_feedback_tracking
13+
14+
15+
def test_simulation():
16+
rear_wheel_feedback_tracking.show_plot = False
17+
18+
rear_wheel_feedback_tracking.main()

0 commit comments

Comments
 (0)