Space Engineers

Space Engineers

DAS - Driver Assisting System
댓글 1,169
SAS1819 2024년 6월 23일 오후 1시 12분 
All remotes facing into the right direction...guess its not about the setup (I used that script like 30 times w/o problems...) has to be something about the wheels being on subgrids
SAS1819 2024년 6월 23일 오후 12시 56분 
Guess screenshots wont help, its a closed system. I've put remotes onto the wheel subgrids aswell for handbraking. Do they have to face the right direction aswell?
Wanderer_308  [작성자] 2024년 6월 22일 오후 4시 46분 
RC block orientation is correct? Maybe some screenshots would shine the light on the problem.
SAS1819 2024년 6월 22일 오전 11시 43분 
I know that...
Wanderer_308  [작성자] 2024년 6월 21일 오후 7시 55분 
" I've edited the Subgrid Wheels Name"
You need to make a group with these subgrid wheel and name the group, not the wheels itself. Maybe that is the issue.
SAS1819 2024년 6월 21일 오후 2시 15분 
Hi, I've got a huge problem with that script. I've used it many times and it always worked. For a new vehicle, which does have it's wheels on subgrids, this script does not work. It does not control the friction correctly. The vehicle starts to drift very easily and it doesn't break softly. (Yeah, I've edited the Subgrid Wheels Name). What can I do about it?
Wanderer_308  [작성자] 2024년 6월 2일 오후 12시 47분 
It's fine. No matter how much hinges, rotors and pistons separates grids, they still considered as a single construct. Only connector block separate constructs.
Paladin Fox 2024년 5월 30일 오전 12시 32분 
Having a tough time telling if the script is working on my mobile base rover, so I'm back to ask if anyone knows for sure if the DAS script Subgrid wheels need to be connected via a single connection. I have a 2 part hinge between the 2 segments to allow for better bumpy terrain control, but I wonder if that throws off the Script given the Main Grid is separated from the other wheels by 2 hinges. I would be very appreciative if i could get clarification and if I'm not just being a bit of a Dunce, maybe a fix for the situation.
[I.L]Methidox 2024년 4월 29일 오전 10시 45분 
i must of over looked that. ty
Wanderer_308  [작성자] 2024년 4월 20일 오후 5시 37분 
@[I.L]Methidox Script setup
[I.L]Methidox 2024년 4월 20일 오전 3시 21분 
Instructions? all i get is systems frailer
Wanderer_308  [작성자] 2024년 4월 19일 오후 4시 13분 
@Goblin Godaky, Something like 1511.
Goblin Godaky 2024년 4월 19일 오전 3시 09분 
driving on bases feels sticky, what line number was the
baseFriction=100-35*Math.Abs(UserInput.AD);
on?
Wanderer_308  [작성자] 2024년 4월 18일 오후 1시 25분 
Unfortunately I'm very low on free time therefore I wouldn't dwell into any development. Maybe one day when things changes a little, but right now it's not even on horizon.
Vex 2024년 4월 18일 오전 9시 09분 
or even potentially a alternative option?
Vex 2024년 4월 18일 오전 9시 09분 
@Wanderer_308, would you open to making a secondary Script that is capable to handle this as an add on maybe?
kinngrimm 2024년 4월 15일 오후 8시 36분 
ok, thx for the info
Wanderer_308  [작성자] 2024년 4월 15일 오후 2시 35분 
@kinngrimm, no, if dampeners are off then they're off. Only thing that ill still work is fall dampener, which will only reduce fall velocity to a safe value, and will engage only in last moment.
kinngrimm 2024년 4월 15일 오전 9시 43분 
i am on a server where interial dampeners are disabled, could this script help with that?
Wanderer_308  [작성자] 2024년 4월 14일 오후 6시 13분 
@Dextrot, I think you can change this line:
baseFriction=100-35*Math.Abs(UserInput.AD);
to something like:
baseFriction=75-35*Math.Abs(UserInput.AD);
maybe play with the numbers here, idk which would work better. Maybe you even can do this:
baseFriction=(100-35*Math.Abs(UserInput.AD))*0.75;
Wanderer_308  [작성자] 2024년 4월 14일 오후 6시 10분 
@Vex, I thought about that but I think skid steering with not fit in PB symbol limit.
Dextrot 2024년 4월 11일 오후 2시 59분 
Is there a way to tell the script to never go over 75% friction? I keep having problems with almost flipping when it decides to set it to 100%
Vex 2024년 4월 8일 오전 9시 06분 
would there ever be a consideration to make one of the togglable settings to avoid steering and adapt a Skid Steering Option so we are able to use this Script in Conjunction with a Tank?
BAKADAKALAKA556 2024년 4월 5일 오전 2시 09분 
The most recent update added user control of propulsion while using a turret controller. When using this script the propulsion stops. When exiting the turret control it returns. Is there a workaround?
Wanderer_308  [작성자] 2024년 3월 27일 오후 4시 45분 
@Morphy The script treats wheels ahead of CoM as front, and behind of CoM as rear. And it does sets friction on front wheels lower compared to rear wheels when braking, it just seams it's not working good enough for your configuration, unfortunately.
There is no specific tag to turn it off, but you can just cut the block of code responsible for brakes overwrite and half-brakes altogether:
foreach(var suspension in WheelSuspensions)
{
if(suspension.Obj.IsAttached)
{
if(suspension.WheelPositionAgainstCoM.Z>0&&UserInput.WS!=0&&!RC.HandBrake)
suspension.Obj.Brake=false;
else
suspension.Obj.Brake=true;
}
}
if(BrakesSkipCycles>0) yield return true;
Morphy 2024년 3월 27일 오후 3시 52분 
I was curious why breaking is applied to all wheels when there's no way to remove it from the front wheels. Reason being I've nearly rolled forward over a few times slamming on the breaks from high speeds (to avoid a sudden drop).

I've never intentionally used Half Breaking which would, to me, do the same plow and roll. Is there a tag I can put in the front wheels so the script won't overwrite the break toggle that I'm trying to set to "off"? (Yes, I know this would effectively remove all breaking if I used Half Breaking)

In a perfect world when breaking, the script should ramp up the friction on the wheels opposite the direction of movement: ie, to safely arrest forward movement, make the rear wheels sticky while the fronts loosen during breaking.

On that note, how does the script even determine where the wheels are when deciding on "rear" versus "front"?
Wanderer_308  [작성자] 2024년 3월 8일 오후 4시 53분 
@[RTB] Sarianos You can exclude gyros with DAS_IGNORE keyword put into gyro's Custom Data.
[RTB] Sarianos 2024년 3월 8일 오전 1시 16분 
@Wanderer_308
Not sure if you're still supporting/developing this script but would it be possible to get an option to adjust the strength of the gyro steering assistance? as it stands it completely overrides the gyro power settings and seems to have no adjustment in the script, it appears to be applying gyro power dynamically however there are quite a few times where it just been far too much for a vehicle and I've had to remove almost all gyro's or just turn off the feature altogether, a tag to exempt gyro's would also be very handy.
Wanderer_308  [작성자] 2024년 3월 7일 오후 6시 53분 
@maxwindude the most basic and casual way is just past it to the programmable block (PB) via its edit window. The PB itself should be on the same grid as remote control (RC) block, an RC block should have proper orientation (up&front). More complex setup includes lights configuration, subgrid wheels control, block ignore tweaks etc are described at Script setup page.
maxwindude 2024년 3월 6일 오후 8시 01분 
How do I set up the script?
TiGeR 2024년 3월 5일 오전 8시 24분 
@Wanderer_308 Thank you very much for your time :) now everything works as it should.
Wanderer_308  [작성자] 2024년 3월 3일 오후 4시 43분 
@Joshuawood find and remove the line "ConnectorSubrtn.Update();"

@TiGeR you probably encountered an old bug where if main grid has no wheels the parking doesn't work. If you have wheels only on subgrid then try to add single wheel somewhere on the main grid.

@Umbral Draconix check ownership, recompile the script. It shouldn't be important where the RC block is placed. It just needs be actually connected to the grid.
Joshuawood 2024년 3월 3일 오후 3시 23분 
How do i know if standby is on? and how do i turn off that feature?

I can't put things into the custom data on the connectors because it breaks another script!
TiGeR 2024년 2월 27일 오후 2시 57분 
Hello
I have my first sub-grid suspension, controlled by RC, everything works as it should except the parking option. The script seems to ignore this setting, which is a bit of a nuisance when you need to park on a hill. Maybe I missed something in the description?
Regards
Umbral Draconix 2024년 2월 24일 오전 5시 24분 
Any idea why the script would be unable to see the remote control when it's attached to the top of the cab on the main grid?
Anthraax 2024년 2월 16일 오전 3시 44분 
Couldn't find any comments mentioning the Top Mounted Camera from the Automatons DLC, but I was curious so I figured I'd leave one after verifying that it does function as expected when mounted sideways and facing downward as a gravity alignment camera.

Thanks again to the author for this wonderful script! :selike:
Paladin Fox 2024년 1월 23일 오전 9시 04분 
Got it solved via workaround, disregard my question.
Paladin Fox 2024년 1월 23일 오전 1시 26분 
It may just be me being a bit dumb, but I can't seem to get my rear wheels connected with the script. The probable cause is the way they connect. I have a 2 part rover with a hinge connection. if i could get some help figuring this out I would be most appreciative. More details can be given if needed.
Wanderer_308  [작성자] 2024년 1월 21일 오후 5시 00분 
@Dozer Junkie, you need a timer block with a name like in the script settings. The RC block does not triggers anything as it only used as waypoints storage and orientation reference.
Dozer Junkie 2024년 1월 20일 오후 10시 31분 
@Wanderer_308 I cannot get the RC to trigger even when reaching a waypoint, any suggestions on how i can make this work ?

Context: Dump truck getting loaded then travel to the dump, dump then travel back and wait
Wanderer_308  [작성자] 2024년 1월 4일 오후 12시 49분 
@Souls You may try to just turn it off. It has non-linear function and it already unrestrictive as possible.
Souls 2024년 1월 4일 오전 12시 13분 
@Wanderer_308 Yo, the adaptive steering is good usually, but a bit too strong on a recent build, is there any way to scale down it's influence?

Maybe a minimum turning angle? Or minimum turning circle radius?
llukkassi 2023년 12월 20일 오전 12시 44분 
@Wanderer_308 brilliant!
Thank You very much, I could not figure it out :)
Just now i noticed there is "Script setup page" sorry im clearly blind. :steamfacepalm:
I was searching for something like this in description, googling it and even looking at the code itself while knowing nothing of SE scripting before asking...

I will add that Your Script is essential for Me each time i play, really great job!
Wanderer_308  [작성자] 2023년 12월 17일 오후 2시 14분 
@llukkassi TOGGLE_CRUISECONTROL argument for Run command.
llukkassi 2023년 12월 17일 오전 4시 23분 
@Wanderer_308 How to turn on Cruise control?
Titan Nya 2023년 12월 15일 오전 6시 55분 
Well decided to change how I did the setup in the 1rst place and made a change using modajuster watching how the old wheel mount point mod that haven't been updated in age did it and just made the same change (used the vanilla not suspension wheels' value for the mount point so that the 2x2 are included) and gonna try to not use the rotor wheel mod to see if it change anything... And... Just double checked the setup guide and I thouth one of the modded block I used was considered a remote control but it was in the past but not anymore so... main grid didn't have a remote controle block so I guess that's my problem... Anyway needed to redo the suspension setup for more clearance...
Titan Nya 2023년 12월 14일 오후 1시 29분 
So... I used this mod before and never got a problem, this time I try a new wheels combination (combining 2 suspension into a sub grid to put another suspension on it) it is stable and all no clang but the programmable block is saying no remote control block found, to try to figure out I basically put DAS_IGNORE on all suspension and all remote controler but to no avail... any idea what could be the problem?
Wanderer_308  [작성자] 2023년 12월 12일 오후 1시 02분 
Maybe you're using some moded LCD panels or moded PB block and it's not compatible with the script?
apicciandra 2023년 12월 11일 오전 7시 15분 
anyone ran into this?
apicciandra 2023년 12월 11일 오전 7시 15분 
–––( BuildInfo )––•
(Text from 34m 8s ago)

Caught exception during execution of script:Object reference not set to an instance of an object.
at Program.DriverAssistingSystem.DisplayScheduler.DetectBlocks()
at Program.DriverAssistingSystem.<Boot>d__177.MoveNext()
at Program.DriverAssistingSystem.Update(UpdateType updateSource)
at Program.Main(String args, UpdateType updateSource)
at Sandbox.Game.Entities.Blocks.MyProgrammableBlock.<>c__DisplayClass42_0.<ExecuteCode>b__0(IMyGridProgram program)
at Sandbox.Game.Entities.Blocks.MyProgrammableBlock.RunSandboxedProgramActionCore(Action`1 action, String& response)
–––––•