ros-visualization / rqt_pose_view Goto Github PK
View Code? Open in Web Editor NEWHome Page: http://wiki.ros.org/rqt_pose_view
Home Page: http://wiki.ros.org/rqt_pose_view
Hi, I think it would be useful to have an optional node parameter for which topic the node should listen to for Imu messages. Then it will be possible to put pose view in a launch script without having to do the topic drag-and-drop manually while running. Thoughts?
I just tested pose view with a sequence of simple rotations, and the box in the visualization appears to rotate the correct amount around the correct axis, but in the wrong direction.
These are the rotations I tried and the results I got:
roll | pitch | yaw | q.x | q.y | q.z | q.w | result | expectation |
---|---|---|---|---|---|---|---|---|
15° | 0 | 0 | .13 | 0 | 0 | .99 | neg. roll | pos. roll |
0 | 15° | 0 | 0 | .13 | 0 | .99 | neg. pitch | pos. pitch |
0 | 0 | 15° | 0 | 0 | .13 | .99 | neg. yaw | pos. yaw |
-15° | 0 | 0 | -.13 | 0 | 0 | .99 | pos. roll | neg. roll |
0 | -15° | 0 | 0 | -.13 | 0 | .99 | pos. pitch | neg. pitch |
0 | 0 | -15° | 0 | 0 | -.13 | .99 | pos. yaw | neg. yaw |
I'm assuming that the colors in pose view are (red = x), (green = y), (blue = z), and that it uses right-handed rotations. Is that correct?
(I used http://www.andre-gaschler.com/rotationconverter/ to calculate quaternions to test based on roll/pitch/yaw values. Since the rotations are simple, Euler angle convention should not matter, but I had it set to ZYX.)
I try to run it like this:
rqt --standalone rqt_pose_view
I directly get these error or warnings:
0x23ff320 void QWindowPrivate::setTopLevelScreen(QScreen*, bool) ( QScreen(0x2aec0b0) ): Attempt to set a screen on a child window.
0x23ff810 void QWindowPrivate::setTopLevelScreen(QScreen*, bool) ( QScreen(0x2aec0b0) ): Attempt to set a screen on a child window.
0x23ffc10 void QWindowPrivate::setTopLevelScreen(QScreen*, bool) ( QScreen(0x2aec0b0) ): Attempt to set a screen on a child window.
0x23f75a0 void QWindowPrivate::setTopLevelScreen(QScreen*, bool) ( QScreen(0x2aec0b0) ): Attempt to set a screen on a child window.
0x23ffc10 void QWindowPrivate::setTopLevelScreen(QScreen*, bool) ( QScreen(0x2aec0b0) ): Attempt to set a screen on a child window.
0x3e34fc0 void QWindowPrivate::setTopLevelScreen(QScreen*, bool) ( QScreen(0x2aec0b0) ): Attempt to set a screen on a child window.
0x23f75a0 void QWindowPrivate::setTopLevelScreen(QScreen*, bool) ( QScreen(0x2aec0b0) ): Attempt to set a screen on a child window.
0x24006f0 void QWindowPrivate::setTopLevelScreen(QScreen*, bool) ( QScreen(0x2aec0b0) ): Attempt to set a screen on a child window.
and when I try to drag and drop any topic from:
rqt --standalone rqt_topic.topic.Topic
I get this error:
PoseViewWidget.dragEnterEvent(): event.source() has no attribute selectedItems or length of selectedItems is 0
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.