Open Panzer

Open Panzer Help & Info => Open Panzer Help => Topic started by: sergevk on November 18, 2018, 01:54:22 PM

Title: Car type with external ESC issue
Post by: sergevk on November 18, 2018, 01:54:22 PM
Hello, I try to run OpenPanzer in Car mode, and observe strange behavior. When I use built-in driver - all works perfectly:
- Motor connected to built-in 'A' socket
- Steering servo to RC output 2
but when I changed engine connection to external ESC (plug ESC to EC Output 1) - moving was available only for diagonals - (top-right, bottom-right forward; top-left,bottom-left backward), also steering servo moving on top and bottom positions of stick.

I've tried 2 TCB and 3 ESC - the same behavior on all of this.
Title: Re: Car type with external ESC issue
Post by: jhamm on November 19, 2018, 01:35:54 AM
Hi,
did you set DRIVE MOTORS to RC-Output ?
Title: Re: Car type with external ESC issue
Post by: sergevk on November 19, 2018, 01:50:36 AM
Hi,
did you set DRIVE MOTORS to RC-Output ?

Yes - exactly this settings change driving behavior.
Title: Re: Car type with external ESC issue
Post by: jhamm on November 19, 2018, 02:21:17 AM
Did you check the Channels on Radio Setup?
Title: Re: Car type with external ESC issue
Post by: LukeZ on November 19, 2018, 11:59:42 AM
Hi Sergey, just wanted to let you know I've seen your question. I will try to replicate on my end, and if I encounter the same behavior, will track the bug. The fact it works with the onboard controller leads me to suspect it is not a bug, but who knows.

I am very busy this week so I don't know if I will get to it right away. I'll let you know when I do.
Title: Re: Car type with external ESC issue
Post by: LukeZ on November 19, 2018, 11:31:41 PM
Ok! There actually was a bug, the dreaded "=" vs "==" in an obscure statement. I stared for many hours before I found it. The bug only affected cars and halftracks when the drive type was set to ESC.

Sergey I have posted a TCB firmware update (v0.93.44) that should correct this issue. Please re-flash your TCB and let me know if it works.

By the way, for cars and halftracks the steering servo should always work even when the engine is off.
Title: Re: Car type with external ESC issue
Post by: sergevk on November 20, 2018, 04:02:33 PM
I've tested - car type with external ESC works as expected. Thank you Luke!
Title: Re: Car type with external ESC issue
Post by: LukeZ on November 20, 2018, 04:14:06 PM
Great! :)