diff --git a/BehaviorNavigationScenario/.classpath b/BehaviorNavigationScenario/.classpath index 3fe06ea..4928971 100644 --- a/BehaviorNavigationScenario/.classpath +++ b/BehaviorNavigationScenario/.classpath @@ -1,7 +1,7 @@ - + diff --git a/BehaviorNavigationScenario/.cproject b/BehaviorNavigationScenario/.cproject index b6d9692..8c64073 100644 --- a/BehaviorNavigationScenario/.cproject +++ b/BehaviorNavigationScenario/.cproject @@ -18,16 +18,16 @@ - + - - @@ -63,16 +63,16 @@ - + - - diff --git a/BehaviorNavigationScenario/.project b/BehaviorNavigationScenario/.project index 9d4e018..f8b29c9 100644 --- a/BehaviorNavigationScenario/.project +++ b/BehaviorNavigationScenario/.project @@ -8,12 +8,6 @@ CommNavigationObjects - - org.eclipse.cdt.managedbuilder.core.genmakebuilder - clean,full,incremental, - - - org.eclipse.jdt.core.javabuilder @@ -24,20 +18,12 @@ - - org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder - full,incremental, - - - org.eclipse.cdt.core.cnature - org.eclipse.cdt.managedbuilder.core.ScannerConfigNature org.eclipse.xtext.ui.shared.xtextNature org.eclipse.jdt.core.javanature org.eclipse.cdt.core.ccnature org.smartmdsd.utils.natures.BehaviorNature - org.eclipse.cdt.managedbuilder.core.managedBuildNature diff --git a/BehaviorNavigationScenario/model/BehaviorNavigationScenario.smartTcl b/BehaviorNavigationScenario/model/BehaviorNavigationScenario.smartTcl index bcb79c5..634c0d3 100644 --- a/BehaviorNavigationScenario/model/BehaviorNavigationScenario.smartTcl +++ b/BehaviorNavigationScenario/model/BehaviorNavigationScenario.smartTcl @@ -18,6 +18,54 @@ (backward-dist 500))) +(tcl-kb-update + :key '(is-a name) + :value '( + (is-a location) + (name sofa) + (speech "sofa") + (approach-type (region)) + (approach-region-pose (0 8000 0)) + (approach-region-dist 150) + (approach-exact-pose (0 8000 0)) + (approach-exact-dist 100) + (approach-exact-safetycl 0) + (orientation-region (position 1000 9000)) + (orientation-exact (position 1000 9000)) + (backward-dist 500))) + +(tcl-kb-update + :key '(is-a name) + :value '( + (is-a location) + (name table) + (speech "table") + (approach-type (region)) + (approach-region-pose (2500 -2000 0)) + (approach-region-dist 150) + (approach-exact-pose (2500 -2000 0)) + (approach-exact-dist 100) + (approach-exact-safetycl 0) + (orientation-region (position 2500 -3000)) + (orientation-exact (position 2500 -3000)) + (backward-dist 500))) + +(tcl-kb-update + :key '(is-a name) + :value '( + (is-a location) + (name bench) + (speech "bench") + (approach-type (region)) + (approach-region-pose (-3000 2200 0)) + (approach-region-dist 150) + (approach-exact-pose (-3000 2200 0)) + (approach-exact-dist 100) + (approach-exact-safetycl 0) + (orientation-region (position -4000 2200)) + (orientation-exact (position -4000 2200)) + (backward-dist 500))) + (tcl-kb-update :key '(is-a name) :value '( @@ -116,8 +164,6 @@ ; (execute '(navigationTestTask)) - - ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; REACTIVE NAV ; (execute '(nav1.tcb-reactive-navigation)) @@ -127,8 +173,18 @@ ; (execute '(nav1.tcb-joystick-navigation)) ; (execute '(nav1.tcb-stop-joystick-navigation)) ;; +; (execute '(localizationModInst.tcb-activate-localization)) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; +;; (execute '(cameraInst.activateCameraPush)) +;; (execute '(cameraInst.activateCameraQuery)) +;; (execute '(cameraInst.deactivateCamera)) + +;; (execute '(laserfromrgbdInst.activateLaserGenaration)) +;; (execute '(laserfromrgbdInst.dectivateLaserGenaration)) + + (realize-tcb (navigationTestTask) (action ( diff --git a/BehaviorSLAMRGBdLaserCompare/.project b/BehaviorSLAMRGBdLaserCompare/.project index ccefe4f..c97dc96 100644 --- a/BehaviorSLAMRGBdLaserCompare/.project +++ b/BehaviorSLAMRGBdLaserCompare/.project @@ -9,12 +9,6 @@ DomainVision - - org.eclipse.cdt.managedbuilder.core.genmakebuilder - clean,full,incremental, - - - org.eclipse.jdt.core.javabuilder @@ -25,12 +19,6 @@ - - org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder - full,incremental, - - - org.eclipse.cdt.core.cnature diff --git a/BehaviorSLAMRGBdLaserCompare/model/BehaviorSLAMRGBdLaserCompare.taskRealization b/BehaviorSLAMRGBdLaserCompare/model/BehaviorSLAMRGBdLaserCompare.taskRealization index e9b2744..74f6e76 100644 --- a/BehaviorSLAMRGBdLaserCompare/model/BehaviorSLAMRGBdLaserCompare.taskRealization +++ b/BehaviorSLAMRGBdLaserCompare/model/BehaviorSLAMRGBdLaserCompare.taskRealization @@ -13,4 +13,6 @@ TaskRealizationModel BehaviorSLAMRGBdLaserCompare { //this task realization is a dummy (see smartTCL file) //TaskRealization CommNavigationObjects.testTask { } -} \ No newline at end of file + //(visLaser.startVisualizationOf 'laser1 "ComponentRobotinoLaserServer" "pushNewestServer") + +}