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

Error when starting the driver on ROS Melodic on Ubuntu 18.04.5 LTS on a SpotCORE #117

Closed
Vugul opened this issue Mar 31, 2023 · 5 comments

Comments

@Vugul
Copy link

Vugul commented Mar 31, 2023

Hello, I'm using a Spot Core to get the Spot_ROS driver running to control the Spot. The Core is directly connected to the Spot. My standard Python Version is Python 2.7.17.
When I'm trying to launch the driver I get the Error messages in the pictures down below. I already tried the "Building for Melodic" chapter but it did not help.

It would be really awesome if somebody could help me solve the problem.
Thank you so much in advance.

Kind regards,
Vugul

RoslaunchError1
RoslaunchError2

@heuristicus
Copy link
Owner

You should also have a look at #101 where I make some suggestions for changes to the driver which should allow it to function on melodic.

@Vugul
Copy link
Author

Vugul commented Mar 31, 2023

Thank you for your help. I will try those steps and see if it works.

Is it possible to just use a virtual environment with python3 and install the Spot Ros Package with Python3 running?
When I try to test the view_model.launch in a Python3 Virtual Environment I get an error that the joint_state_publisher has died and the joints arent visualized in RVIZ.
If it would be possible to install it on a Python3 Environment, I could maybe try to avoid the other problem.

SpotROS_on_Python3_Venv
RVIZ_Python3

@heuristicus
Copy link
Owner

Your best bet is probably to install the driver and everything it requires in a docker container on ubuntu 20.04 and noetic, because the crash you are experiencing in the first error you posted is (I believe) due to some changes in the ros packages between melodic and noetic.

It looks like what you've posted isn't running in a python3 environment - you can see in the error that it's using files in python2.7 dist packages.

@Vugul
Copy link
Author

Vugul commented Apr 6, 2023

Would it be possible to delete ROS melodic fully from the SpotCore and install it with a python3 Virtual Environment running to make it only use Python3 and because of this the error from above won´t happen?

@heuristicus
Copy link
Owner

I'm not sure how the spot CORE is configured - based on the BD documentation it seems like it's 18.04 only and there's likely some specific configuration associated with that. As I said above, you're probably best off running noetic in a docker container.

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