Giter Site home page Giter Site logo

ftncbf's Introduction

Fault Tolerant Neural Control Barrier Functions

Fault Tolerant Neural Control Barrier Functions for Robotic Systems under Sensor Faults and Attacks (ICRA 2024)
Full Paper »

Python PyTorch

Table of Contents
  1. Experiments
  2. Getting Started
  3. Citation
  4. License
  5. Contact
  6. Acknowledgments

gif

Experiments

Obstacle Avoidance: We evaluate our proposed method on a controlled system [1]. We consider an Unmanned Aerial Vehicle (UAV) to avoid collision with a tree trunk. We model the system as a Dubins-style [2] aircraft model. The system state consists of a 2D position and aircraft yaw rate $x:=[x_1, x_2, \psi]^T$. We let $u$ denote the control input to manipulate the yaw rate and the dynamics defined in the supplement. We train the NCBF via the method proposed in [3] with $v$ assumed to be $1$ and the control law $u$ designed as $u=\mu_{nom}(x)=-\sin \psi+3 \cdot \frac{x_1 \cdot \sin \psi+x_2 \cdot \cos \psi}{0.5+x_1^2+x_2^2}$.

Spacecraft Rendezvous: We evaluate our approach to a spacecraft rendezvous problem from [5]. A station-keeping controller is required to keep the "chaser" satellite within a certain relative distance from the "target" satellite. The state of the chaser is expressed relative to the target using linearized Clohessy–Wiltshire–Hill equations, with state $x=[p_x, p_y, p_z, v_x, v_y, v_z]^T$, control input $u=[u_x, u_y, u_z]^T$ and dynamics defined in the supplement. We train the NCBF as in [6].

(back to top)

Getting Started

This is an example of how you may give instructions on setting up your project locally. To get a local copy up and running follow these simple example steps.

Installation

Clone the repo and navigate to the folder

git clone https://github.com/HongchaoZhang-HZ/FTNCBF.git

cd FTNCBF

Install packages via pip

pip install -r requirements.txt

Run the code

Choose the system and corresponding NCBFs, e.g., train NCBF for vehicle obstacle avoidance, to train by running the code

python main_Obs.py

Run Obstacle Avoidance in Carla

Copy code and the trained NCBF to Carla folder PythonAPI/examples, and run

python main.py

(back to top)

Citation

If our work is useful for your research, please consider citing:

@INPROCEEDINGS{zhang2024fault,
  author={Zhang, Hongchao and Niu, Luyao and Clark, Andrew and Poovendran, Radha},
  booktitle={2024 IEEE International Conference on Robotics and Automation (ICRA)}, 
  title={Fault Tolerant Neural Control Barrier Functions for Robotic Systems under Sensor Faults and Attacks}, 
  year={2024},
  volume={},
  number={}}

(back to top)

License

Distributed under the MIT License. See LICENSE.txt for more information.

(back to top)

Contact

If you have any questions, please feel free to reach out to us.

Hongchao Zhang - Homepage - [email protected]

(back to top)

Acknowledgments

This research was supported by the AFOSR (grants FA9550-22-1-0054 and FA9550-23-1-0208), and NSF (grants CNS-1941670).

(back to top)

ftncbf's People

Contributors

hongchaozhang-hz 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.