IOC Robotic's Lab

Installing the node

The platform node can be downloaded from a git repository by:

 $ git clone ssh://ris/gitroot/kinematic.git kinematic.git

The node has to be moved inside the platform and to install the package proceed as:

  1. $ ssh lplatform (or $ ssh saturno)
  2. $ source /opt/orocos-toolchain/env.sh
  3. $ cd Complete_package (or whichever folder contains the soem and platform nodes, and the generator and joystick folders)
  4. $ sudo su
  5. $ cd generator
  6. $ make install
  7. $ cd ..
  8. $ cd joystick
  9. $ make install
  10. $ cd ..
  11. $ cd platform
  12. $ make install
  13. $ cd ..
  14. $ cd soem_slave
  15. $ make install
  16. $ cd ..
  17. $ cd soem_master
  18. $ make install
  19. $ cd ..
  20. $ cd soem_SGDV
  21. $ make install
  22. $ cd ..

Moving the BMM programmatically

The BMM can be moved following a trajectory previously defined in a file.

Defining a path

The path has to be defined in the file 'pathPoints.dat', located in the folder '/Complete_package'. The format is as follows:

(0,0,0,0)
(1,0,0,0)
(4,1,0,0)

with (t,x,y,phi) as:
t = time in seconds. Time is absolute starting from the initial configuration so t(i+1) > t(i).
(x,y) = absolute position in metres. The origin will be the initial position.
phi = angle in radians with -π <= phi <= π (range to be confirmed)

The axis are defined as plotted in the picture:

Executing the path

  1. Set ON the platform motors
  2. $ ssh lplatform (or $ ssh saturno)
  3. $ source /opt/orocos-toolchain/env.sh
  4. Only once when setting ON the motors: $ sudo ifup eth4
  5. $ cd Complete_package (or whichever folder contains the platform package)
  6. $ sudo su
  7. $ deployer-gnulinux -s Control_by_Generator.ops
 Some errors may appear when loading the deployer. It's fine. Then the platform will move.

Stopping the node without turning off the motors

 Inside the deployer:
  1. cd Platform
  2. > stop
  3. Quit the deployer: "> quit" or "ctrl+D"
  4. Go to step 6 to execute another path.

WARNING: Any other practice to stop the motors (directly shooting of the drivers or stopping/restarting other orocos nodes) may lead to extremely dangerous high-speed movements of the platforms.

Moving the BMM manually, using a Joystick

  1. Set ON the platform motors and plug-in the joystick
  2. $ ssh lplatform (or $ ssh saturno)
  3. $ source /opt/orocos-toolchain/env.sh
  4. Only once when setting ON the motors: $ sudo ifup eth4
  5. $ cd Complete_package (or whichever folder contains the platform package)
  6. $ sudo su
  7. $ deployer-gnulinux -s Control_by_Joystick.ops

Stopping the node without turning off the motors

 Inside the deployer:
  1. Push the botton number 2 in the joystick.
  2. Quit the deployer: "> quit" or "ctrl+D"
  3. Go to step 6 to execute another path.

WARNING: Any other practice to stop the motors (directly shooting of the drivers or stopping/restarting other orocos nodes) may lead to extremely dangerous high-speed movements of the platforms.

Using the Orocos Ports

Under construction