Setup | Startup Instructions | Resources
Hello, this repo functions to hold the f1tenth workspace on ROS2 Foxy as well as any evaluations made on the algorithms used.
f1tenth
├── dep //DEPRECATED
│ └── ...
├── f1tenth_ws //ROS2 PACKAGES
│ └── ...
├── f1tenth_gym_ros //ROS2 simulator
│ └── ...
└── performance //EVALUATION
└── ...
- Clone the repository.
git clone --recurse-submodules https://github.com/bentjh01/f1tenth.git
- Build the containers
docker build -f f1tenth_bt.Dockerfile -t bentjh01:f1tenth-foxy .
- Start containers in detached mode, and exec into
f1tenth_gym_ros-sim-1.
./run_f1tenth_sim_mac.sh
- Start the simulator from the interative termial of
f1tenth_gym_ros-sim-1.
./start.sh
-
Open the
novncfrom the browser for display
localhost:8080/vnc.html -
Exec into
f1tenth_bt
./run_f1tenth_mac.sh
-
Code a simple algorithm to complete rounds around a track to obtain starting data
- Requirements
- algorithm outputs in Twist
- node to convert
- able to make consecutive laps minimum 5
- Requirements
-
Create library to analyse alogorithm performance
-
Metrics:
- fastest lap,
- consecutive laps.
- consistent path
-
Rules:
- starts from 5m away from a lap counter line.
- said line is perpendicular to the wall of the track
- said line is located at a stright.
-
Visualisation:
- starting and ending points of the recording,
-
-
Code more algorithms with the same requirements as before and collect data on them in a rosbag
- List of Algorithms
- Reactive Navigation
- Minimum Filter
- Search Algorithm e.g. A* or Dijkstra
- Global Planning
- SLAM
- gmapping
- etc
- Optimisation
- geometric
- time
- etc
- Controller
- PID
- MPC
- SLAM
- ROS2 Nav
- Reactive Navigation
- List of Algorithms
-
use best performing algorithm to collect data set on different maps
-
train neural network on dataset
-
train reinforment learner on environment maybe Isaac Sim
- Clone this repo
git clone https://github.com/bentjh01/BT_f1tenth.git
- Setup a python virtual environment
# Install python venv
pip install virtualenv
# Creates new virtual environment
python -m venv .venv
# Activate virtual environment
source .venv/bin/activate
# Install requirements
pip install -r venv_requirements.txt
https://github.com/bentjh01/f1tenth_gym_ros.git
ros2 pkg create --build-type ament_cmake <package name>
cd <package name>
mkdir <package name>
touch ./<package name>/__init__.py
mkdir scripts
docker build -t [maker:name] .