Skip to content

Conversation

@Odin263
Copy link
Contributor

@Odin263 Odin263 commented Jan 6, 2022

After using the turtle mode, depending on the configuration of the hardware, not all commands are apparently completely transferred to the ESCs. This means that some motors still have the wrong direction of rotation, even though the turtle mode has been deactivated. This queue addresses these issues.
The mentioned error has thus been eliminated
and i couldn't see any disadvantages, but i'm not a developer and grateful for any other better solution.

After using the turtle mode, depending on the configuration of the hardware, not all commands are apparently completely transferred to the ESCs. This means that some motors still have the wrong direction of rotation, even though the turtle mode has been deactivated. This queue addresses these issues.
The mentioned error has thus been eliminated
and i couldn't see any disadvantages, but i'm not a developer and grateful for any other better solution.
@Odin263 Odin263 mentioned this pull request Jan 7, 2022
Copy link
Member

@DzikuVx DzikuVx left a comment

Choose a reason for hiding this comment

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

This is a no-go. We can not block execution for 10ms times 10 when sending commands. executeDShotCommands should have a fallback scheduler to actually execute next command only when those 10ms passed. Blocking will not work

@Odin263 Odin263 marked this pull request as draft January 8, 2022 17:49
@Odin263 Odin263 closed this Jan 8, 2022
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.

2 participants