diff --git a/src/lab_sim/objectives/errorcheckvectorsize.xml b/src/lab_sim/objectives/errorcheckvectorsize.xml new file mode 100644 index 00000000..fdddb0b7 --- /dev/null +++ b/src/lab_sim/objectives/errorcheckvectorsize.xml @@ -0,0 +1,45 @@ + + + + + + + + + + + + + + + + + + + + + + The size the vector should be + + + The input vector that is to be checked for size. + + + + diff --git a/src/lab_sim/objectives/example_file.txt b/src/lab_sim/objectives/example_file.txt new file mode 100644 index 00000000..372433fb --- /dev/null +++ b/src/lab_sim/objectives/example_file.txt @@ -0,0 +1,3 @@ +1) A robot may not injure a human being or, through inaction, allow a human being to come to harm; +2) A robot must obey orders from a human, except when they conflict with the First Law; and +3) A robot must protect its own existence, provided it doesn't conflict with the First or Second Law. diff --git a/src/lab_sim/objectives/vector_and_string_example.xml b/src/lab_sim/objectives/vector_and_string_example.xml new file mode 100644 index 00000000..9817340a --- /dev/null +++ b/src/lab_sim/objectives/vector_and_string_example.xml @@ -0,0 +1,149 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +