This is a ROS2 package that contains the evaluation scripts needed for the F1Tenth Hackathon
- For evaluating your algorithms, please ensure:
- Add your algorithm file in the
F1Tenth_Hackathon_Evaluation/evaluationdirectory - Add your node executable to the console_scripts list in
F1Tenth_Hackathon_Evaluation/setup.py - In
F1Tenth_Hackathon_Evaluation/launch/test_eval_launch.py, replacewall_followerwith the executable name you just defined in setup.py - Under your workspace
src/directory,colcon buildand sourceinstall/local_setup.bash
- Add your algorithm file in the
- The evaluation script will only run for 10 minutes and will print the final results and kill the node.
- Make sure the f1tenth simulator is running before launching the nodes
- To visualise the lap_marker, in RViz click "Add" > click on the "By topic" tab > click on the topic "
/lap_marker" > click "Ok"
NOTE: Run the following commands in the docker container which contains the F1Tenth Simulator. Navigate to your workspace
src/directory for example:
cd ros2_ws/src/Clone the repository
git clone https://github.com/NTU-Autonomous-Racing-Team/F1Tenth_Hackathon_Evaluation.gitNavigate to the root of your workspace and build the workspace
cd ros2_ws/
colcon buildSource the installation
source install/local_setup.bashRun the launch file
ros2 launch evaluation test_eval_launch.py