-
Notifications
You must be signed in to change notification settings - Fork 15
SteerSuiteTestcase
Currently Version 1.0 supports a number of features 1 For a single agent 1 Sequencing of targets 1 Dynamic targets (see #TargetTypeNote) 1 For a group of agents 1 specificly placed obstacles 1 Type of obstacle 1 Axis aligned boxes 1 cylinders 1 non-axis aligned boxes 1 Not fully supported. 1 random obstacles Example: Single agent, sequence of goals, different kinds of obstacles
<!--
Copyright (c) 2009 Shawn Singh, Mubbasir Kapadia, Petros Faloutsos, Glenn Reinman
See license.txt for complete license.
-->
<SteerBenchTestCase xmlns="http://www.magix.ucla.edu/steerbench"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.magix.ucla.edu/steerbench
TestCaseSchema.xsd">
<header>
<version>1.0</version>
<name>random</name>
<worldBounds>
<xmin>-100</xmin>
<xmax>100</xmax>
<ymin>0</ymin>
<ymax>0</ymax>
<zmin>-100</zmin>
<zmax>100</zmax>
</worldBounds>
</header>
<suggestedCameraView>
<position> <x>0</x> <y>250</y> <z>-200</z> </position>
<lookat> <x>0</x> <y>0</y> <z>0</z> </lookat>
<up> <x>0</x> <y>1</y> <z>0</z> </up>
<fovy>45</fovy>
</suggestedCameraView>
<suggestedCameraView>
<position> <x>0</x> <y>150</y> <z>-30</z> </position>
<lookat> <x>0</x> <y>0</y> <z>0</z> </lookat>
<up> <x>0</x> <y>1</y> <z>0</z> </up>
<fovy>45</fovy>
</suggestedCameraView>
<suggestedCameraView>
<position> <x>44</x> <y>30</y> <z>0</z> </position>
<lookat> <x>27</x> <y>0</y> <z>0</z> </lookat>
<up> <x>0</x> <y>1</y> <z>0</z> </up>
<fovy>45</fovy>
</suggestedCameraView>
<obstacle>
<xmin>-100</xmin>
<xmax>-99</xmax>
<ymin>0</ymin>
<ymax>1</ymax>
<zmin>-100</zmin>
<zmax>100</zmax>
</obstacle>
<obstacle>
<xmin>99.1</xmin>
<xmax>100</xmax>
<ymin>0</ymin>
<ymax>1</ymax>
<zmin>-100</zmin>
<zmax>100</zmax>
</obstacle>
<obstacle>
<xmin>-100</xmin>
<xmax>100</xmax>
<ymin>0</ymin>
<ymax>1</ymax>
<zmin>-100</zmin>
<zmax>-99</zmax>
</obstacle>
<obstacle>
<xmin>-100</xmin>
<xmax>100</xmax>
<ymin>0</ymin>
<ymax>1</ymax>
<zmin>99.1</zmin>
<zmax>100</zmax>
</obstacle>
<agentRegion>
<numAgents>4000</numAgents>
<regionBounds>
<xmin>-98</xmin>
<xmax>98</xmax>
<ymin>0</ymin>
<ymax>0</ymax>
<zmin>-98</zmin>
<zmax>98</zmax>
</regionBounds>
<initialConditions>
<direction> <random>true</random> </direction>
<radius>0.5</radius>
<speed>0</speed>
</initialConditions>
<goalSequence>
<seekStaticTarget>
<targetLocation> <random>true</random> </targetLocation>
<desiredSpeed>1.3</desiredSpeed>
<timeDuration>1000.0</timeDuration>
</seekStaticTarget>
</goalSequence>
</agentRegion>
</SteerBenchTestCase>
Example: region of randomly placed agents, randomly placed obstacles.
<!--
Copyright (c) 2009 Shawn Singh, Mubbasir Kapadia, Petros Faloutsos, Glenn Reinman
See license.txt for complete license.
-->
<SteerBenchTestCase xmlns="http://www.magix.ucla.edu/steerbench"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.magix.ucla.edu/steerbench
TestCaseSchema.xsd">
<header>
<version>1.0</version>
<name>forest</name>
<worldBounds>
<xmin>-100</xmin>
<xmax>100</xmax>
<ymin>0</ymin>
<ymax>0</ymax>
<zmin>-100</zmin>
<zmax>100</zmax>
</worldBounds>
</header>
<suggestedCameraView>
<position> <x>0</x> <y>150</y> <z>-30</z> </position>
<lookat> <x>0</x> <y>0</y> <z>0</z> </lookat>
<up> <x>0</x> <y>1</y> <z>0</z> </up>
<fovy>45</fovy>
</suggestedCameraView>
<suggestedCameraView>
<position> <x>44</x> <y>30</y> <z>0</z> </position>
<lookat> <x>27</x> <y>0</y> <z>0</z> </lookat>
<up> <x>0</x> <y>1</y> <z>0</z> </up>
<fovy>45</fovy>
</suggestedCameraView>
<suggestedCameraView>
<position> <x>0</x> <y>250</y> <z>-200</z> </position>
<lookat> <x>0</x> <y>0</y> <z>0</z> </lookat>
<up> <x>0</x> <y>1</y> <z>0</z> </up>
<fovy>45</fovy>
</suggestedCameraView>
<obstacle>
<xmin>-100</xmin>
<xmax>-99</xmax>
<ymin>0</ymin>
<ymax>0</ymax>
<zmin>-100</zmin>
<zmax>100</zmax>
</obstacle>
<obstacle>
<xmin>99.1</xmin>
<xmax>100</xmax>
<ymin>0</ymin>
<ymax>0</ymax>
<zmin>-100</zmin>
<zmax>100</zmax>
</obstacle>
<obstacle>
<xmin>-100</xmin>
<xmax>100</xmax>
<ymin>0</ymin>
<ymax>0</ymax>
<zmin>-100</zmin>
<zmax>-99</zmax>
</obstacle>
<obstacle>
<xmin>-100</xmin>
<xmax>100</xmax>
<ymin>0</ymin>
<ymax>0</ymax>
<zmin>99.1</zmin>
<zmax>100</zmax>
</obstacle>
<obstacleRegion>
<numObstacles>696</numObstacles>
<regionBounds>
<xmin>-100</xmin>
<xmax>100</xmax>
<ymin>0</ymin>
<ymax>0</ymax>
<zmin>-100</zmin>
<zmax>100</zmax>
</regionBounds>
<obstacleSize>0.98</obstacleSize>
<obstacleHeight>0.5</obstacleHeight>
</obstacleRegion>
<agentRegion>
<numAgents>500</numAgents>
<regionBounds>
<xmin>-100</xmin>
<xmax>100</xmax>
<ymin>0</ymin>
<ymax>0</ymax>
<zmin>-100</zmin>
<zmax>100</zmax>
</regionBounds>
<initialConditions>
<direction> <random>true</random> </direction>
<radius>0.5</radius>
<speed>0</speed>
</initialConditions>
<goalSequence>
<seekStaticTarget>
<targetLocation> <random>true</random> </targetLocation>
<desiredSpeed>1.3</desiredSpeed>
<timeDuration>1000.0</timeDuration>
</seekStaticTarget>
<seekStaticTarget>
<targetLocation> <random>true</random> </targetLocation>
<desiredSpeed>1.3</desiredSpeed>
<timeDuration>1000.0</timeDuration>
</seekStaticTarget>
<seekStaticTarget>
<targetLocation> <random>true</random> </targetLocation>
<desiredSpeed>1.3</desiredSpeed>
<timeDuration>1000.0</timeDuration>
</seekStaticTarget>
</goalSequence>
</agentRegion>
</SteerBenchTestCase>
Version 1.2 1 Includes updated support for parameterized agent targets. 1 Support for SteerSuiteBehaviourObjects
Note: All steering algorithms in SteerSuite support static targets. Support for dynamic targets and other more complex targets have support on a per steering algorithm basis.
-- Main.GlenBerseth - 2013-12-05