Post Reply 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem with turns
02-08-2019, 04:53 AM
Post: #1
Problem with turns
I made EVO2 on ATmega128.

Remade pins for ATmega128.
Renamed timers (TIMSK3 -> ETIMSK and TIMSK1 -> TIMSK).
Adjusted MODE PARAMETERS a little.

Everything works.
Costs, balances, goes under control of OSC forward and back.

But there is a problem with turns.
At advance or back correctly turns.
And at a zero speed (turn on the place) "shivers".
And even falls if to increase turn (steering).


Problem definitely not in OSC. As I checked so:
// The steering part from the user is injected directly to the output
//control_output = 3;
steering = 5;
motor1 = control_output + steering;
motor2 = control_output - steering;
Find all posts by this user
Quote this message in a reply
Post Reply 

Forum Jump:

User(s) browsing this thread: 1 Guest(s)