Comments (14)
The link to the URDF file doesn't work for me; I think that link only works if you are logged in to your dropbox account. If you're in the Dropbox web interface and you right-click a filename, one of the options will be "Share..." and it will generate a link to allow public access to the file.
In general, this error from slam_gmapping
is saying that (at least, according to its understanding of the URDF) the laser is not perfectly parallel to the ground. I'll have a look at your URDF file once I can see it.
from rosbook.
I have changed the link please check it.
from rosbook.
How to ensure that the laser scanner is parallel to the ground. Since laser scanner is added later to the assembly, how to fix it to the base_plate. How should be the above URDF edited to achieve it.
from rosbook.
In the <joint name="hokuyo_joint" type="fixed">
tag, try changing this:
<origin xyz="0 -0.04 0.2" rpy="1.5708 -1.5708 0>
to this:
<origin xyz="0 -0.04 0.2" rpy="0 0 0"/>
to ensure that the coordinate system of the laser is "Z-up". This may require some coordinate-swaps of your xyz
attribute, but the orientation of the laser is the more important thing for the error reported by slam_gmapping
.
from rosbook.
Yeah, i think the laser coordinates system is not Z-up as the result of above origin values results as below. The orientation of the laser is incorrect. How to swap coordinates of the laser or is there any other way to get around this?
from rosbook.
Hmm, I'm not quite sure what's going on, since I can't reproduce your situation without the STL files referenced from the URDF. I would suggest posting the URDF+STL files somewhere where it's easy to get them (ideally a github repo), and then posting this to ROS Answers, where there are many more people watching.
from rosbook.
If I understand correctly, this configuration had the wrong position for the laser, but successfully created a map:
<origin xyz="0 -1 0.2" rpy="1.5708 -1.5708 0"/>
If so, then you've got the right orientation by the wrong position. Adjust the xyz
values (but not the rpy
values) to get the laser back on the robot. I would try xyz="0 -0.04 0.2"
first.
from rosbook.
@codebot I have posted the STL files of the links along with the urdf over here https://www.dropbox.com/sh/sb03bz7hopntwqh/AAD2oWLLRmZAgTS91YJ_PfzOa?dl=0. I have posted issue in ROS forum.
from rosbook.
@gerkey, Yeah i am able to create map successfully with y value as "-1", but when i try to build map after bringing back laser to robot by y value "-0.04" the error occurs.
from rosbook.
Does this error got anything to do with slam_gmapping node?
from rosbook.
@codebot were you able to rebuild the model and locate the issue, please let me know in case of additional detail requirement.
from rosbook.
Modifying the the URDF to right hand coordinate system fixed the issue.
from rosbook.
Just for completeness, in case anyone else finds this ticket later: what
did you do to fix your problem? How did you change your coordinate system?
I would be interested in knowing how we can detect the problem you were
seeing, and generate a warning message on the console with a suggestion of
how to fix it.
On Feb 4, 2016 6:41 AM, "kishorekumar29" [email protected] wrote:
Modifying the the URDF to right hand coordinate system fixed the issue.
—
Reply to this email directly or view it on GitHub
#6 (comment).
from rosbook.
I zeroed on the issue by altering the joint values of my laser sensor, when i iterated my Z values the laser moved in sideways but it is intended to move up and down.
Since my robot model was exported from solidworks i re-exported my model through solidworks2urdf after correcting my coordinates in solidworks, which fixed the issue. If we build the URDF from scratch the coordinate issue is will be in rare case.
from rosbook.
Related Issues (20)
- [Text improvement] Chapter 4: Move description of using rosservice HOT 1
- Suggestions to improve explanations and text HOT 1
- Corrections to text and code samples HOT 1
- NASA R2 repositories have moved HOT 7
- Possibly incorrect wheel arrangement on Tortoisebot HOT 1
- slam_gmapping parameter prefix error
- rosparam set the wrong name
- chapter 12 codes freezing HOT 1
- Compatibility with Tiago HOT 1
- aisle.world file need correcting
- Can't install ros-indigo-fetch*? HOT 1
- General "Custom Message" Issues HOT 1
- Can't run basics topic publisher.
- Please help me understand the origin tag in URDF HOT 2
- Chapter 21: src/code/cpp example code has errors HOT 1
- No motion plan found HOT 2
- Unable to run the python file red_light_green_light.py HOT 3
- key_publisher.py does not work HOT 5
- Error in Chapter 8 Page 126 under rviz heading line 6
- is it possible to simulate Nasa's R2 on ROS Noetic?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rosbook.