Git Product home page Git Product logo

Comments (3)

DanHert avatar DanHert commented on May 24, 2024

Hello, our controllers are exactly the same in simulation and in reality. Can you please expand you question a bit more? What do you mean by encoder?

When you fly with real drones, you need to change some of the .bashrc variables to correspond to your hw setup (and change the RUN_TYPE to uav). We also use tmux scripts instead of tmuxinator - https://github.com/ctu-mrs/uav_core/tree/master/tmux_scripts

Dan H.

from mrs_uav_system.

RaphaelNetels avatar RaphaelNetels commented on May 24, 2024

Hello,

I will explain a bit more the project. I am developing a controller for two drones transporting a payload (beam) as can be seen in the image below.

For the simulations, I subscribed in the controller to the topics in ROS that give the exact locations of the attachment points of the payload. For the experiments, I will use two rotary encoders placed underneath the UAVs that will give the angles and out of this, the position of the attachment points will be calculated.

This means that I have the same inputs for my controller in the case of simulation and experiment (the attachment points of the load). So having two different controllers is therefore probably not the best solution and I was wondering how you switched. for example between real data from RTK and 'simulated' data from RTK.

I hope the question is a bit more clear.

Raphaรซl

Setup2

from mrs_uav_system.

DanHert avatar DanHert commented on May 24, 2024

I still probably do not understand you completely :D
To be clear and not to mix up the names, controller is just the part of SW which produces control actions based on a given
reference and the current state of the UAV.

The current state of the UAV is called odometry in our system (topics /$UAV_NAME/odometry/odom_main or /$UAV_NAME/odometry/uav_state) and it is independent of the controller. Our system is able to run multiple odometry estimators at the same time (e.g. RTK, normal GPS and vision) and switch between them during flight as needed or as requested. You just need to configure them correctly in the odometry config (https://github.com/ctu-mrs/mrs_uav_odometry/blob/master/config/state_estimators.yaml and other config files).

Is this what you need? To change the source of localization during flight? Or do you need to change the actual controller during flight? (that can also be done with the system).

Dan H.

from mrs_uav_system.

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.