Skip to content

Conversation

@YifeiNie
Copy link

@YifeiNie YifeiNie commented Sep 13, 2025

Adapted to GenesisPlayground, path is src/env/gs_env/sim/controllers.
Problems shown in Genesis main repo is caused by my version management issues, and this PR has no need to fix.
For details, see #1602

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this uploaded by mistake?

Copy link
Author

@YifeiNie YifeiNie Sep 15, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, the controller contains 3 types: angle controller, angle rate controller and position controller.
The first two controller support inputs as follows: a remote controller (RC), custom command (action), or both.
betaflight_4.4.0_STM32H743_forRC.hex is a modified executable program (firmware) for specific embeded device (also named flight controller) which is usually used in a real drone:
The firmware is modified from BetaFlight, a project widely used for FPV.

Users can simply flash the modified firmware onto their flight controller, connect the RC, plug the UART port into a computer, and then launch the drone controller in Genesis. After that, they can control the drone using the RC. For more detailed operations, see src/env/gs_env/sim/controllers/drone_controller/README.md in this PR and examples/drone/controller/README.md

It should be noted that "use RC to control a drone" is an interactive demo, remove it will not affect the main function of this PR, but there will be a lack of an interactive and fast verification method.

@yun-long yun-long changed the base branch from main to drone September 16, 2025 05:14
@yun-long
Copy link
Owner

Thank you for your contribution. It will merge it to the drone branch since the code still needs some significant refactorizations to meet the requirements of the main branch.

@yun-long yun-long merged commit 4f62f92 into yun-long:drone Sep 16, 2025
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

Successfully merging this pull request may close these issues.

3 participants