Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • L laser_plane_scanner
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Cmíral Jakub
  • laser_plane_scanner
  • Wiki
  • rotation_table

rotation_table · Changes

Page history
cmirajak created page: rotation_table authored Sep 15, 2016 by Cmíral Jakub's avatar Cmíral Jakub
Hide whitespace changes
Inline Side-by-side
rotation_table.md
View page @ 3486fc07
# Rotation table # Rotation table
--- ---
We use rotation table connected to MARS 8 unit for rotating object. We use a rotation table connected to the MARS 8 unit for rotating an object.
## Communication ## Communication
Communication is done via USB and serial communication module inside the unit (setting and communication commands can be found [there](http://cmp.felk.cvut.cz/~pisa/mars8/mars8_man_cz.pdf)). For easy communication with the unit there is python package called MarsTable, which can perform all necessary operation for you. The communication is done via USB and a serial communication module inside the unit (setting and communication commands can be found [there](http://cmp.felk.cvut.cz/~pisa/mars8/mars8_man_cz.pdf)). For easy communication with the unit there is a python package called MarsTable, which can perform all necessary operation for you.
## Table setting ## Table setting
Table setting is using a YAML file config as follows: The table setting is using an YAML file config as follows:
```yaml ```
regulator : regulator :
P : 200 P : 200
I : 0 I : 0
...@@ -18,7 +18,7 @@ regulator : ...@@ -18,7 +18,7 @@ regulator :
--- ---
## Finding the rotation axis of table ## Finding the rotation axis of table
The rotation axis can be found when we put the calibration chessboard on table and collect some images with different rotations. Thus, we can find transformations between these boards and camera and determine the rotation axis of table. The rotation axis can be found when we put the calibration chessboard on the table and collect some images with different rotations. Thus, we can find transformations between these boards and camera and determine the rotation axis of table.
We are looking for axis described as direction vector ![alt text](http://mathurl.com/jm7yc4a.png) and translation vector ![alt text](http://mathurl.com/hrfjerk.png). We are looking for axis described as direction vector ![alt text](http://mathurl.com/jm7yc4a.png) and translation vector ![alt text](http://mathurl.com/hrfjerk.png).
...@@ -42,4 +42,10 @@ Thus, we end up with: ...@@ -42,4 +42,10 @@ Thus, we end up with:
![alt text](http://mathurl.com/jgluop4.png) ![alt text](http://mathurl.com/jgluop4.png)
### Direction vector
Next, we have to find a vector ![alt text](http://mathurl.com/jm7yc4a.png). We know that when we move it back to the origin with vector ![alt text](http://mathurl.com/jntzz6q.png). This vector must remind same. So we remain with equation:
![alt text](http://mathurl.com/zjeuyqv.png)
As we can see all eigenvectors of ![alt text](http://mathurl.com/5unln6.png) can satisfy this. We calculate them and select the one corresponding to the smallest eigenvalue.
Clone repository
  • estimate_laser_plane
  • find_camera_mtx
  • Home
  • laser_trace
  • new_base_coords
  • rotation_table
  • simple setup