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

Resource not found: ydlidar #4

Open
supermat151 opened this issue Feb 25, 2023 · 1 comment
Open

Resource not found: ydlidar #4

supermat151 opened this issue Feb 25, 2023 · 1 comment

Comments

@supermat151
Copy link

I know this form is really old but I am trying to use your lua code with my own x2 lidar project.

I've done some research and the git submodule update --init does not work with your current URL.

https://github.com/YDLIDAR/ydlidar/ no longer exists.

I believe the website has been updated to https://github.com/YDLIDAR/ydlidar_ros_driver. However when I forked your repository and update the url to : [email protected]/YDLIDAR/ydlidar_ros_driver.git, then cloned over my repository with this updated URL, it produces an error that says:

fatal: not a git repository (or any of the parent directories): .git

When trying to run your command of "roslaunch carto_mapper mapper.launch", it produce an error that says "Resource not found: ydlidar" which I believe is caused from the submodule update not having the proper URL.

Your help would be appreciated to know what the proper URL structure should be for this submodule

Thanks in advanced

@msadowski
Copy link
Owner

Hi,

Yes, this is super old, and I won't be maintaining it.

The steps to fix this would roughly be as follows:

  1. Remove the ydlidar submodule following the answer here
  2. Add a new submodule for ydlidar executing git submodule add [email protected]:YDLIDAR/ydlidar_ros_driver.git

Since these are just directories, you might also simply delete the ydlidar directory from the repo, copy over the new ydlidar package and it should still build.

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

2 participants