Missle Guidance - Remote lased hellfire seeker jittering
Mods (complete and add to the following information):
- Arma 3:
2.20[e.g. 1.00 stable, rc, dev] - CBA:
3.18.4[e.g. 3.0.0 stable, commit hash] - ACE3:
3.20[e.g. 3.0.0 stable, commit hash]
Description: When a vehicle that is on a reverse slope is being remote lased and a Hellfire [ACE} is shot at it the seeker jumps around behind but inline with the laser designator causing the hellfire to miss long.
Steps to reproduce: Follow this flowchart!
- place vehicle on a reverse slope from a laser designator
- fire hellfire
Expected behavior: hellfire should hit designated spot
Where did the issue occur?
- Dedicated
Log Files: https://pastebin.com/BrWBL230
Additional context: Add any other context about the problem here.
Screenshots: Initial explination: https://www.youtube.com/watch?v=OpldiG9UdMU
with missile debug: https://www.youtube.com/watch?v=boS3bMPSqBY
Repo on a fresh mission and only ACE and CBA: https://youtu.be/u5Ul0MoPcRY
As an explanation: laser simulation in ACE is pretty advanced. What’s happening here is that the aspect angle of the laser means it’s spreading out, and its energy is hitting the background. A laser is simulated as a cone and thought does need to be put into this geometry
that being said, maybe what ace shows is extreme. i would need a SME to confirm this
Just offhand, is there a chance that the laser component is simulating overspill, and some of the laser is simulated as hitting some of the slope behind it as a result?
As mentioned above, it seems to be caused by laser dispersion.
I also just learned how the laser works, and it’s pretty fascinating.😮
As one of the initial testers of this bug—this explanation as the culprit feels incorrect. Because even when we aimed at the ground or near the bottom of the vehicle (which I imagine should prevent the overspill from completely going past the target) still would result in the missile tracking and missing long/past the target. Unless it is literally impossible IRL to accurately lase a target that is at all on a reverse slope of a hill, there is still something incorrect occurring with the simulation.
As one of the initial testers of this bug—this explanation as the culprit feels incorrect. Because even when we aimed at the ground or near the bottom of the vehicle (which I imagine should prevent the overspill from completely going past the target) still would result in the missile tracking and missing long/past the target. Unless it is literally impossible IRL to accurately lase a target that is at all on a reverse slope of a hill, there is still something incorrect occurring with the simulation.
If possible, could you try running the tests using the laser debug? Also, how far away is the laser designator from the target? Something designated far away is going to have more jitter/spread.
And if the exposed area is smaller than the laser 'beam', yeah, it might be impossible to do that. It might behoove looking at the laser code (since a real laser beam is all the rays at once, not just a sequence of one, but doing a bunch every frame is massively resource intensive) to see if there's a way to make a better method to avoid this.
While I understand that the laser should have some dispersion, I feel what is shown in the above gif that there is way to much dispersion especially at close range. also what is the script for the laser debug? The documentation only shows get and set functions: https://ace3.acemod.org/wiki/framework/laser-framework
As mentioned above, it seems to be caused by laser dispersion. I also just learned how the laser works, and it’s pretty fascinating.😮
It does seem like too much divergeance to me, but how far away from the target are you in this vid?
IRL the SOFLAM has a beam divergeance of 0.3 mrad. I'm not sure what the beam diametre at the aperture is for the SOFLAM is but I assume it's less that 5mm.
That would give it a beam diametre of 5mm + 30mm per 100m, or 305 mm (12 inches) at 1000 m, according the calculator linked below.
Roughly like this at 1000m:
https://www.laserworld.com/en/laserworld-toolbox/divergence-calculator.html
As mentioned above, it seems to be caused by laser dispersion. I also just learned how the laser works, and it’s pretty fascinating.😮
It does seem like too much divergeance to me, but how far away from the target are you in this vid?
IRL the SOFLAM has a beam divergeance of 0.3 mrad. I'm not sure what the beam diametre at the aperture is for the SOFLAM is but I assume it's less that 5mm.
That would give it a beam diametre of 5mm + 30mm per 100m, or 305 mm (12 inches) at 1000 m, according the calculator linked below.
Roughly like this at 1000m:
https://www.laserworld.com/en/laserworld-toolbox/divergence-calculator.html
It’s at 1000 m—the green number in the video shows the distance. I also felt something seemed off while testing. Looking at the logs, it shows _divergence=1:
log 8:03:41 [ACE] (laser) TRACE: 4913 laser: _obj=B Alpha 1-1:1 (Osaka94), _owner=B Alpha 1-1:1 (Osaka94), _laserMethod=ace_laser_fnc_findLaserSource, _emitterWavelength=1550, _laserCode=1111, _divergence=1 z\ace\addons\laser\functions\fnc_seekerFindLaserSpot.sqf:46
You really sound like a military expert! 😄
The value is being loaded here:
https://github.com/acemod/ACE3/blob/42e721182de65aa5ed14dd836d51d7f91e9fb9e3/addons/laser/functions/fnc_addLaserTarget.sqf#L25
And it seems to be calculated here: https://github.com/acemod/ACE3/blob/42e721182de65aa5ed14dd836d51d7f91e9fb9e3/addons/laser/functions/fnc_shootCone.sqf#L53-L54
The default value is: https://github.com/acemod/ACE3/blob/42e721182de65aa5ed14dd836d51d7f91e9fb9e3/addons/laser/XEH_preInit.sqf#L12
For now, the easiest way to fix it seems to be changing ACE_DEFAULT_LASER_BEAMSPREAD to 0.3 or another appropriate value. Below is a test with 0.3.
