Ejemplo n.º 1
0
 public void Run(IBackgroundTaskInstance taskInstance)
 {
     RobotMessenger.LoadAndPrepareSkill
     (
         taskInstance,
         new RespondToTouchSensors()
     );
 }
Ejemplo n.º 2
0
 public void Run(IBackgroundTaskInstance taskInstance)
 {
     RobotMessenger.LoadAndPrepareSkill
     (
         taskInstance,
         new MoveArmsAndHead()
     );
 }
Ejemplo n.º 3
0
 public void Run(IBackgroundTaskInstance taskInstance)
 {
     RobotMessenger.LoadAndPrepareSkill
     (
         taskInstance,
         new Wander(),
         SkillLogLevel.Verbose
     );
 }
Ejemplo n.º 4
0
 public void Run(IBackgroundTaskInstance taskInstance)
 {
     //Load your skill and attach to the Misty robot
     RobotMessenger.LoadAndPrepareSkill
     (
         taskInstance,
         new MistyNativeSkill(),
         SkillLogLevel.Verbose
     );
 }
Ejemplo n.º 5
0
        /*
         * Current intro skills in (somewhat) order of complexity:
         *
         *      SkillTemplate,  //empty skill template you can use to build your skills
         *
         *      MostlyHarmlessSkill,
         *      MostlyHarmlessTooSkill,
         *      HelloWorldSkill,
         *      HelloAgainWorldSkill,
         *      LookAroundSkill,
         *      InteractiveMistySkill,
         *      ForceDriving,
         *      HelloLocomotionSkill
         *
         *      Change the skill below and re-deploy to run the skill
         *
         *      If you want to run multiple at the same time, you will need to make a Skill Background Task for each skill and deploy individually - see below or documentation for more details.
         *
         */

        public void Run(IBackgroundTaskInstance taskInstance)
        {
            //Call LoadAndPrepareSkill to register robot events and add an instance of the robot interface to the skill

            RobotMessenger.LoadAndPrepareSkill
            (
                //Background task instance passed in for task management, managed by system
                taskInstance,

                //Instance of your skill
                new ForceDriving(),

                //Skill Log Level to start in
                SkillLogLevel.Verbose,

                //Overwrite default logging preface to help label runs in log
                "Skill Test Run #1 => "
            );
        }
Ejemplo n.º 6
0
 public void Run(IBackgroundTaskInstance taskInstance)
 {
     RobotMessenger.LoadAndPrepareSkill(taskInstance, new UnitTestExampleSkill());
 }
Ejemplo n.º 7
0
 public void Run(IBackgroundTaskInstance taskInstance)
 {
     RobotMessenger.LoadAndPrepareSkill(taskInstance, new TextToSpeech());
 }
 public void Run(IBackgroundTaskInstance taskInstance)
 {
     RobotMessenger.LoadAndPrepareSkill(taskInstance, new MistyNativeSkill(), MistyRobotics.Common.Types.SkillLogLevel.Verbose);
 }
Ejemplo n.º 9
0
 public void Run(IBackgroundTaskInstance taskInstance)
 {
     RobotMessenger.LoadAndPrepareSkill(taskInstance, new GrossMisty());
 }