-
Notifications
You must be signed in to change notification settings - Fork 41
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
[pr2eus] change pr2 camera frame namespace from /openni to /kinect_head #153
Conversation
did you check rostest on your local environment?
|
@k-okada In my local machine, it fails only on |
please look into the error message and source code to understand wha is the ◉ Kei Okada On Mon, Jul 27, 2015 at 6:37 PM, Furushchev [email protected]
|
MEMO (ros::roseus "hoge")
(load "pr2.l")
(load "pr2-interface.l")
(pr2)
(setq *ri* (instance pr2-interface :init))
(setq *tfl* (instance ros::transform-listener :init))
(ros::spin-once)
(send *ri* :spin-once)
(send *pr2* :angle-vector (send *ri* :state :potentio-vector))
(setq frame "head_mount_kinect_ir_optical_frame")
(setq lk (send *pr2* (intern (string-upcase (format nil "~A_lk" frame)) *keyword-package*)))
(send *tfl* :wait-for-transform "/base_footprint" (format nil "/~A" frame) (ros::time 0) 10)
(setq c (send *tfl* :lookup-transform "/base_footprint" (format nil "/~A" frame) (ros::time 0)))
(while lk
(warn "~A diff-pos: ~A, diff-rot: ~A~%"
frame (norm (send lk :difference-position c)) (norm (send lk :difference-rotation c)))
(setq lk (send lk :parent))
(setq frame (send lk :name))
(send *tfl* :wait-for-transform "/base_footprint" (format nil "/~A" frame) (ros::time 0) 10)
(setq c (send *tfl* :lookup-transform "/base_footprint" (format nil "/~A" frame) (ros::time 0)))
)
head_mount_kinect_ir_optical_frame diff-pos: 6.78835, diff-rot: 0.020766
head_mount_kinect_ir_link diff-pos: 6.78835, diff-rot: 0.020766
head_mount_link diff-pos: 4.0137, diff-rot: 0.020766
head_plate_frame diff-pos: 1.42339, diff-rot: 0.020766
head_tilt_link diff-pos: 2.343718e-13, diff-rot: 0.020766
head_pan_link diff-pos: 2.343819e-13, diff-rot: 3.469447e-17
torso_lift_link diff-pos: 2.291431e-13, diff-rot: 0.0
base_link diff-pos: 2.842171e-14, diff-rot: 0.0
base_footprint diff-pos: 0.0, diff-rot: 0.0 |
After $ roseus test-show-diff.l
configuring by "/home/furushchev/ros/hydro_parent/devel/share/euslisp/jskeus/eus//lib/eusrt.l"
;; readmacro ;; object ;; packsym ;; common ;; constants ;; stream ;; string ;; loader ;; pprint ;; process ;; hashtab ;; array ;; mathtran ;; eusdebug ;; eusforeign ;; coordinates ;; tty ;; history ;; toplevel ;; trans ;; comp ;; builtins ;; par ;; intersection ;; geoclasses ;; geopack ;; geobody ;; primt ;; compose ;; polygon ;; viewing ;; viewport ;; viewsurface ;; hid ;; shadow ;; bodyrel ;; dda ;; helpsub ;; eushelp ;; xforeign ;; Xdecl ;; Xgraphics ;; Xcolor ;; Xeus ;; Xevent ;; Xpanel ;; Xitem ;; Xtext ;; Xmenu ;; Xscroll ;; Xcanvas ;; Xtop ;; Xapplwin
;; pixword ;; RGBHLS ;; convolve ;; piximage ;; pbmfile ;; image_correlation ;; oglforeign ;; gldecl ;; glconst ;; glforeign ;; gluconst ;; gluforeign ;; glxconst ;; glxforeign ;; eglforeign ;; eglfunc ;; glutil ;; gltexture ;; glprim ;; gleus ;; glview ;; toiv-undefined ;; fstringdouble irtmath irtutil irtc irtgeoc irtgraph pgsql irtgeo euspqp pqp irtscene irtmodel irtdyna irtrobot irtsensor irtbvh irtcollada irtpointcloud irtx eusjpeg euspng png irtimage irtglrgb
;; extending gcstack 0x4833420[16374] --> 0x4c68b00[32748] top=37b8
irtgl irtviewer
EusLisp 9.12(fada0ef 1.0.4) for Linux64 created on pr1012(Thu Jun 18 07:20:07 PDT 2015)
roseus ;; loading roseus("ff5d0b3") on euslisp((9.12 pr1012 Thu Jun 18 07:20:07 PDT 2015 fada0ef 1.0.4))
eustf roseus_c_util head_mount_kinect_ir_optical_frame diff-pos: 9.124390e-13, diff-rot: 1.195665e-15
head_mount_kinect_ir_link diff-pos: 9.096213e-13, diff-rot: 9.714453e-17
head_mount_link diff-pos: 2.283707e-13, diff-rot: 9.714453e-17
head_plate_frame diff-pos: 4.549693e-13, diff-rot: 9.714453e-17
head_tilt_link diff-pos: 4.549693e-13, diff-rot: 9.714453e-17
head_pan_link diff-pos: 4.582863e-13, diff-rot: 1.084202e-19
torso_lift_link diff-pos: 1.171857e-13, diff-rot: 0.0
base_link diff-pos: 2.842171e-14, diff-rot: 0.0
base_footprint diff-pos: 0.0, diff-rot: 0.0 |
293d28b
to
9b589d6
Compare
travis passed. if there is no problem, please merge |
[pr2eus] change pr2 camera frame namespace from /openni to /kinect_head
@furushchev @h-kamada @chiwunau this changed pr2.l so it will change demo behavior, please chekck with your demo code using latest pr2.l |
ref: #149