0

I am running the demo MoveIt Servoing,I am using the following commands

1. roslaunch ur_gazebo ur5.launch
2. roslaunch ur5_moveit_config ur5_moveit_planning_execution.launch sim:=true
3. roslaunch ur5_moveit_config moveit_rviz.launch config:=true

After running the following command

4. roslaunch moveit_servo spacenav_cpp.launch

I am getting the following error Could not open the space navigator device. Did you remember to run spacenavd (as root)? I tried resolving the issue using the [website Link Solution], however I am getting the following error

root@abc-ThinkPad-P17-Gen-2i:/home/abc/ws_moveit# rosrun spacenav spacenavd

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

apt install rosbash

root@abc-ThinkPad-P17-Gen-2i:/home/abc/ws_moveit# sudo 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@abc-ThinkPad-P17-Gen-2i:/home/abc/ws_moveit# 

I am using Ubuntu 20.04 and ROS Noetic

Ankit Kumar
  • 403
  • 3
  • 8

0 Answers0