An (almost) balancing robot

  • strict warning: Non-static method view::load() should not be called statically in /home/bigge1973/webapps/cr1/sites/all/modules/views/views.module on line 906.
  • strict warning: Declaration of views_handler_filter::options_validate() should be compatible with views_handler::options_validate($form, &$form_state) in /home/bigge1973/webapps/cr1/sites/all/modules/views/handlers/views_handler_filter.inc on line 607.
  • strict warning: Declaration of views_handler_filter::options_submit() should be compatible with views_handler::options_submit($form, &$form_state) in /home/bigge1973/webapps/cr1/sites/all/modules/views/handlers/views_handler_filter.inc on line 607.
  • strict warning: Declaration of views_handler_filter_boolean_operator::value_validate() should be compatible with views_handler_filter::value_validate($form, &$form_state) in /home/bigge1973/webapps/cr1/sites/all/modules/views/handlers/views_handler_filter_boolean_operator.inc on line 159.
  • strict warning: Declaration of views_plugin_row::options_validate() should be compatible with views_plugin::options_validate(&$form, &$form_state) in /home/bigge1973/webapps/cr1/sites/all/modules/views/plugins/views_plugin_row.inc on line 134.
  • strict warning: Declaration of views_plugin_row::options_submit() should be compatible with views_plugin::options_submit(&$form, &$form_state) in /home/bigge1973/webapps/cr1/sites/all/modules/views/plugins/views_plugin_row.inc on line 134.

A little video of our own attempt to make a balancing robot - we didn't have a gyro so we used a pair of IR range-finders, each pointing at the floor, and used them to work out the angle of the robot.

We also added a bunch of potentiometers on the top to make it easy to manually tune up the proportional and derivative gains, and adjust the balance set point.

My PID (which still lacks the I component at the moment) still needs some work.

Forum Submit