Hi,
tried to figure out some kind of ABS for cars when driving on planet but there seems to be missing some things like changing to max. speed when you do not need ABS, this is a bit frustrating, e.g. I need inputs for pitch while I am using pitch itself for controlling the surface velocity on dangerous surfaces like mountains.
on start
while true
if input pitch > 0
display "normal fast mover"
set Brake to 0
if input Pitch <=0 then
display #ABS#
if velocity Surface <= 9 then
set Brake to 0
if velocity Surface >= 10 then
set Brake to 1

what is missing here: I cant use pitch = 1 in the lower display ABS section because if I do this, then I will never enter this ABS subroutine again ;-/

But I want fast speed for e.g. low terrain to fire engine to the max and when all time low moving over hills, there should a steady big limitation in speed. I tried several other solutions but cant find a proper one.

Tags
Vizzy

3 Comments

  • Log in to leave a comment
  • Profile image
    15 brause

    hey U 2 :)
    I will check out your workarounds and try to optimize it to my needs. I say thanks for your both postings!!

    1.7 years ago
  • Profile image

    well ive wanted to get a proper abs system working, i had a working design in the older versions but isnt much of an improvement in braking performance with the new update as the tires have more grip but less torque now.
    i think what you are actually wanting is actually a speed based control input rather than a force or acceleration one. this can be done with some coding and PID tuning as the absolute wheel RPM is available

    1.7 years ago
  • Profile image
    387 CloakPin

    I do a combination of cruise control and abs.
    Drop throttle so you don’t have to apply so much break. It will be smoother.
    Use decimal points to avoid overlapping zeros.
    If pitch > 0.1

    1.7 years ago

No Upvotes

Log in in to upvote this post.