<MSLADL xmlns:fo="http://www.w3.org/1999/XSL/Format" xsi:noNamespaceSchemaLocation="MSLADL-4.6.13.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<!--<?xml-stylesheet type="text/xslt" href="Format_PER_AD.xslt"?> -->
	
	<Mission>Personal Exploration Rover</Mission>

	<!-- Information about the authors and the various versions of AD -->

	<AuthorInformation>
		<Custodian>Aaron Klapheck</Custodian>
		<Versions>
			<Version>
				<Number>PER-Benchmark-1.0.0</Number>
				<Author>Aaron Klapheck and Mel Ludowise</Author>
				<Date>2009-June-19</Date>
				<Description>Set up all activities.
				</Description>
			</Version>
			<Version>
				<Number>1.0.1</Number>
				<Author>Aaron Klapheck</Author>
				<Date>2009-July-29</Date>
				<Description>
				Added Constants section.
				Edited Activity Definitions.
				</Description>
			</Version>
			<Version>
				<Number>1.0.1</Number>
				<Author>Aaron Klapheck</Author>
				<Date>2009-Aug-4</Date>
				<Description>
				Edited Activity Definitions to increase their clarity.
				</Description>
			</Version>
			<Version>
				<Number>1.0.2</Number>
				<Author>Aaron Klapheck</Author>
				<Date>2009-Aug-6</Date>
				<Description>
				Spell checked the document.
				Edited Activity Definitions to increase their clarity.
				</Description>
			</Version>
			<Version>
				<Number>1.0.3</Number>
				<Author>Aaron Klapheck</Author>
				<Date>2009-Aug-10</Date>
				<Description>
				Spell checked the document.
				Edited Activity Definitions to increase their clarity.
				</Description>
			</Version>
		</Versions>
	</AuthorInformation>
	
	<!-- Systems are folders that hold each activity. Each activity specifies which folder they go in by using the <Subsystem> tag -->
	
	<Subsystems>
		<Subsystem>
			<Name>Drive</Name>	
		</Subsystem>
		<Subsystem>
			<Name>Camera</Name>	
		</Subsystem>
		<Subsystem>
			<Name>Misc</Name>	
		</Subsystem>
	</Subsystems>
	
	<!-- TypeDefinitions are ... -->
	
	<TypeDefinitions>
	</TypeDefinitions>

	<!-- Constants are used to perform calculations in the SPIFe environment -->
	
	<Constants>
		<Constant Name="SECONDS_PER_TURN">
         <Value>
                <Expression>0.3</Expression>
         </Value>
         <Description>Taken from PER code.</Description>
         <Type>Double</Type>
		 <Units>seconds</Units>
      </Constant>
	  <Constant Name="SECONDS_PER_TURN_DEGREE">
         <Value>
                <Expression>0.2</Expression>
         </Value>
         <Description>Taken from PER code.</Description>
         <Type>Double</Type>
		 <Units>seconds/degrees</Units>
      </Constant>
	   <Constant Name="WATTS_PER_TURN_DEGREE">
         <Value>
                <Expression>2</Expression>
         </Value>
         <Description>Estimated value.</Description>
         <Type>Double</Type>
		 <Units>W/degree</Units>
      </Constant>
	  
	  <Constant Name="SECONDS_PER_HEAD_TURN_DEGREE">
         <Value>
                <Expression>0.1</Expression>
         </Value>
         <Description>Taken from PER code.</Description>
         <Type>Double</Type>
		 <Units>s/degrees</Units>
      </Constant>
	  <Constant Name="WATTS_PER_HEAD_TURN_DEGREE">
         <Value>
                <Expression>0.4</Expression>
         </Value>
         <Description>Estimated value.</Description>
         <Type>Double</Type>
		 <Units>W/degrees</Units>
      </Constant>
	  
	  <Constant Name="SECONDS_PER_DRIVE">
         <Value>
                <Expression>0.2</Expression>
         </Value>
         <Description>Taken from PER code.</Description>
         <Type>Double</Type>
		 <Units>seconds</Units>
      </Constant>
	  <Constant Name="SECONDS_PER_DRIVE_CENTIMETER">
         <Value>
                <Expression>0.311</Expression>
         </Value>
         <Description>Taken from PER code.</Description>
         <Type>Double</Type>
		 <Units>seconds/cm</Units>
      </Constant>
	  <Constant Name="WATTS_PER_DRIVE_CENTIMETER">
         <Value>
                <Expression>1</Expression>
         </Value>
         <Description>Estimated value.</Description>
         <Type>Double</Type>
		 <Units>W/cm</Units>
      </Constant>
	  
	  <Constant Name="WATTS_PER_LIGHT_SECONDS">
         <Value>
                <Expression>2</Expression>
         </Value>
         <Description>Estimated value.</Description>
         <Type>Double</Type>
		 <Units>W/seconds</Units>
      </Constant>
	  
	  <Constant Name="SECONDS_PER_PICTURE">
         <Value>
                <Expression>.75</Expression>
         </Value>
         <Description>Estimation taken from PER code.</Description>
         <Type>Double</Type>
		 <Units>seconds</Units>
      </Constant>
	  <Constant Name="WATTS_PER_PICTURE">
         <Value>
                <Expression>0.4</Expression>
         </Value>
         <Description>Estimated value.</Description>
         <Type>Double</Type>
		 <Units>W</Units>
      </Constant>
	</Constants>
	
	<!-- Attributes show up on the Attributes section of the Details panel  
	(Appears at the bottom of the list) -->
	
	<Attributes>
	</Attributes>
	
	<!-- Resources shows up in the resources tab -->
	
	<Resources>
	
		<NumericResources>
            <NumericResource>
				<Name>Battery_Power</Name>
				<Type>Double</Type>
				<Units>W</Units>
				<Description>The amount of power the PER can supply</Description>
			</NumericResource>
		</NumericResources>
		
	</Resources>
	
	<!-- ActivityGourpDef are parameters that can be accessed by a group.
	To view this select Group 1 in the time line and look in the details page. -->
	
	<ActivityGroupDef>
		<Parameters>
			<Parameter Name="name">
				<Value>
					<String>Default group name</String>
				</Value>
				<Type>String</Type>
			</Parameter>
		</Parameters>
	</ActivityGroupDef>
	
	
	<!-- *************************************** -->
	<!-- Majority of AD consists of ActivityDefs -->
	<!-- *************************************** -->
	
	<ActivityDefs>
	
		<!-- ******************** -->
		<!-- ActivityDef number 1 -->
		<!-- ******************** -->
	
	
		<ActivityDef ID="Drive"> <!-- DisplayName: The name shown in the AD. ID: The name shown in details/table/TL view -->
			<DevelopmentPhase>in_development</DevelopmentPhase>
			<Subsystem>Drive</Subsystem>
			<Description>PER will move in a straight line at the specified angle (DriveToAction). <!-- input: int distance, int angle (degrees), byte safetyLevel (0,1,or 2), boolean takePicture -->
			</Description>
			
			<!-- Shows up in the Parameters section in the Details pane -->
			
			<Parameters>
				
				
				<!-- parameters regarding PER input commands 
				will cause PER to move forward by default 0cm facing the same direction it started out in.
				A NO_SAFETY level will be set. -->
				<Parameter Name="Distance">
					<Value>
						<Integer>0</Integer>
					</Value>
					<Description>Centimeters the PER will move. Range: -1000 to 1000. The default distance is 0 cm.</Description>
					<Type>Integer</Type>
					<Units>cm</Units>
				</Parameter>
				<Parameter Name="Angle">
					<Value>
						<Integer>0</Integer>
					</Value>
					<Description>The angle the PER will drive at. 0 = straight, 90 = left, -90 = right, Range: -180 to 180. The default angle is 0 degrees.</Description>
					<Type>Integer</Type>
					<Units>degrees</Units>
				</Parameter>
				
				<Parameter Name="Safety_level"> <!-- 0 = NO_SAFETY, 1 = STATIC_SAFETY, 2 = CYCLE_SAFETY. -->
            		<Value>
                		<String>NO_SAFETY</String>
            		</Value>
					<Description>
					NO_SAFETY: No IR detection of obstacles will occur. 
					STATIC_SAFETY: Where the PER's head is fixed at pan=0 and tilt=-35 and if an object is detected the PER will stop.
					CYCLE_SAFETY: Where the PER's head is continuously moving to a number of safety points and if an object is detected the PER will stop.
					The default safety level is NO_SAFETY.
					</Description>
            		<Type>String</Type>
                    <Choices>
                        <Choice>
                            <Value>
                                <String>NO_SAFETY</String>
                            </Value>
                        </Choice>
                        <Choice>
                            <Value>
                                <String>STATIC_SAFETY</String>
                            </Value>
                        </Choice>
						<Choice>
                            <Value>
                                <String>CYCLE_SAFETY</String>
                            </Value>
                        </Choice>
                    </Choices>            
        		</Parameter> 
			</Parameters>
			
			<!-- DefaultAttributes are ... -->
			
			<DefaultAttributes/>
			
			<!-- Duration shows up in the Attributes section in the Details pane -->
			
			<Duration>SECONDS_PER_DRIVE + (Math.abs(Distance) * SECONDS_PER_DRIVE_CENTIMETER)</Duration>
			
			<!-- Requirements are ... -->
			
			<Requirements>
				<NumericRequirements/>
				<StateRequirements/>
			</Requirements>
			
			<!-- Effects are ... -->
			
			<Effects>
				<StateEffects/>
				<NumericEffects>
					<NumericEffect>
						<Name>Battery_Power</Name>
						<AtEnd>
							<Expression>WATTS_PER_DRIVE_CENTIMETER * Math.abs(Distance)</Expression>
						</AtEnd>
					</NumericEffect>
				</NumericEffects>
			</Effects>
		</ActivityDef>
		
		<!-- ******************** -->
		<!-- ActivityDef number 2 -->
		<!-- ******************** -->
		
		<ActivityDef ID="Move_To_Coordinate">
			<DevelopmentPhase>in_development</DevelopmentPhase>
			<Subsystem>Drive</Subsystem>
			<Description>The PER will move to the specified coordinates and face the specified orientation (MoveToAction). <!-- input: (see Java program for details) int x, int y, int theta (degrees) -->
			</Description>
			
			<!-- Shows up in the Parameters section in the Details pane -->
			
			<Parameters>
				
				<!-- parameters regarding PER input commands 
				will cause PER to move forward (x) and to the left (y) by default 0 units facing the same direction it started out in -->
				<Parameter Name="x_position">
					<Value>
						<Integer>0</Integer>
					</Value>
					<Description>The x coordinate of the destination. (+) forward, (-) backward, Range: -1000 to 1000. The default x value is the origin value.</Description>
					<Type>Integer</Type>
					<Units>cm</Units>
				</Parameter>
				<Parameter Name="y_position">
					<Value>
						<Integer>0</Integer>
					</Value>
					<Description>The y coordinate of the destination. (+) left, (-) right, Range: -1000 to 1000. The default y value is the origin value.</Description>
					<Type>Integer</Type>
					<Units>cm</Units>
				</Parameter>
				<Parameter Name="Angle_facing">
					<Value>
						<Integer>0</Integer>
					</Value>
					<Description>The angle the PER will be facing when it reaches its destination. (+) CCW, (-) CW, Range: -180 to 180. The default angle is 0 degrees.</Description>
					<Type>Integer</Type>
					<Units>degrees</Units>
				</Parameter>
			</Parameters>
			
			<!-- DefaultAttributes are ... -->
			
			<DefaultAttributes/>
			
			<!-- Duration shows up in the Attributes section in the Details pane -->
			
			<Duration>SECONDS_PER_DRIVE + (Math.abs(x_position + y_position) * SECONDS_PER_DRIVE_CENTIMETER)</Duration> <!-- Not accurate at all!!! -->
			
			<!-- Requirements are ... -->
			
			<Requirements>
				<NumericRequirements/>
			</Requirements>
			
			<!-- Effects are ... -->
			
			<Effects>
				<NumericEffects>
					<NumericEffect>
						<Name>Battery_Power</Name>
						<AtEnd>
							<Expression>20</Expression> <!-- Made this up because of dificutly in calculating this value -->
						</AtEnd>
					</NumericEffect>
				</NumericEffects>
			</Effects>
		</ActivityDef>
		
		
		<!-- ******************** -->
		<!-- ActivityDef number 3 -->
		<!-- ******************** -->
		
		<ActivityDef ID="Rotate_in_Place">
			<DevelopmentPhase>in_development</DevelopmentPhase>
			<Subsystem>Drive</Subsystem>
			<Description>The PER will rotate in place by a specified angle (TurnTo). <!-- input: (see Java program for details) int angle (degrees) -->
			</Description>
			
			<!-- Shows up in the Parameters section in the Details pane -->
			
			<Parameters>
				
				<!-- parameters regarding PER input commands 
				will cause PER to rotate in place -->
				<Parameter Name="Angle">
					<Value>
						<Integer>0</Integer>
					</Value>
					<Description>The angle the PER will turn through. (+) CCW, (-) CW, Examples: 0 = straight, 90 = left, -90 = right. Range: -360 to 360. The default angle is 0 degrees.</Description>
					<Type>Integer</Type>
					<Units>degrees</Units>
				</Parameter>
			</Parameters>
			
			<!-- DefaultAttributes are ... -->
			
			<DefaultAttributes/>
			
			<!-- Duration shows up in the Attributes section in the Details pane -->
			
			<Duration>SECONDS_PER_DRIVE + (Math.abs(Angle) * SECONDS_PER_TURN_DEGREE)</Duration> <!-- Not accurate at all!!! -->
			
			<!-- Requirements are ... -->
			
			<Requirements>
				<NumericRequirements/>
			</Requirements>
			
			<!-- Effects are ... -->
			
			<Effects>
				<NumericEffects>
					<NumericEffect>
						<Name>Battery_Power</Name>
						<AtEnd>
							<Expression>WATTS_PER_TURN_DEGREE * Math.abs(Angle)</Expression>
						</AtEnd>
					</NumericEffect>
				</NumericEffects>
			</Effects>
		</ActivityDef>
		
		
		<!-- ******************** -->
		<!-- ActivityDef number 4 -->
		<!-- ******************** -->
		
		<ActivityDef ID="Move_Camera">
			<DevelopmentPhase>in_development</DevelopmentPhase>
			<Subsystem>Camera</Subsystem>
			<Description>Changes the cameras position to the position specified (TurnHeadAction). <!-- input: (see java file for more info) int pan, int tilt -->
			</Description>
			
			<!-- Shows up in the Parameters section in the Details pane -->
			
			<Parameters>
			
				<!-- parameters regarding PER input commands 
				will cause the "head" of the PER to move to the positions given which by default is to not move -->
				<Parameter Name="Pan">
					<Value>
						<Integer>0</Integer>
					</Value>
					<Description>The side-to-side motion or yaw of the PER's head. (+) = left, (-) = right, Range = -180 to 180. The default pan angle is 0 degrees.</Description>
					<Type>Integer</Type>
					<Units>degrees</Units>
				</Parameter>
				<Parameter Name="Tilt">
					<Value>
						<Integer>0</Integer>
					</Value>
					<Description>The up-and-down motion or pitch of the PER's head. (+) = up, (-) = down, Range = -30 to 90. The default tilt angle is 0 degrees.</Description>
					<Type>Integer</Type>
					<Units>degrees</Units>
				</Parameter>
			</Parameters>
			
			<!-- DefaultAttributes are ... -->
			
			<DefaultAttributes/>
			
			<!-- Duration shows up in the Attributes section in the Details pane -->
			
			<Duration>(SECONDS_PER_HEAD_TURN_DEGREE * Math.abs(Tilt)) + (SECONDS_PER_HEAD_TURN_DEGREE * Math.abs(Pan))</Duration>
			
			<!-- Requirements are ... -->
			
			<Requirements>
				<NumericRequirements/>
			</Requirements>
			
			<!-- Effects are ... -->
			
			<Effects>
				<NumericEffects>
					<NumericEffect>
						<Name>Battery_Power</Name>
						<AtEnd>
							<Expression>WATTS_PER_HEAD_TURN_DEGREE * (Math.abs(Tilt) + Math.abs(Pan))</Expression>
						</AtEnd>
					</NumericEffect>
				</NumericEffects>
			</Effects>
		</ActivityDef>
		
		<!-- ******************** -->
		<!-- ActivityDef number 5 -->
		<!-- ******************** -->
		
		<ActivityDef ID="Take_Picture">
			<DevelopmentPhase>in_development</DevelopmentPhase>
			<Subsystem>Camera</Subsystem>
			<Description>PER takes a picture (RoverController.takePicture). <!-- input: (see java file for more info) int width, int height (picture dimension in pixels) -->
			</Description>
			
			<!-- Shows up in the Parameters section in the Details pane -->
			
			<Parameters>
				
				<!-- parameters regarding PER input commands 
				will cause PER to take a picture with a default of size of 640x480 -->
				<Parameter Name="Picture_dimensions">
					<Value>
						<String>640x480</String>
					</Value>
					<Description>Height x Width (in pixels) of each of the pictures taken that make up the panorama. Default is 320 x 240 pixels.</Description>
					<Type>String</Type>
					<Units>pixels</Units>
					<Choices>
                        <Choice>
                            <Value>
                                <String>640x480</String>
                            </Value>
                        </Choice>
                        <Choice>
                            <Value>
                                <String>352x288</String>
                            </Value>
                        </Choice>
						<Choice>
                            <Value>
                                <String>320x240</String>
                            </Value>
                        </Choice>
						<Choice>
                            <Value>
                                <String>160x120</String>
                            </Value>
                        </Choice>
                    </Choices> 
				</Parameter>
			</Parameters>
			
			<!-- DefaultAttributes are ... -->
			
			<DefaultAttributes/>
			
			<!-- Duration shows up in the Attributes section in the Details pane -->
			
			<Duration>SECONDS_PER_PICTURE</Duration>
			
			<!-- Requirements are ... -->
			
			<Requirements>
				<NumericRequirements/>
			</Requirements>
			
			<!-- Effects are ... -->
			
			<Effects>
				<NumericEffects>
					<NumericEffect>
						<Name>Battery_Power</Name>
						<AtEnd>
							<Expression>WATTS_PER_PICTURE</Expression>
						</AtEnd>
					</NumericEffect>
				</NumericEffects>
			</Effects>
		</ActivityDef>
		
		<!-- ******************** -->
		<!-- ActivityDef number 6 -->
		<!-- ******************** -->
		
		<ActivityDef ID="Take_Panorama">
			<DevelopmentPhase>in_development</DevelopmentPhase>
			<Subsystem>Camera</Subsystem>
			<Description>PER takes a series of pictures (tiles) witch it internally stitches together to make a panorama (TakePanoramaAction). <!-- input: none -->
			</Description>
			
			<!-- Shows up in the Parameters section in the Details pane -->
			
			<Parameters>
				
				<!-- parameters regarding PER input commands 
				will cause PER to take a panorama given the width and height of the pictures to take
				and the maximum and minimum tilt angles -->
				<Parameter Name="Min_tilt_angle">
					<Value>
						<Integer>-30</Integer>
					</Value>
					<Description>The minimum tilt angle the panorama includes. Range: 0 to -45. The default angle is -30 degrees.</Description>
					<Type>Integer</Type>
					<Units>degrees</Units>
				</Parameter>
				<Parameter Name="Max_tilt_angle">
					<Value>
						<Integer>30</Integer>
					</Value>
					<Description>The maximum tilt angle the panorama includes. Range: 0 to 90. The default angle is 30 degrees.</Description>
					<Type>Integer</Type>
					<Units>degrees</Units>
				</Parameter>
				<Parameter Name="Tile_dimensions">
					<Value>
						<String>320x240</String>
					</Value>
					<Description>Height x Width (in pixels) of each of the pictures taken that make up the panorama. Default is 320 x 240 pixels.</Description>
					<Type>String</Type>
					<Units>pixels</Units>
					<Choices>
                        <Choice>
                            <Value>
                                <String>640x480</String>
                            </Value>
                        </Choice>
                        <Choice>
                            <Value>
                                <String>352x288</String>
                            </Value>
                        </Choice>
						<Choice>
                            <Value>
                                <String>320x240</String>
                            </Value>
                        </Choice>
						<Choice>
                            <Value>
                                <String>160x120</String>
                            </Value>
                        </Choice>
                    </Choices> 
				</Parameter>
			</Parameters>
			
			<!-- DefaultAttributes are ... -->
			
			<DefaultAttributes/>
			
			<!-- Duration shows up in the Attributes section in the Details pane -->
			
			<Duration>2*8*SECONDS_PER_PICTURE</Duration> <!-- Duration comments
			assumptions: takes 2 pictures of each horizontal section irregardless of min and max tilt angles,
			and the number of horizontal pictures taken is always 8.
			-->
			
			<!-- Requirements are ... -->
			
			<Requirements>
				<NumericRequirements/>
			</Requirements>
			
			<!-- Effects are ... -->
			
			<Effects>
				<NumericEffects>
					<NumericEffect>
						<Name>Battery_Power</Name>
						<AtEnd>
							<Expression>2*8*WATTS_PER_PICTURE</Expression>
						</AtEnd>
					</NumericEffect>
				</NumericEffects>
			</Effects>
		</ActivityDef>
		
		<!-- ******************** -->
		<!-- ActivityDef number 7 -->
		<!-- ******************** -->
		
		<ActivityDef ID="UV_Light">
			<DevelopmentPhase>in_development</DevelopmentPhase>
			<Subsystem>Misc</Subsystem>
			<Description>Turns on a Ultraviolet light for a specified amount of time (RoverController.setLight). <!-- input: boolean on -->
			</Description>
			
			<!-- Shows up in the Parameters section in the Details pane -->
			
			<Parameters>
				
				<!-- parameters regarding PER input commands 
				will cause PER's blue light to turn on by default -->
				<Parameter Name="time_active">
                    <Value>
                        <Integer>0</Integer>
                    </Value>
                    <Description>The length of time the UV light will be on. Range: 0 to 3600. The default duration is 0 seconds.</Description>
                     <Type>Integer</Type>
                    <Units>seconds</Units>
                </Parameter>
			</Parameters>
			
			<!-- DefaultAttributes are ... -->
			
			<DefaultAttributes/>
			
			<!-- Duration shows up in the Attributes section in the Details pane -->
			
			<Duration>time_active</Duration>
			
			<!-- Requirements are ... -->
			
			<Requirements>
				<NumericRequirements/>
			</Requirements>
			
			<!-- Effects are ... -->
			
			<Effects>
				<NumericEffects>
					<NumericEffect>
						<Name>Battery_Power</Name>
						<AtEnd>
							<Expression>WATTS_PER_LIGHT_SECONDS * time_active</Expression>
						</AtEnd>
					</NumericEffect>
				</NumericEffects>
			</Effects>
		</ActivityDef>
		
		
		<!-- ******************** -->
		<!-- ActivityDef number 8 -->
		<!-- ******************** -->
		
		<ActivityDef ID="Scan">
			<DevelopmentPhase>in_development</DevelopmentPhase>
			<Subsystem>Misc</Subsystem>
			<Description>The PER will scan the specified area for obstacles (ScanAction). <!-- input: (see Java program for details)(degrees) int tilt, int minPan, int maxPan, int step -->
			</Description>
			
			<!-- Shows up in the Parameters section in the Details pane -->
			
			<Parameters>
				
				<!-- parameters regarding PER input commands 
				will cause PER to scan an area for obstacles -->
				<Parameter Name="Tilt_angle">
					<Value>
						<Integer>-30</Integer>
					</Value>
					<Description>The tilt angle for the PER's head. (+) CCW, (-) CW, Example: 0 = straight, 90 = left, -90 = right. Range: -45 to 0. The default angle is -30 degrees.</Description>
					<Type>Integer</Type>
					<Units>degrees</Units>
				</Parameter>
				<Parameter Name="Minimum_pan_angle">
					<Value>
						<Integer>-30</Integer>
					</Value>
					<Description>How far to the left the PER's head will turn (must be +). (+) CCW. Range: -180 to 0. The default angle is -30 degrees.</Description>
					<Type>Integer</Type>
					<Units>degrees</Units>
				</Parameter>
				<Parameter Name="Maximum_pan_angle">
					<Value>
						<Integer>30</Integer>
					</Value>
					<Description>How far to the right the PER's head will turn (must be -). (-) CW. Range: 0 to 180. The default angle is 30 degrees.</Description>
					<Type>Integer</Type>
					<Units>degrees</Units>
				</Parameter>
				<Parameter Name="Step_size_angle">
					<Value>
						<Integer>15</Integer>
					</Value>
					<Description>The largest angle the PER's head will turn through at a time. Range: 10 to 90. The default step angle is 15 degrees.</Description>
					<Type>Integer</Type>
					<Units>degrees</Units>
				</Parameter>
			</Parameters>
			
			<!-- DefaultAttributes are ... -->
			
			<DefaultAttributes/>
			
			<!-- Duration shows up in the Attributes section in the Details pane -->
			
			<Duration>SECONDS_PER_HEAD_TURN_DEGREE * Math.abs(Minimum_pan_angle + Math.abs(Minimum_pan_angle - Maximum_pan_angle))</Duration>
			
			<!-- Requirements are ... -->
			
			<Requirements>
				<NumericRequirements/>
			</Requirements>
			
			<!-- Effects are ... -->
			
			<Effects>
				<NumericEffects>
					<NumericEffect>
						<Name>Battery_Power</Name>
						<AtEnd>
							<Expression>WATTS_PER_HEAD_TURN_DEGREE * Math.abs(Minimum_pan_angle + Math.abs(Minimum_pan_angle - Maximum_pan_angle))</Expression>
						</AtEnd>
					</NumericEffect>
				</NumericEffects>
			</Effects>
		</ActivityDef>
		
		
	</ActivityDefs>
</MSLADL>
