Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Config.yaml and control structure #56

Open
fudavd opened this issue Apr 21, 2022 · 2 comments
Open

Config.yaml and control structure #56

fudavd opened this issue Apr 21, 2022 · 2 comments

Comments

@fudavd
Copy link

fudavd commented Apr 21, 2022

Hi,
I've been trying to hoover the quadrotor using SRT control and applying thrust proportional to the gravitational force based on the parameters of flightpy/configs/vision/config.yaml.
I start the simulator through launch_evaluation.bash and change the commands in user_code.py
It seems like a different drone is simulated namely: envsim/parameters/quads/kingfisher.yaml
I checked by changing the weight and it does affect the dynamics.

Is this the intended behaviour? Maybe I did something wrong during the install and can always copy/paste the quadrotor into the other yaml? I was wondering what drone will be used during the challenge?

On a seperate note. It seems that the user_code.py only sends signals every 0.04s (25Hz). Is it possible to increase the command request speed and/or provide a chain of commands as an output of user_code.py to increase the control frequency. If so where would be a good place to adapt the code?

Thank you,
Fuda

@yun-long
Copy link
Contributor

Hi Fuda,

yes. there are two simulators, each has its own configuration.
The simulation in Flightmare is used for RL training because we need to parallelize the simulator.
Another simulator is the dodgedrone simulation, which is used for ROS and for the final evaluation.
You should not change the configuration file for the drone dynamics.

@fudavd
Copy link
Author

fudavd commented Apr 22, 2022

Thnx for the reply,
Im not sure if I understand correctly?
Why do we have the different drone dynamics?
Are we supposed to train on a different drone than the one that we are assessed on?

Thank you!
Fuda

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants