Robobuilder
(Difference between revisions)
m (→External Links) |
m (→External Links) |
||
Line 69: | Line 69: | ||
* [http://www.robosavvy.com/ Robosavvy] (UK distributor) | * [http://www.robosavvy.com/ Robosavvy] (UK distributor) | ||
** [http://robosavvy.com/store/product_info.php/products_id/445 Robobuilder 5710K Humanoid Kit] | ** [http://robosavvy.com/store/product_info.php/products_id/445 Robobuilder 5710K Humanoid Kit] | ||
− | ** [http://robosavvy.com/store/product_info.php/products_id/517 Robobuilder Bluetooth Communication Module] | + | ** [http://robosavvy.com/store/product_info.php/products_id/517 Robobuilder Bluetooth Communication Module] ([http://robosavvy.com/RoboSavvyPages/Robobuilder/Robobuilder_BluetoothInstallationInstructions.pdf installation instructions]) |
− | ** [http://robosavvy.com/store/product_info.php/products_id/456 Robobuilder Triaxial Acceleration Sensor Module] | + | ** [http://robosavvy.com/store/product_info.php/products_id/456 Robobuilder Triaxial Acceleration Sensor Module] ([http://robosavvy.com/RoboSavvyPages/Robobuilder/HowToEquip_AccelerationSensor.pdf installation instructions]) |
** [http://robosavvy.com/RoboSavvyPages/Robobuilder/robobuilder-creator-users-manual.pdf Robobuilder Creator users manual] | ** [http://robosavvy.com/RoboSavvyPages/Robobuilder/robobuilder-creator-users-manual.pdf Robobuilder Creator users manual] | ||
** [http://robosavvy.com/RoboSavvyPages/Robobuilder/RBC_over_Serial_Protocol_v1.13.pdf Serial protocol to communicate with Robobuilder controller] | ** [http://robosavvy.com/RoboSavvyPages/Robobuilder/RBC_over_Serial_Protocol_v1.13.pdf Serial protocol to communicate with Robobuilder controller] |
Revision as of 19:03, 13 October 2009
|
Contents |
Ruby Examples
Using the RBC controller
You can download the Ruby-extension for controlling the Robobuilder using a GNU+Linux PC here:
Here is a small example program which makes the robot get up if it's lying on its back or its front.
#!/usr/bin/env ruby require 'robobuilder' require 'matrix' class Vector def norm Math.sqrt inner_product( self ) end end robot = Robobuilder.new '/dev/ttyUSB0' puts "Robobuilder" puts "Serial number: #{robot.serial_number}" acceleration = Vector[ *robot.accelerometer ] if acceleration.inner_product( Vector[ 0, 0, 1 ] ) > acceleration.norm * 0.97 robot.basic robot.a elsif acceleration.inner_product( Vector[ 0, 0, 1 ] ) < -acceleration.norm * 0.97 robot.basic robot.b end acceleration = Vector[ *robot.accelerometer ] if acceleration.inner_product( Vector[ 0, 1, 0 ] ) > acceleration.norm * 0.97 robot.run 1 end robot.close
Todo
- Implement various commands of direct mode
- Implement commands for uploading motion sequences
- Add support for Bluetooth communication
- Port serial communication module to Windows
- Computer vision feedback using (external) webcam
External Links
- Robobuilder Ltd. (Korean manufacturer)
- Robosavvy (UK distributor)
- Robobuilder 5710K Humanoid Kit
- Robobuilder Bluetooth Communication Module (installation instructions)
- Robobuilder Triaxial Acceleration Sensor Module (installation instructions)
- Robobuilder Creator users manual
- Serial protocol to communicate with Robobuilder controller
- Source code of Robobuilder controller
- Forum post about this Ruby project
- RoboBuilder enhanced with RoBoard (capable of running GNU/Linux)
- Robodance (free software to control toy robots)
- Robobuilder base dance video
- Video of Robobuilder at Roboworld 2008 (Seoul)