-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Calibrate Unit D Multisense, add automatic general setup to drc_environment.sh #95
Merged
wxmerkt
merged 17 commits into
openhumanoids:master
from
oh-dev:calibrate-unit-d-multisense
Mar 5, 2016
Merged
Changes from 5 commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
0fc4e29
Multisense S/N 50 calibration (Unit D)
wxmerkt 50bc0db
Unit D robot_d.cfg
wxmerkt a40489f
robot_C.cfg and robot_D.cfg instead of robot.cfg
wxmerkt cff3caa
Update drc_environment.sh to automatically set Valkyrie IPs for MIT a…
wxmerkt 29ec451
less noisy unless on operator workstation
wxmerkt 42ce53a
Change drc_environment logic to not use nslookup but hard-coded opera…
wxmerkt fbba639
Change names to be clearer
wxmerkt 5ff2f41
Workstation now named vis04
wxmerkt fe2af77
Add runval
wxmerkt 46022e4
Remove unit selector from robot.pmd
wxmerkt bd116c2
Rename robot.cfg (D for default for now), and multisense to include D
wxmerkt fd42200
change pmd and cfg
wxmerkt e630bbf
Break out MIT and Edinburgh Val Setup
wxmerkt 324f92d
Zap line
wxmerkt 64030bf
Revert to single Valkyrie Computer setup
wxmerkt 8043908
Renamed multisense for unit X
wxmerkt c5e49db
minor
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,141 @@ | ||
# sensor head on unit C in Jan 2016 | ||
|
||
coordinate_frames { | ||
|
||
################## Sensor Frames ################################### | ||
CAMERA_LEFT { | ||
# this cannot change - its rigid | ||
relative_to = "head"; | ||
history = 1000; | ||
update_channel = "HEAD_TO_LEFT_CAMERA_OPTICAL_FRAME"; | ||
initial_transform{ | ||
# location of left camera: | ||
translation = [ 0.0, 0.035, -0.002]; | ||
rpy = [ -90.0, 0.0, -90.0]; | ||
} | ||
} | ||
|
||
CAMERA_RIGHT { | ||
relative_to = "CAMERA_LEFT"; | ||
history = 1000; | ||
update_channel = "CAMERA_LEFT_TO_CAMERA_RIGHT"; | ||
initial_transform{ | ||
translation = [ 0.070, 0.0, 0.0]; | ||
rpy = [ 0.0, 0.0, 0.0]; | ||
} | ||
} | ||
|
||
|
||
################## Path from Camera to Laser: #################################### | ||
PRE_SPINDLE { | ||
# rosrun tf tf_echo multisense/left_camera_optical_frame multisense/motor | ||
relative_to = "CAMERA_LEFT"; | ||
history = 5000; | ||
update_channel = "CAMERA_LEFT_TO_PRE_SPINDLE"; | ||
initial_transform{ | ||
translation = [0.044, -0.085, -0.013]; | ||
rpy = [0.721, -0.419, -29.660]; | ||
} | ||
} | ||
|
||
POST_SPINDLE { | ||
relative_to = "PRE_SPINDLE"; | ||
history = 5000; | ||
max_frequency = 100; | ||
update_channel = "PRE_SPINDLE_TO_POST_SPINDLE"; | ||
initial_transform{ | ||
# pure rotation transform | ||
translation = [ 0.0, 0.0, 0.0 ]; | ||
quat = [ 1,0,0,0 ]; | ||
} | ||
} | ||
|
||
SCAN { | ||
relative_to = "POST_SPINDLE"; | ||
history = 5000; | ||
update_channel = "POST_SPINDLE_TO_SCAN"; | ||
initial_transform{ | ||
# rosrun tf tf_echo multisense/spindle multisense/head_hokuyo_frame | ||
translation = [-0.001, 0.015, 0.000]; | ||
rpy = [47.496, -89.187, -137.493]; | ||
} | ||
} | ||
|
||
SCAN_FREE { | ||
relative_to = "SCAN"; | ||
history = 1000; | ||
update_channel = "SCAN_TO_SCAN_FREE"; | ||
initial_transform{ | ||
translation=[ 0.0 , 0.0 , 0.0 ]; | ||
rpy = [0.0 , 0.0 , 0.0 ]; | ||
} | ||
} | ||
|
||
} | ||
|
||
|
||
cameras { | ||
# fx fy skew cx cy | ||
CAMERA_LEFT { | ||
lcm_channel = "CAMERA_LEFT"; | ||
coord_frame = "CAMERA_LEFT"; | ||
intrinsic_cal{ | ||
width = 1024; | ||
height= 1024; | ||
distortion_model = "plumb-bob"; | ||
distortion_k = [0,0,0]; | ||
distortion_p = [0,0]; | ||
pinhole = [ 556.183166504, 556.183166504, 0, 512.0, 512.0 ]; | ||
} | ||
} | ||
|
||
CAMERA_RIGHT { | ||
lcm_channel = "CAMERA_RIGHT"; | ||
coord_frame = "CAMERA_RIGHT"; | ||
intrinsic_cal{ | ||
width = 1024; | ||
height= 1024; | ||
distortion_model = "plumb-bob"; | ||
distortion_k = [0,0,0]; | ||
distortion_p = [0,0]; | ||
pinhole = [ 556.183166504, 556.183166504, 0, 512.0, 512.0 ]; | ||
} | ||
} | ||
|
||
CAMERA { | ||
lcm_channel = "CAMERA"; | ||
type = "stereo"; | ||
rotation = [1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0]; | ||
translation = [-0.0700, 0.0, 0.0]; | ||
} | ||
} | ||
|
||
|
||
planar_lidars { | ||
SCAN { | ||
viewer_color = [ 1.0, 0.0, 0.0 ]; # red | ||
max_range = 29.0; | ||
min_range = 0.1; | ||
frequency = 40; | ||
laser_type = "HOKUYO_UTM"; | ||
coord_frame = "SCAN"; | ||
lcm_channel = "SCAN"; | ||
surround_region = [0, 1000000]; | ||
up_region = [-1,-1]; | ||
down_region = [-1, -1]; | ||
max_range_free_dist = 29.0; | ||
} | ||
SCAN_FREE { | ||
viewer_color = [ 0.0, 0.0, 1.0 ]; # blue | ||
max_range = 29.0; | ||
min_range = 0.1; | ||
frequency = 40; | ||
laser_type = "HOKUYO_UTM"; | ||
coord_frame = "SCAN"; | ||
lcm_channel = "SCAN_FREE"; | ||
surround_region = [0, 1000000]; | ||
up_region = [-1,-1]; | ||
down_region = [-1, -1]; | ||
max_range_free_dist = 29.0; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
INCLUDE = [ | ||
"core_config.cfg", | ||
"multisense_50.cfg", | ||
"../atlas/common_components.cfg", | ||
"../atlas_sim_mit/control.cfg", | ||
"state_estimation.cfg" | ||
]; |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lets revise this before mergin
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Revised as on the observer workstation, still need to pull onto operator workstation once reconnected to network. Ready to merge