Coder Social home page Coder Social logo

muskqi / fsd_algorithm Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bitfsd/fsd_algorithm

1.0 0.0 0.0 9.28 MB

Formula Student Driverless Autonomous Algorithm

Home Page: http://www.bitfsd.com

License: GNU General Public License v3.0

CMake 1.54% C++ 43.04% Python 0.82% Shell 0.18% Makefile 0.13% C 51.07% Cuda 3.22%

fsd_algorithm's Introduction

fsd_algorithm

This repository is devoted to share the autonomous code of Beijing Institute of Technology Driverless Racing Team. Some simple version code of an autonomous FS race car and some helpful tools are included.

The use of Ubuntu 18.04 and ROS Melodic is assumed everywhere on this repository.

Repository organisation

The repository consists of ros and tools, ros is organised in several top level packages/directories. The top level should adhere to the following subdivision of functionality(a more detailed description can be found in the folders themselves):

perception/ - folder for perception packages

estimation/ - folder for estimation packages

planning/ - folder for planning packages

control/ - folder for control packagess

interface_fssim/ - folder for communicating with simulator

Usage

# First, clone the repository and move the algorithm package to your workspace
git clone https://github.com/bitfsd/fsd_algorithm.git
cp -r fsd_algorithm/ros "your_workspace_name_1"/src

# Install dependencies
cd ~/"your_workspace_name_1"/src/ros/control/controller/script
sudo apt-get install python-catkin-tools
sudo bash install_cppad.bash
sudo bash install_ipopt.bash

# Compile
cd ~/"your_workspace_name_1"
catkin build

# Second, clone the simulator and move the package to your second workspace
git clone https://github.com/bitfsd/fssim.git
cp -r fssim "your_workspace_name_2"/src

# Install dependencies
cd ~/"your_workspace_name_2"/src/fssim
source update_dependencies.sh
sudo bash Download_model.sh

# Compile
cd ~/"your_workspace_name_2"
catkin build

# Third, run simulation
cd "your_workspace_name_2"
source devel/setup.bash
roslaunch fssim auto_fssim.launch

# and run fssim_interface
cd "your_workspace_name_1"
source devel/setup.bash
roslaunch fssim_interface fssim_interface only_interface.launch

# Finally, run the fsd algorithm
cd "your_workspace_name_1"
source devel/setup.bash
roslaunch fsd_common_meta trackdrive.launch
# roslaunch fsd_common_meta skidpad.launch
# roslaunch fsd_Common_meta acceleration.launch

Open source roadmap

Our goal is to provide a simple implementation of the competition. For ease of use, most ros node use the ros standard message type to send/recieve.

We will continue to open source our autonomous code, when this part is stable and simple enough.

Dataset and training

Please visit this page for more details: bitfsd/FSACOCO

DarkNet ROS

Please visit this page for more details: bitfsd/darknet_ros

fsd_algorithm's People

Contributors

feng1909 avatar

Stargazers

muskQi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.