Space Engineers

Space Engineers

O.I.S. Lidar Mapping
144 Comments
Nekron910 2 Jul, 2023 @ 8:42am 
I tried to use this thing.https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=916386919 There a link to this script, so, i think it had to work, but script dont use any subgrid cameras. Then i came here =))
Elfi Wolfe  [author] 2 Jul, 2023 @ 6:39am 
I had to look at the code to get this answer.
It only uses the same grid as the PB block.
Designed that way so that people could have sub grids with a PB on that sub grid to aim the mapping system at an area or object.
Nekron910 2 Jul, 2023 @ 12:58am 
Can this script work with a subgrid cameras?
Elfi Wolfe  [author] 15 Nov, 2022 @ 3:54pm 
Yes. if a lidar beam hits a grid it will add it to the list of detected objects.
mhwyoshi 15 Nov, 2022 @ 1:58pm 
Can this script give the coordinates of enemy bases? If given enough time and set to orbit a planet?
Elfi Wolfe  [author] 27 Mar, 2022 @ 4:46pm 
It can be set by user with newrange command.
just a longer range takes a long longer to map.
PossibleHacker 27 Mar, 2022 @ 3:54pm 
What is the range on this?
Elfi Wolfe  [author] 26 Mar, 2021 @ 7:16am 
Not from the raycast. That is physics engine.
VIPERMKV 26 Mar, 2021 @ 6:01am 
Hello! There is a method to exclude voxel? Like Asteroids , or small grid?
123 21 Jul, 2020 @ 2:37pm 
Okay that was it, needed to recompile, also noticed my scan time is now 0 minutes but takes longer then 9 minutes?
Elfi Wolfe  [author] 20 Jul, 2020 @ 3:30pm 
Depends on the range. and it picks up the cameras when scripts loads into world or on command rebuild.
123 20 Jul, 2020 @ 2:50pm 
I added more cameras but scan time at level one is still 38 min? anyway to reduce scan time with more cameras? If so how would i do so.
Elfi Wolfe  [author] 3 Apr, 2019 @ 4:20pm 
I have it working from orbit vs the surface of a planet. If you use it outside a gravity well into the gravity well, the raycast itself has problems.
KuroShiro 3 Apr, 2019 @ 9:57am 
will this work on a planet?
『KuuHaKu』 12 Dec, 2018 @ 5:18pm 
Ik, did some research and found out that it's possible to display (not a 3D map tho) it with Innoble's Lidar Visualization
Elfi Wolfe  [author] 12 Dec, 2018 @ 9:53am 
If there is cameras on all 6 sides, then yes it can map a sphere. But it just gives a list, not a graphic display.
『KuuHaKu』 12 Dec, 2018 @ 3:22am 
Can this be used to map a sphere? I was thinking on using this to map a sector around my station and show it on a LCD as a map
Elfi Wolfe  [author] 22 Nov, 2018 @ 1:34pm 
cameras only charge at 2km/sec so more cameras can help
Aern 22 Nov, 2018 @ 1:02pm 
Hey, so more cameras = better scan time? or whats the point of having more cameras?
B1487E 19 Sep, 2018 @ 4:57pm 
ok
Elfi Wolfe  [author] 18 Sep, 2018 @ 11:31pm 
it should ignore the ship it is on. But airtight doors will show up as your ship.
B1487E 17 Sep, 2018 @ 5:12pm 
Is there a way to set it so that it ignores your own ship?
thefinn88 28 Jul, 2018 @ 5:30pm 
Actually, I guess it's very different here ;)

After all, an encrypted password doesn't MOVE :)
thefinn88 28 Jul, 2018 @ 5:28pm 
Not sure if this will apply here. However, decryption algorithms have a semi-predictive model for mapping encrypted codes.

Might help if you wanted to make the algorithm less random.

http://nsa.unaligned.org/gen.php
Elfi Wolfe  [author] 13 May, 2018 @ 6:34pm 
To Do: Check for distance limit mod.
/// <summary>
/// Returns the maximum positive angle you can apply for pitch and yaw.
/// </summary>
float RaycastConeLimit { get; }

/// <summary>
/// Returns the maximum distance you can request a raycast. -1 means infinite.
/// </summary>
double RaycastDistanceLimit { get; }
newscientist 14 Apr, 2018 @ 11:27am 
Thank you!
Elfi Wolfe  [author] 14 Apr, 2018 @ 11:07am 
Added Laser Antenna to commo system. As long as Laser Antenna is not in idle mode it will queue message on it that are duplicates to the radio system.
Elfi Wolfe  [author] 13 Apr, 2018 @ 10:00am 
I will check it thus weekend and load up the test world.
newscientist 13 Apr, 2018 @ 9:32am 
I tried and it didn't work until I switched over to radio antennas. I checked the code and there is no mention of IMyLaserAntenna.
Elfi Wolfe  [author] 13 Apr, 2018 @ 9:16am 
The commo subsection should send messages over laser antenna. The raycast are only possible from cameras.
newscientist 12 Apr, 2018 @ 11:28pm 
Any chance of this working with a laser antenna?
Enigmus 20 Jan, 2018 @ 3:00pm 
Excellent, Thank you.
Elfi Wolfe  [author] 20 Jan, 2018 @ 7:36am 
Added arguments
laseon
laseoff
Elfi Wolfe  [author] 20 Jan, 2018 @ 7:19am 
Ok. I'll look at the code this weekend and see what I can do. Should be doable to add it.
Enigmus 20 Jan, 2018 @ 7:16am 
A lase On/Off command would be useful (rather then a toggle). It would be easier to automate using the script in conjuction with other operations I will be doing.
☭Android☭ 17 Nov, 2017 @ 11:29pm 
i know,but missile has low accurate when it flies to the coordinates
Elfi Wolfe  [author] 17 Nov, 2017 @ 1:06pm 
My script just hands off a GPS point adjusted for distance and speed off target. Once the missile is fired it is using Innoble's script.
☭Android☭ 17 Nov, 2017 @ 12:54pm 
I mean mode:2 and other for missile and the capture and target tracking camera by this script,just mode for GPS cruise inaccurate
☭Android☭ 17 Nov, 2017 @ 1:52am 
Is it possible to launch a missile initially pointed at the target?
Elfi Wolfe  [author] 8 Nov, 2017 @ 10:55am 
The cameras charge is in the Keen code. If you want it to charge fast you need a mod.
richard.e.jenkins 8 Nov, 2017 @ 5:35am 
Ok, I think I understand now. So, if I'm doing a scan out to 25,000km I should start a timer block to 'charge' the cameras and set it in as short a loop as possible? Thanks for being so active helping people with your script!
Elfi Wolfe  [author] 7 Nov, 2017 @ 4:28pm 
ah. at 25000km it would take hours or days for a camera to charge up enough to do a single laser ping. Cameras charge at 2km/s and save games reset the charge to zero.
Elfi Wolfe  [author] 7 Nov, 2017 @ 4:26pm 
It should have saved and resumed the mapping over a save game. Laser charging turns on the charging system in the camera for ray cast. takes more power for the camera. Cameras charge at 2000m / second if that part is turned on. for a 25000km scan. it will be missing stuff. The rays are 1 dimension and at 25000km there is km between the rays. at 50km I think it catches anything larger than 200m x 200m.
richard.e.jenkins 7 Nov, 2017 @ 1:59pm 
One more question for now. I saved my game, exited to do some other work, and later reloaded it and got some strange behavior. The status screen said LIDAR was mapping, but the array percentages were not updating. Does exiting the session interrupt the mapping? I tried stopping/restarting the mapping and it reset the whole scan. A tough break if you're doing a 25000km scan on highest resolution.
richard.e.jenkins 7 Nov, 2017 @ 12:41pm 
Elfi, this is amazing! No more days of flying around trying to catalog a 'sector', revisiting places I've already been in a cluttered HUD!

May I ask what 'Laser Charging' does? For my application, I just want to scan and locate all of the asteroids and any NPC grids (if I can). I don't need to detect pirate ships. What timer functions can I eliminate?

Now if I could just automatically, one-by-one, dump each coordinate into a probe as I print them so the probe goes out to the coordinates and investigates. But really, you've got me so far its overwhelming. Thanks!
MrFox 25 Oct, 2017 @ 7:30am 
it doesnt seem to be working?
Elfi Wolfe  [author] 19 Sep, 2017 @ 10:19am 
It maps an area and gives you a list of GPS coordinates. That if you open, adds to your suit gps list.
Juggernaut 18 Sep, 2017 @ 7:55pm 
Because I'm kind of stupid I have no idea what this script does...help me understand?
Skallabjorn 17 Aug, 2017 @ 7:14pm 
Thanks