Here are some background details on Darwin.
Darwin uses the Ubuntu OS and CPp to run. For the vision aspect, I should be using OpenCV to tweak with the images.
It uses simulation program Webots to carry out simulation.
Basics of setting up the robots can be found at the Robotis website.
As a start to familiarizing with Darwin, connect Darwin to the router via an Ethernet cable and log into it via Secure Shell (SSH).
There are other ways to connect to Darwin to be picked up along the way.
NOTE: We have upgraded Darwin to Ubuntu 12.04 server. This means that it does not have GUI like a normal computer. To modify and play around with the codes in Darwin, import them into your own computer to edit and export them back into Darwin to execute, via the use of the Ubuntu Terminal ONLY. Search the Internet for the relevant codes to achieve this.
Another way you can modify the source codes would be to use the command sudo nano /path/to/C++/text/ to open up the text file and edit right inside Darwin.
vi or vim is another way to do so but i prefer nano.
Logging into the robot is different from what the Robotis website described as the DASL team has tweaked the authorization for specific purposes.
Instead, here is the method.
$ sudo su # ssh username@hostname
Note: if code starts with $, it means code is keyed in the ordinary/non-privileged user account, if it starts with #, code is keyed in the root/superuser account. You will need to enter the password set by the user. *Welcome!You're inside Darwin!
Again the IP address of DASL's Darwin is different from what the tutorial has stated. Use the ifconfig
command in Darwin to get it. The IP adress is the string of numbers that appear after inet addr:.
$ sudo su # shutdown -h 0
The value 0 behind -h means 0 seconds is given before the robot shuts down, that means shut down NOW!