|
SMORES Robot Platform Simulation
Modlab at Penn, ASL at Cornell
|
Provides some simple kinematic functions. More...
Functions | |
| def | rotx |
| Rotation matrix around x axis. More... | |
| def | roty |
| Rotation matrix around y axis. More... | |
| def | rotz |
| Rotation matrix around z axis. More... | |
| def | CloseEnough |
| Checks whether two faces close enough. More... | |
| def | Connectable |
| Giving position of two modules to check which faces can be connected. More... | |
Provides some simple kinematic functions.
| def SimpleKL.CloseEnough | ( | pos1, | |
| pos2 | |||
| ) |
Checks whether two faces close enough.
| pos1 | Face norm vector of the first face |
| pos2 | Face norm vector of the second face |
| def SimpleKL.Connectable | ( | module1, | |
| joint1, | |||
| module2, | |||
| joint2 | |||
| ) |
Giving position of two modules to check which faces can be connected.
| pos1 | Position of the first module 1 |
| joint1 | List of joint anlges of module 1 |
| pos1 | Position of the first module 2 |
| joint1 | List of joint anlges of a module 2 |
| def SimpleKL.rotx | ( | row | ) |
Rotation matrix around x axis.
| row | Row |
| def SimpleKL.roty | ( | pitch | ) |
Rotation matrix around y axis.
| pitch | Pitch |
| def SimpleKL.rotz | ( | yaw | ) |
Rotation matrix around z axis.
| yaw | Yaw |