Skip to content

Instantly share code, notes, and snippets.

View rwbot's full-sized avatar
🤖
robotting

Chris Rowe rwbot

🤖
robotting
View GitHub Profile
@rwbot
rwbot / cloudSettings
Last active May 17, 2021 21:39
Visual Studio Code Settings Sync Gist
{"lastUpload":"2021-05-17T21:39:40.358Z","extensionVersion":"v3.4.3"}
@rwbot
rwbot / gist:8c3f24bbb61d825d140fcdba79cc7097
Created February 13, 2020 04:30
PCL Interactive ICP on monkey.ply. Only change is XYZ translation from (0,0,0.4) to (1,1,0)
rwbot@carowe:~/test/build$ ./interactive_icp ../monkey.ply
[pcl::PLYReader] ../monkey.ply:14: property 'list uint8 uint32 vertex_indices' of element 'face' is not handled
Loaded file ../monkey.ply (1966 points) in 9 ms
Applying this rigid transformation to: cloud_in -> cloud_icp
Rotation matrix :
| 0.924 -0.383 0.000 |
R = | 0.383 0.924 0.000 |
| 0.000 0.000 1.000 |
@rwbot
rwbot / gist:03866dd176ac514ae09691b2bb9fb98a
Created February 13, 2020 04:27
PCL Interactive ICP on Default Settings, monkey.ply (Code pasted from tutorial)
rwbot@carowe:~/test/build$ ./interactive_icp ../monkey.ply
[pcl::PLYReader] ../monkey.ply:14: property 'list uint8 uint32 vertex_indices' of element 'face' is not handled
Loaded file ../monkey.ply (1966 points) in 11 ms
Applying this rigid transformation to: cloud_in -> cloud_icp
Rotation matrix :
| 0.924 -0.383 0.000 |
R = | 0.383 0.924 0.000 |
| 0.000 0.000 1.000 |
static_transform_publisher
static_transform_publisher x y z yaw pitch roll frame_id child_frame_id period_in_ms
Publish a static coordinate transform to tf using an x/y/z offset in meters and yaw/pitch/roll in radians. (yaw is rotation about Z, pitch is rotation about Y, and roll is rotation about X). The period, in milliseconds, specifies how often to send a transform. 100ms (10hz) is a good value.
static_transform_publisher x y z qx qy qz qw frame_id child_frame_id period_in_ms
Publish a static coordinate transform to tf using an x/y/z offset in meters and quaternion. The period, in milliseconds, specifies how often to send a transform. 100ms (10hz) is a good value.
static_transform_publisher is designed both as a command-line tool for manual use, as well as for use within roslaunch files for setting static transforms. For example:
@rwbot
rwbot / GITCHEATSHEET.md
Last active May 29, 2018 04:13 — forked from hofmannsven/README.md
My simply Git Cheatsheet