Scrap Mechanic

Scrap Mechanic

Not enough ratings
Autopilot truck - Digital
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
247.873 KB
22 Dec, 2016 @ 1:30pm
1 Oct, 2017 @ 6:17pm
15 Change Notes ( view )

Subscribe to download
Autopilot truck - Digital

In 1 collection by Sperzieb00n
Self driving vehicles
6 items
Description
Autonomously travels a digitally programmed route of 10 waypoints and max. 4021 blocks long, the default program will repeat until it (or the vehicle) is reset.

basic:
blue switch 1 - drive/stop
blue button 3 - reset program & default to spawn orientation
yellow slots 4 bit - heading register
AD - manual corrections (AI heading is dominant)

Programming headings:
Place small pipes in the top slots, 4 bits per event can be used to change heading (LSB=22.5 MSB=180), the default event program executes an action every +/-377 blocks, and the AI will automatically handle wrapping.

advanced:
red switch 2 - acces events & distance counter
yellow slots 8 bit - heading event program
blue slot 8 bit - program size/route length (set where the program restarts)
red button - subtract wheel rotation
green button - add wheel rotation

autopilot:
orange pipe - AI heading
blue pipe - world rotation
AI heading deadzone - 1.8 degrees

programming heading events:
Acces the yellow slots and place small pipes, 8 bits per event can be used to trigger it after X wheel rotations, one wheel rotation covers around 15.7 blocks, the default event spacing is 24 rotations.
Make sure event density isn't too high, the blue slot sets the program size, leave it empty to use the full program size (8 bit).

additional tip:
The truck is also equipped with AI that strafes away from walls, use walls (and an external sensor triggered reset event) to "re-calibrate" the AI if it needs to travel the same route with long term consistency.

keywords: autonomous, self driving
1 Comments
chinesebob 17 Nov, 2019 @ 8:32am 
Dont work well