Errors when using package

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

Example:

  • blaise@hya: /opt/ros/cturtle/stacks/joystick_drivers/spacenav_node $ ./spacenav_node 
    connect failed: No such file or directory
    [ERROR] [1288904194.289257379]: Could not open the space navigator device.  Did you remember to run spacenavd (as root)?
    [ WARN] [1288904194.289311637]: Publisher on '/spacenav/joy' destroyed immediately after creation.  Did you forget to store the handle?

Solution:

  • Did you run spacenavd?
    sudo bash
    rosrun spacenav spacenavd
  • Did you run spacenavd via sudo? In some conditions, running
    sudo rosrun spacenav spacenavd
    does not work. Use the invocation above if you run into trouble.

Wiki: spacenav_node/Troubleshooting (last edited 2010-11-04 21:08:30 by BlaiseGassend)