Sorry for all the people who couldn’t watch the Reprap move in 3D last friday in Bilbao, it’s finally working tonight!
The code to control the robot is really elegant, and it was not really hard to find the missing part to make it work properly.
I’ve also add a setMax() method on the axises, so the hardware opto-endstop are not needed anymore. but it’ll be cool to keep them just to use them to set the print-header home. I think I’ve seen some example like this somewhere, but I’m not usre yet how it works.
Once installed, only one shortcut is available to make and upload your program on the Arduino board: Command-Shift-A
You can clone/fork the project from Github too, make your own repository and I’ll be glad to add your patch to the current simple bundle.
And come back during the week, you’ll surely see some update during the intensive RepRap hack session!
In the package, you need to edit some configuration in web/config.php:
* The administrator's email address. You may leave this empty if you
* wish. If empty, the "Contact (email address)" message will not
* appear on every page footer.
* Set these values for administrative access. This account will be
* able to create and remove accounts from the auth backend. This
* username will not be permitted to use an OpenID. The password MUST
* be an MD5 hexadecimal hash of the password you want to use.
* define('ADMIN_PASSWORD_MD5', '21232f297a57a5a743894a0e4a801fc3');
* Storage backend to use. Currently the only choice is "MYSQL". See
* storage.php for storage backend implementations. Parameters for
* connecting to the storage backend. See storage.php if you want to
* create your own backend.
$storage_parameters = array('username' => 'openid',
'password' => '',
'database' => 'php_openid_server',
'hostspec' => 'localhost');
There are more options you can change in config.php, feel free to experiment
Link to HTTP server
You need to tell to your server to access OpenID server in the ‘web‘ directory.
Here is how it works on my webhost: