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
Thank you for reaching out with your issue. It seems like there might be a problem with the variable DEM that is being used in the ned2ecef function. The error message suggests that DEM might not be structured as expected, which is why dot indexing is failing.
Here are a few steps you can take to troubleshoot this issue:
Ensure that DEM is correctly initialized and that it contains the fields DCM_ECEF2NED and centerecef. These should be accessible via dot notation.
Check the data type of DEM. It should be a struct for dot indexing to work. You can use the whos command in MATLAB to inspect the variable.
If DEM is loaded from a file, verify that the file is being loaded correctly and that the structure of the data within the file matches what the ned2ecef function expects.
Make sure there are no variable name conflicts in your workspace that might be causing DEM to be overwritten or misused.
If you continue to experience issues, please provide more context or a minimal reproducible example, and I'll be happy to take a closer look.
Remember, you can always refer to our documentation at https://docs.ultralytics.com for more detailed information and guidance.
I tried ned2lla on my data and I get an error message:
Dot indexing is not supported for variables of this type.
Error in ned2ecef (line 2)
ecef = ned*DEM.DCM_ECEF2NED + ones(size(ned,1),1)*DEM.centerecef;
Error in ned2lla (line 2)
ecef = ned2ecef(DEM,ned);
The text was updated successfully, but these errors were encountered: