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

Cannot compile for ROS Noetic Ubuntu 20.04 in WSL2 #163

Open
Nielsencu opened this issue Jan 27, 2024 · 9 comments
Open

Cannot compile for ROS Noetic Ubuntu 20.04 in WSL2 #163

Nielsencu opened this issue Jan 27, 2024 · 9 comments

Comments

@Nielsencu
Copy link

I followed the exact steps listed in http://wiki.ros.org/pepper/Tutorials for ROS Noetic and above.

However, I get the same error as this #114.

Where it complains that the LIBQI_VERSION is not defined.

Has anyone encountered the same issue?

@victorpaleologue
Copy link
Contributor

Are you sure you did not get an error at this line?
rosdep install -i -y --from-paths ./naoqi_driver
Could you share the output of the command?
Which OS are you running?

@Nielsencu
Copy link
Author

I'm running Ubuntu 20.04.

The output of the command is
#All required rosdeps installed succesfully

The command rosdep update also shows
Add distro "noetic"
And no error can be seen

Is there a packaged version of the repository that can be installed via apt?

@victorpaleologue
Copy link
Contributor

Yes.
https://index.ros.org/p/naoqi_driver/#noetic
IIRC it's something like apt install ros-noetic-naoqi-driver.

@victorpaleologue
Copy link
Contributor

I've just updated the README accordingly. Let me know if that's not enough info.

@Nielsencu
Copy link
Author

Thank you! Installation works fine.

One thing though, running roslaunch naoqi_driver naoqi_driver.launch gives

ERROR: cannot launch node of type [naoqi_driver/naoqi_driver_node]: Cannot locate node of type [naoqi_driver_node] in package [naoqi_driver]. Make sure file exists in package path and permission is set to executable (chmod +x)

It looks like the naoqi_driver_node is missing.

@Nielsencu
Copy link
Author

Hi @victorpaleologue, can I check if this is indeed an issue with the packaged version of Noetic?

@victorpaleologue
Copy link
Contributor

Yes. I wanted to go check the contents of that ubuntu packages to try and figure out whether the node really is missing or not, or if something else is wrong. I'm happy if you can help debugging that, but it's matter of time before I'm on it.

@Nielsencu
Copy link
Author

Running rospack find naoqi_driver and cd-ing to the directory, and ls gives,
cmake (directory), launch (directory), package.xml, share (directory). There is no naoqi_driver_node to be found in any of these directories.

@Nielsencu
Copy link
Author

Hi @victorpaleologue if the node is indeed missing, may I check how can this be rectified?

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