Skip to content
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

Laser has to be mounted planar! Z-coordinate has to be 1 or -1 #17

Open
atinfinity opened this issue Sep 19, 2020 · 0 comments
Open

Laser has to be mounted planar! Z-coordinate has to be 1 or -1 #17

atinfinity opened this issue Sep 19, 2020 · 0 comments

Comments

@atinfinity
Copy link

I tried to use loc2d_ros(dashing-devel) with TurtleBot3(Gazebo).
https://github.com/atinfinity/turtlebot3_lama_ros2

$ ros2 launch turtlebot3_gazebo turtlebot3_world.launch.py
$ ros2 launch turtlebot3_lama_navigation turtlebot3_lama_navigation.py

But, the following message was displayed.

[loc2d_ros-1] [WARN] [iris_lama_ros2.loc2d_ros]: Laser has to be mounted planar! Z-coordinate has to be 1 or -1, but gave: 1.12200

And, I found the following comment.
https://github.com/iris-ua/iris_lama_ros/blob/dashing-devel/start.sh#L32-L34

TB3 doesnt have a planar sensor, so you need to uncomment line 336 of loc2d_ros.cpp and rebuild

So, I uncomment this line. As a result, it works fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant