Ohbot
  • OH
  • Buy
    • Ohbot
    • Picoh
    • Accessories
    • Compare Robots
  • Get Started
    • Assemble Ohbot Kit
    • Get Started Ohbot
    • Get Started Picoh
    • Accessories
    • Technical Notes
    • Support
  • Learn
    • Block Programming
    • Python Programming >
      • Programming Ohbot
      • Programming Picoh
    • Share
<-Ohbot SCHEME

Year 3 - Lesson 6
(Debugging)

Picture
Learning Intention
  • I can test and debug my instructions.

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

​Teacher Input 1
There are some differences between using the simulator in the Ohbot 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). 
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.  Ohbot has 7 motors.  Like all Ohbot instructions the value you can input ranges between 0 and 10. 

As Ohbot 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.

Ohbot 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 Ohbot 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, on the physical Ohbot the robot.
Picture
​Extension
Can you add any new code to any of your programmes to improve them?
 
Plenary
Evaluation of the Ohbot project.  Children to complete the following feedback.

Picture
OH

About
Ohbot Robots
Our Story
Follow us
Contact
Buy
Ohbot
Picoh
Accessories
Order enquiries


Get Started
​Assemble Ohbot Kit
Ohbot
Picoh
Ohbot Accessories
Technical Notes

Support

Learn
Block Programming
  Ohbot Python
  Picoh Python    Share
​
​Ohbot Ltd.
5 Halliday's Mill
London Road, Chalford
Gloucestershire, GL6 8NR, UK
Picture
Picture
Picture
Picture
Picture
Copyright © Ohbot Ltd.  All rights reserved.
​Ohbot
® is a registered trademark of Ohbot Ltd.
  • OH
  • Buy
    • Ohbot
    • Picoh
    • Accessories
    • Compare Robots
  • Get Started
    • Assemble Ohbot Kit
    • Get Started Ohbot
    • Get Started Picoh
    • Accessories
    • Technical Notes
    • Support
  • Learn
    • Block Programming
    • Python Programming >
      • Programming Ohbot
      • Programming Picoh
    • Share