Ohbot
  • OH
  • About
    • Our Story
    • Follow us
    • Invest
    • Consultancy
    • Contact
  • Buy
    • Ohbot
    • Picoh
    • Accessories
    • Compare Robots
    • Resellers
  • Get Started
    • Ohbot Kit
    • Ohbot Assembled
    • Picoh
    • Accessories
    • Technical Notes
    • Languages
    • Support
  • Learn
    • to program Picoh
    • to program Ohbot
    • AI
    • Robot Work
    • Share
<-PICOH SCHEME

Sequence 1 - Lesson 6: Debugging

Picture
Learning Intention

I can test and debug my instructions. ​



This week we will be testing all the programs we have written by running them on Picoh the robot. If the programs do not make sense Picoh will not work. If this is the case you need to debug the program and test it again until Picoh the robot performs the moves you intended it to.

Teacher Input 1

There are some differences between using the simulator in the Picoh program and using a physical robot. On the Motion palette there’s an instruction we have not yet used because it only applies to the physical robot. Which instruction do you think it is? (set speed to). 
Picture
The simulator works at a constant speed. However, the motors on the robot take some time to move. This instruction allows you to adjust the speed of the motor. Picoh has 3 motors. Like all Picoh instructions the value you can input ranges between 0 and 10.

As Picoh needs more time to complete a move using a physical robot, you may need to increase the wait times to allow it to finish a move before it starts the next one, particularly if using head nod and head turn.

Picoh is controlled by the code in the program. Remind them of the need to take turns.

​Divide the class into equal sized groups. Send them to the computer workstations where Picoh the robot has been set up. Children to take it in turns to log on to the workstation and run 4 or 5 of the programs they have written this half term. Do the programs work? Can they debug the program to fix it? Children to take it in turns within the group to run their programs. 
Activity

Test and debug the code you have written on the simulator, or on the physical Picoh the robot​
Extension

Can you add any new code to any of your programmes to improve them?

Plenary
​

Evaluation of the Picoh project. Children to complete the following feedback.
Picture
Picture
OH

About
Our Story
Follow us
​Invest
Contact
Buy
Ohbot
Picoh
Accessories
​
Compare Robots
Resellers
Services

Get Started
​Ohbot Kit
Ohbot
Picoh
Ohbot Accessories
Technical Notes

Languages
Support

Learn
to program Picoh

to program Ohbot
Share
​
Picture
Picture
Picture
Picture
Picture
​Ohbot Ltd. 2A Halliday's Mill, London Road, Chalford, Gloucestershire, GL6 8NR, UK
Copyright © Ohbot Ltd.  All rights reserved.
​Ohbot
® is a registered trademark of Ohbot Ltd.
  • OH
  • About
    • Our Story
    • Follow us
    • Invest
    • Consultancy
    • Contact
  • Buy
    • Ohbot
    • Picoh
    • Accessories
    • Compare Robots
    • Resellers
  • Get Started
    • Ohbot Kit
    • Ohbot Assembled
    • Picoh
    • Accessories
    • Technical Notes
    • Languages
    • Support
  • Learn
    • to program Picoh
    • to program Ohbot
    • AI
    • Robot Work
    • Share