Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Idea for better shifting
#6
(09-09-2020, 08:45 PM)Ed_R Wrote: Your code looks great for gears but unfortunately no way to enter infinity for GearAmount.
All you would have to do to work with a CVT is to change the lines like
<code> pos = LoadSprocketWidth("GetGear",ActiveGear);
into
<code> pos = pos + x;
(x being a preset amount to be added or reduced to get a noticable "gear" change)
And of course a limit to not go below or above servo limits

(09-09-2020, 08:45 PM)Ed_R Wrote: As for timing the shift at the dead spots of the pedal stroke, I’m a little concerned its going to be difficult to get the shift to happen at a precise time.
I've been observing shift times while riding. I came to an aprox of 90 degrees to early to shift at the dead spot.
So I've added a calculation to delay the shifting.
I'll be riding with my new code next week, I'll post here how it turnes out.


Messages In This Thread
Idea for better shifting - by Ed_R - 09-08-2020, 03:54 PM
RE: Idea for better shifting - by visitor007 - 09-08-2020, 04:07 PM
RE: Idea for better shifting - by Ed_R - 09-08-2020, 09:35 PM
RE: Idea for better shifting - by Jan Oelbrandt - 09-09-2020, 07:08 AM
RE: Idea for better shifting - by Ed_R - 09-09-2020, 08:45 PM
RE: Idea for better shifting - by Jan Oelbrandt - 10-03-2020, 03:11 PM
RE: Idea for better shifting - by Ed_R - 10-05-2020, 01:17 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)