Skip to content

Commit

Permalink
implemented unit test of rear wheel feedback simulation
Browse files Browse the repository at this point in the history
  • Loading branch information
ShisatoYano committed Dec 19, 2024
1 parent 8a1d5e6 commit fe848be
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 @@ -26,6 +26,7 @@ src/components/visualization/__pycache__
src/simulations/localization/extended_kalman_filter_localization/__pycache__
src/simulations/mapping/ndt_map_construction/__pycache__
src/simulations/path_tracking/pure_pursuit_path_tracking/__pycache__
src/simulations/path_tracking/rear_wheel_feedback_tracking/__pycache__
src/simulations/perception/point_cloud_search/__pycache__
src/simulations/perception/point_cloud_rectangle_fitting/__pycache__
src/simulations/perception/lidar_obstacle_sensing/__pycache__
Expand Down
18 changes: 18 additions & 0 deletions test/test_rear_wheel_feedback_path_tracking.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
"""
Test of Path tracking simulation by Rear wheel feedback algorithm
Author: Shisato Yano
"""

from pathlib import Path
import sys
import pytest

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


def test_simulation():
rear_wheel_feedback_tracking.show_plot = False

rear_wheel_feedback_tracking.main()

0 comments on commit fe848be

Please sign in to comment.