Skip to main content

Home/ Robotics/ Group items tagged algorithm

Rss Feed Group items tagged

York Jong

PHOTORESISTOR ALGORITHMS - 0 views

  • pseudocode: read left_photoresistor read right_photoresistor if left_photoresistor detects more light than right_photoresistor then turn robot left if right_photoresistor detects more light than left_photoresistor then turn robot right if right_photoresistor detects about the same as left_photoresistor then robot goes straight loop
  • Photovore Algorithm, Improved This algorithm does the same as the original, but instead of case-based it works under a more advanced Fuzzy Logic control algorithm. Your robot will no longer just have the three modes of turn left, turn right, and go forward. Instead will have commands like 'turn left by 10 degrees' or 'turn right really fast', and with no additional lines of code! pseudocode: read left_photoresistor read right_photoresistor left_motor = (left_photoresistor - right_photoresistor) * arbitrary_constant right_motor = (right_photoresistor - left_photoresistor) * arbitrary_constant loop
  • ...1 more annotation...
  • Photovore, Split Brain Approach This algorithm works without comparison of photoresistor values. Instead, just command the right motor based on light from the right sensor, and the left motor with only data from the left sensor. You can also get interesting variations by reversing the sensors for a cross-brain algorithm. pseudocode: read left_photoresistor read right_photoresistor move left_wheel_speed = left_photoresistor * arbitrary_constant move right_wheel_speed = right_photoresistor * arbitrary_constant loop
  •  
    The photovore is a robot that chases light, and is perhaps the simplest of all sensor algorithms. If you are a beginner, this should be your first algorithm.
York Jong

CAROLL: a Cheap Autonomous Robot for On-Line Learning - 0 views

  • The algorithm used here is a simple Q-learning algorithm
  •  
    This document describes the conception, building and programmation of a non-expensive autonomous wheeled robot, using as few electronic parts and special skills as possible. It makes use of a cheap but strong micro-controller, with enough program and data
York Jong

PROGRAMMING - PID CONTROL - 0 views

  • The only time you will need this term is when acceleration plays a big factor with your robot. If your robot is really heavy, or gravity is not on it's side (such as steep hills), then you will need the integral term.
  • The sampling rate is the speed at which your control algorithm can update itself.
  • To increase sampling rate, you want an even faster update of sensor readings, and minimal delay in your program loop.
1 - 3 of 3
Showing 20 items per page