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

INAV 3.0 TURTLE Model Wrong motor steering #7194

Closed
JohnRambo7039 opened this issue Jun 26, 2021 · 17 comments
Closed

INAV 3.0 TURTLE Model Wrong motor steering #7194

JohnRambo7039 opened this issue Jun 26, 2021 · 17 comments
Labels
Feedback required The issue/PR is missing information to proceed further
Milestone

Comments

@JohnRambo7039
Copy link

JohnRambo7039 commented Jun 26, 2021

image

WeChat_20210626203127.mp4

FC: Omnibus F4V3S

@avsaase
Copy link
Member

avsaase commented Jun 26, 2021

Please provide more info.

@avsaase avsaase added the Feedback required The issue/PR is missing information to proceed further label Jun 26, 2021
@JulioCesarMatias
Copy link
Collaborator

Please provide more info.

.

@JulioCesarMatias
Copy link
Collaborator

this is weird

@JulioCesarMatias
Copy link
Collaborator

does your multirotor fly normally? Why are the engines really inverted

@JohnRambo7039
Copy link
Author

does your multirotor fly normally? Why are the engines really inverted

It can fly normally, only but with TURTLE mode on, the motor steering is reverse

@JohnRambo7039
Copy link
Author

this is my dump:

# dump.log

@JohnRambo7039
Copy link
Author

What else do I need to offer?

@JulioCesarMatias
Copy link
Collaborator

JulioCesarMatias commented Jun 28, 2021

What else do I need to offer?

What version of inav are you using? have you tried with another version to see if the problem still exists?

@JulioCesarMatias
Copy link
Collaborator

What else do I need to offer?

for now nothing, you just need to wait for someone to help you, or have the same problem as you so that the developers find and fix the problem.

@througer
Copy link

througer commented Jul 8, 2021

Same problem here. The multirotor works normally, but in turtle mode the motors do not get reversed.
I have checked if the ESC have the right fw, also ESC beeping is working.

INAV 3.0.1
FC: OmnibusF4V3
4in1 30A ESC blheli_s 16.7

@avsaase
Copy link
Member

avsaase commented Aug 31, 2021

I noticed this problem myself yesterday. The correct motors spin up but do so in the wrong direction.

@Oleg-Si
Copy link

Oleg-Si commented Sep 3, 2021

Same problem here. The multirotor works normally, but in turtle mode the motors do not get reversed.

INAV 3.0.1
FC: Matek F405-SE
ESC: Spedix ES30 HV 30A 3-6S BLHeli_S
DSHOT 600

@Odin263
Copy link
Contributor

Odin263 commented Sep 18, 2021

Same problem here.

INAV 3.0.2 / INAV 3.1.0
FC: IFLIGHT SUCCEX F7 mini
ESC: G_H_30_REV16_73
DSHOT 600

Maybe this can help someone:
image

@JulioCesarMatias
Copy link
Collaborator

Same problem here.

INAV 3.0.2 / INAV 3.1.0
FC: IFLIGHT SUCCEX F7 mini
ESC: G_H_30_REV16_73
DSHOT 600

Maybe this can help someone:
image

I believe this will not solve anything

@Odin263
Copy link
Contributor

Odin263 commented Sep 19, 2021 via email

@englebert
Copy link
Contributor

englebert commented Sep 23, 2021

Guys, I fixed mine!!
Below is the patch...

diff --git a/src/main/drivers/pwm_output.c b/src/main/drivers/pwm_output.c
index 37f0bda43..f69895900 100644
--- a/src/main/drivers/pwm_output.c
+++ b/src/main/drivers/pwm_output.c
@@ -357,7 +357,7 @@ static int getDShotCommandRepeats(dshotCommands_e cmd) {
     switch (cmd) {
         case DSHOT_CMD_SPIN_DIRECTION_NORMAL:
         case DSHOT_CMD_SPIN_DIRECTION_REVERSED:
-            repeats = 6;
+            repeats = 10;
             break;
         default:
             break;
video_2021-09-24_02-22-05.mp4

englebert pushed a commit to englebert/inav that referenced this issue Sep 24, 2021
…eats = 10 rather 6 to get the right spin direction.
DzikuVx added a commit that referenced this issue Oct 14, 2021
Fixed issue #7194, The DSHOT direction command not working in STM32F405
@DzikuVx DzikuVx added this to the 4.0 milestone Oct 28, 2021
@DzikuVx
Copy link
Member

DzikuVx commented Oct 28, 2021

Fixed in #7477

@DzikuVx DzikuVx closed this as completed Oct 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feedback required The issue/PR is missing information to proceed further
Projects
None yet
Development

No branches or pull requests

8 participants