You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When using GroundMapping with maximumRange=-1, its behavior is abnormal and it can't get access information normally. However, when maximumRange=1e9, it turns to be normal.
To reproduce
Using GroundMapping module
Set maximumRange=1e9, we can observe sat-target access information.
Set maximumRange=-1, accessOutMsgs.read().hasAccess are always 0.
Expected behavior
When maximumRange=-1, the output '1' in hasAccess should be not less than the one when maximumRange=1e9
Screenshots
Desktop (please complete the following information):
OS: WSL
Version: 2.3.26.0
Python version: 3.11.10
Additional context
In basilisk/src/simulation/environment/groundMapping/groundMapping.cpp, I found that the function checkInstrumentFOV() (line 188), if ((boresightNormalProj >= 0) && (boresightNormalProj <= this->maximumRange)){, doesn't consider the -1 case, which is necessary for the access computation. It is possible that the problem here is causing the above bug.
The text was updated successfully, but these errors were encountered:
Describe the bug
When using GroundMapping with maximumRange=-1, its behavior is abnormal and it can't get access information normally. However, when maximumRange=1e9, it turns to be normal.
To reproduce
Using GroundMapping module
Expected behavior
When maximumRange=-1, the output '1' in hasAccess should be not less than the one when maximumRange=1e9
Screenshots
Desktop (please complete the following information):
Additional context
In
basilisk/src/simulation/environment/groundMapping/groundMapping.cpp
, I found that the functioncheckInstrumentFOV()
(line 188),if ((boresightNormalProj >= 0) && (boresightNormalProj <= this->maximumRange)){
, doesn't consider the -1 case, which is necessary for the access computation. It is possible that the problem here is causing the above bug.The text was updated successfully, but these errors were encountered: