Keywords: mount
Summary
This shows how to setup the directly-commanded mount, which allows the user to specify non-periodic, platform-relative translation and pointing as a function of time.
Important
|
This mount does not have graphical user interface (GUI)
support at this time. To configure this mount, the user
must hand-edit the .platform file.
|
Related Materials
The following demos, manuals and tutorials can provide additional information about the topics at the focus of this demo:
-
Related Demos
-
The CommandedMount1 demo focuses on rotational motion.
-
-
Related Manuals
-
The Commanded section of the BasicPlatform mounts manual.
-
-
Related Tutorials
-
None.
-
Details
The important difference between this mount and the "tabulated" mount is that this mount is not intended for periodic scanning. This is best realized in the fact that the pointing data is a function of time (either simulation relative or absolute).
Important Files
This section highlights key files important to the simulation.
Platform and Mount Configuration
At this time, this mount must be configured by hand-editing the
.platform
file. The excerpt from the demo.platform
file below
features the mount configuration. The type
attribute must be set
to commanded
to select this mount option. The <data>
element
contains a series of <entry>
elements that have platform-relative
Euler angles and translations as a function of a <datetime>
:
<mount type="commanded" name="Along-track Translation">
<data rotationorder="xyz" angularunits="degrees">
<entry>
<datetime type="absolute">2008-07-01T12:00:00.0000-04:00</datetime>
<xrotation>0.0</xrotation>
<yrotation>0.0</yrotation>
<zrotation>0.0</zrotation>
<xtranslation>0.0</xtranslation>
<ytranslation>0.0</ytranslation>
<ztranslation>0.0</ztranslation>
</entry>
<entry>
<datetime type="absolute">2008-07-01T12:00:04.0000-04:00</datetime>
<xrotation>0.0</xrotation>
<yrotation>0.0</yrotation>
The mount <entry>
elements can also be a function of relative
time rather than absolute time. To select this option, each
<datetime>
entry should have the type
attribute set to
relative
rather than absolute
. For example, to set the time to
be 10 seconds after the simulation reference date/time, the following
would be used:
<mount type="commanded" name="Along-track Translation">
<data rotationorder="xyz" angularunits="degrees">
<entry>
<datetime type="relative">0.0</datetime>
<xtranslation>0.0</xtranslation>
<ytranslation>0.0</ytranslation>
<ztranslation>0.0</ztranslation>
</entry>
<entry>
<datetime type="relative">4.0</datetime>
<xtranslation>0.0</xtranslation>
<ytranslation>-10.0</ytranslation>
<ztranslation>0.0</ztranslation>
</entry>
</data>
The rotationorder
attribute specifies the order that the Euler angle
rotations are applied (in this case it is X, then Y, then Z).
There are 2 entries defined in this example. Only the Y translation values are in use for this example, which produces an along-track motion of the mount. The values for the 2 entries are:
-
0
meters translation at time0.0
seconds in the +Y axis. -
10
meters transation at time4.0
seconds in the +Y axis.
The data will be linearly interpolated for times between supplied time entries. There are two exceptions:
-
All times before the time for the first entry will use the first entry.
-
All times after the time for the last entry will use the last entry.
Setup
To run the simulation, perform the following steps. There are two simulations in this demo. One uses relative times for the mount entries and the other uses absolute date/time. Although they describe the data differently as a function of time, the two setups are equivalent. Because the focal plane clock rate and the task duration, a total of 5 image files will be produced. The simulation reference time and focal plane clock rate have been setup to correspond to the 5 times
Run the relative command data simulation
-
Run the DIRSIG
demo_relative.sim
file -
Load the resulting
demo-t0000-c0000.img
…demo-t0000-c0004.img
files in the image viewer.
Run the absolute command data simulation
-
Run the DIRSIG
demo_absolute.sim
file -
Load the resulting
demo-t0000-c0000.img
…demo-t0000-c0004.img
files in the image viewer.
Results
The output of the simulation with the platform location locked in space shows how the mount translates and then resets back to the starting position:
