changing camera parameters after simulation has started

31 views
Skip to first unread message

william seto

unread,
Mar 1, 2022, 6:48:47 PM3/1/22
to Basilisk Forum
we typically set up the parameters of the standard and instrument (opNav) cameras before we run the simulation/Vizard. however, is it possible to change these after we have run InitializeSimulation() and Vizard is already in progress? 

for example, i'd like to change the position, or pointing vector, or the field of view of the camera

it doesn't seem possible with the instrument camera, but with the standard camera, i'm able to manually click and make changes in the Vizard GUI. however, it doesn't seem that changing it in the Python script achieves anything?

extra question: would it be possible to support multiple instrument cameras?

william seto

unread,
Mar 1, 2022, 6:54:38 PM3/1/22
to Basilisk Forum
also, would it be possible to contribute/make changes to the Vizard software?

 we would love to continue using Vizard since so much is offered out of the box, but some missing features might compel us to have to roll our own visualization

Hanspeter Schaub

unread,
Mar 2, 2022, 10:47:55 AM3/2/22
to Basilisk Forum
howdy William, thanks for the interest in Vizard.  We have not used the science camera mode as you describe (changing camera parameters on the fly).  If you tried doing this and the FOV didn't change, these parameters are likely only read in on start up.

Regarding sharing the Vizard source code, this project is not open-source, but the binaries are released as freeware.  If industry required some custom feature addition we have setup a support contract to pay for the time to develop this.  I can definitely see circumstances where groups see the need to write their own visualization that they control.  

Hanspeter Schaub

unread,
Dec 17, 2022, 12:48:27 PM12/17/22
to Basilisk Forum
The recent version of BSK 2.1.5 and Vizard 2.1.2 now support multiple instrument cameras, and changing the camera parameters on the fly.
Reply all
Reply to author
Forward
0 new messages