GithubHelp home page GithubHelp logo

Comments (3)

dominiknatter avatar dominiknatter commented on July 18, 2024 1

Thanks for the clarifications @JacopoPan!

from gym-pybullet-drones.

JacopoPan avatar JacopoPan commented on July 18, 2024

Yes @dominiknatter, you are correct.

The point here is the simulation, reinforcement learning, and control of dynamical systems. I chose the CF because it's a platform I like, use, and with a lot of system identification work available.

There are similarities between the handwritten PID controllers and the CF's firmware control modules but, ultimately, one should re-define action and observations spaces depending on the type of controller they want to implement and port the trained agent to the C firmware. (Of course it's something that has been at the back of my mind from the incipit but this public repo does not include any work in that direction.)

from gym-pybullet-drones.

soldierofhell avatar soldierofhell commented on July 18, 2024

ultimately, one should re-define action and observations spaces depending on the type of controller they want to implement and port the trained agent to the C firmware. (Of course it's something that has been at the back of my mind from the incipit but this public repo does not include any work in that direction.)

Hi @JacopoPan ,
I've got few questions regading "deploying" the learned policies into flight controller if you mind:

  • This Crazyflie MCU (Cortex-M4) is not the most performant one on the market, don't you think?
  • AFAIK Crazyflie firmware is in C, this could be a problem if the code is in C++?
  • Are currently used RL frameworks (stable_baselines3, rllib) capable of deploying stripped down code suitable for MCU deployment? I thought the smoothed path is through TFLite and through tf_agents, although there're still some unsupported TFLite ops right now. I don't know about PyTorch, maybe through onnx and TVM?

Regards,

from gym-pybullet-drones.

Related Issues (20)

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.