Visual3DModel In the satellite() function it doesn't move as desired
11 次查看(过去 30 天)
显示 更早的评论
I want to simulation the satllite by TLE using
sc = satelliteScenario(startTime,stopTime,sampleTime)
sat = satellite(sc,'example.tle');
The code works normally. by points representing satellites moves according to the input TLE.
However, when I add
sat.Visual3DModel = "example.glb";
The model displays correctly. But when running the model The model does not move along the TLE like the previous point. and rotates in place throughout the simulation. And show the error:
Warning: Error occurred while executing the listener callback for
event MouseClickPlay defined for class
globe.internal.MouseController:
Dot indexing is not supported for variables of this type.
Error in
matlabshared.satellitescenario.internal.Satellite/addCZMLGraphic
Error in matlabshared.satellitescenario.Viewer/writeCZML
Error in satelliteScenario/play
Error in
matlabshared.satellitescenario.Viewer/resimulateCurrentScenario
Error in
matlabshared.satellitescenario.Viewer>@(~,~)viewer.resimulateCurrentScenario
Error in globe.internal.MouseController/processMouseEvent
Error in globe.internal.MouseController
Error in globe.internal.GlobeController/onRequestResponse
Error in globe.internal.GlobeController
Error in message.subscribe
Error in message.internal.executeCallback
Error in globe.internal.GlobeController
Error in globe.internal.GlobeController/waitForAction
Error in globe.internal.GlobeController/request
Error in globe.internal.GlobeController/getParameterRequest
Error in globe.internal.GlobeController/getCameraPosition
Error in globe.graphics.GeographicGlobe/getCameraPosition
Error in globe.graphics.GeographicGlobe/get.CameraPosition
Error in globe.graphics.GeographicGlobe/camheight
Error in matlabshared.satellitescenario.Viewer/camheight
Error in matlabshared.satellitescenario.ScenarioGraphic/flyToGraphic
Error in satelliteScenario/show
Error in satelliteScenario/satelliteScenarioViewer
Error in matlabshared.satellitescenario.ScenarioGraphic/show
Error in matlabshared.satellitescenario.internal.ObjectArray/show
I have tried changing several models. Every type shows the same way.
How should I fix it? Thank you
2 个评论
Piyush Kumar
2024-6-17
Can you share the data - "startTime","stopTime","sampleTime","example.tle" required to reproduce the issue?
采纳的回答
Piyush Kumar
2024-6-17
Just found this documentation which states that "Visual3DModel" is a property of a platform object. Hence , you can try creating a platform object first and then assigning the value of its property. There is an example mentioned here for "Visualize Platform Using geoTrajectory". The example includes creation of scenario, trajectory and platform.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Satellite Mission Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!