joystick_drivers icon indicating copy to clipboard operation
joystick_drivers copied to clipboard

Could not open the space navigator device. Did you remember to run spacenavd (as root)?

Open Akumar201 opened this issue 2 years ago • 0 comments

Hi, I am trying to run the following command from MoveIt Tutorial

roslaunch moveit_servo spacenav_cpp.launch

However , getting the following error

Could not open the space navigator device. Did you remember to run spacenavd (as root)? I tried resolving it using the following link , however still getting the following issue

sudo bash
root@akumar-ThinkPad-P17-Gen-2i:/home/akumar/ws_moveit/src/joystick_drivers/spacenav_node# rosrun spacenav spacenavd

Command 'rosrun' not found, but can be installed with:

apt install rosbash

root@akumar-ThinkPad-P17-Gen-2i:/home/akumar/ws_moveit/src/joystick_drivers/spacenav_node# apt install rosbash
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 rosbash : Depends: catkin but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
root@akumar-ThinkPad-P17-Gen-2i:/home/akumar/ws_moveit/src/joystick_drivers/spacenav_node# 




I am using Ubuntu 20.04 and ROS Noetic 

Akumar201 avatar Dec 09 '22 04:12 Akumar201