Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto-drive in car does not avoid basic obstacles #38081

Closed
jkraybill opened this issue Feb 17, 2020 · 3 comments
Closed

Auto-drive in car does not avoid basic obstacles #38081

jkraybill opened this issue Feb 17, 2020 · 3 comments
Labels
stale Closed for lack of activity, but still valid. Vehicles Vehicles, parts, mechanics & interactions

Comments

@jkraybill
Copy link
Contributor

Describe the bug

When doing auto-move in a car ("W" on overmap), my car was cruising at a speed of around 56mph, and smashed into a regular-sized wreck in the middle of an otherwise open section of road.

In trying to do basic repros in basic cars, I found that more often, the behaviour is to approach the wreck, come to a stop, and then say "Auto-drive cancelled." (Screenshot 1.)

I suspect the difference is in vehicle weight and acceleration/deceleration speed. My accident occurred in a very heavy hotted up SUV with military armor and a V8.

I couldn't reproduce the crash using a military APC, but could easily reproduce the "Auto-drive cancelled" issue. It was pretty easy to reproduce crashing into boulders when doing auto-move on off-road terrain.

I was able to reproduce the crash with an atomic sports car auto-driving down a straight road into a wreck (screenshot 2).

Steps To Reproduce

Find a section of road that has a wreck in it, and try to automove through it. Or go off-road and auto-drive somewhere that has a bunch of boulders.

Expected behavior

Auto-drive should never crash into stuff that the user could have at least stopped the vehicle in front of; ideally, auto-drive should navigate around obstacles including crashes and boulders if there are nearby obstacle-free areas.

Screenshots

image

image

Versions and configuration

  • OS: Windows
    • OS Version: 10.0 1903
  • Game Version: 0.D-12212-g532719ea83-dirty [64-bit]
  • Graphics Version: Tiles
  • Mods loaded: [
    Dark Days Ahead [dda],
    Disable NPC Needs [no_npc_food]
    ]

Additional context

#38027 is obviously related but I'm not including boat behaviour in the scope of this report.

"Dangerzone maps" (#36983) doesn't solve this issue, in fact it appears to make auto-driving through a road section marked as dangerzone impossible -- after I marked a wreck as dangerous, I couldn't get a path through/around that section.

@ghost
Copy link

ghost commented Feb 24, 2020

95% of the time, the vehicle stops when detecting an obstacle, in my experience, the longer/faster the vehicle is, the more risky it can be.

Ideally yes, we'd want the vehicle to navigate around obstacles, this is a hard problem. I am not up to it, I've left the autodrive system where it is, as I just cannot take it any further, as it starts getting very mathy, I would welcome anyone who wanted to approach that area though.

@Night-Pryanik Night-Pryanik added the Vehicles Vehicles, parts, mechanics & interactions label Feb 25, 2020
@stale
Copy link

stale bot commented Mar 26, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. Please do not 'bump' or comment on this issue unless you are actively working on it. Stale issues, and stale issues that are closed are still considered.

@stale stale bot added the stale Closed for lack of activity, but still valid. label Mar 26, 2020
@stale
Copy link

stale bot commented Apr 25, 2020

This issue has been automatically closed due to lack of activity. This does not mean that we do not value the issue. Feel free to request that it be re-opened if you are going to actively work on it

@stale stale bot closed this as completed Apr 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Closed for lack of activity, but still valid. Vehicles Vehicles, parts, mechanics & interactions
Projects
None yet
Development

No branches or pull requests

2 participants