-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[cartographer_node-1] ERROR: unknown command line flag #1312
Comments
If you followed the instructions in the use case tutorial, they are for ROS2 Dashing. In ROS2 Elequent (Master branch) the way you should set arguments is different. I will update the tutorial, but in the meantime, you can try to use the following command instead.
Also, here you can find more information about how to set parameters and do remapping in the commend line. |
@mlherd Thanks for your answer
I do not longer get the
But I still get these errors which seem to crash the cartographer_node
|
It seems like I forgot to add -p :) Can you try the following command instead.
|
Unfortunately, it looks like it makes no difference:
|
Is there anything else I could provide to help troubleshooting? |
If it is params file causing the problem you can specify the param file that you want to use in the launch file itself. Maybe peeking at nav2_bringup.launch in the nav2_bringup directory will help. |
The only places I found Could it be related to this issue? I just pulled the master branch and have commit |
@AndreasAZiegler Which method did you use to build or install Cartographer? |
I installed it view
|
It seems like the turtlebot_cartographer launch file needs to be updated for eloquent or the way the cartographer nodes are executed is not correct. I would open an issue in their repo and check if anyone has run into the same issue. It requires a little bit more work, but you can look at what they do in their launch file and try to execute the nodes yourself. I haven't tested cartographer eloquent release to create maps yet, but I was able to install the package via apt and run cartographer_node and occupancy_grid_node individually. ex: PS: This might happen because Cartographer is not maintained and updated regularly. |
Since this is not a Navigation2 related issue, I close it. When you find a solution to this issue, please feel free to add a comment. I will do the same. |
ran into same issue... |
Bug report
Required Info:
Steps to reproduce issue
Expected behavior
Cartographer starting up and robot shown in rviz2
Actual behavior
Cartographer gives the following errors:
Additional information
I installed ros eloquent via apt. To install the navigation stack and to install the turtlebot stuff, I followed this guide.
The text was updated successfully, but these errors were encountered: