'locale' Error with Hokuyo_node and ARM (BeagleBone)
When trying to run the Hokuyo_node ($ rosrun hokuyo_node hokuyo_node) I get the following:
terminate called after throwing an instance of 'std::runtime_error'
what(): locale::facet::_S_create_c_locale name not valid
Please advise what this is and how to repair.
ROS Groovy on arm device (BeagleBone witi Ubuntu Quantal)
Build Process:
cd ~/ros_ws
wstool set laser_drivers https://code.ros.org/svn/ros-pkg/stacks/laser_drivers trunk --svn -y
rosws update laser_drivers
source ~/ros_ws/setup.bash
echo $ROS_PACKAGE_PATH
<returned>:
/home/rkrs/ros_ws/laser_drivers:/home/rkrs/ros_ws/imu_um6:/home/rkrs/ros_ws/executive_smach:/home/rkrs/ros_ws/filters:/home/rkrs/ros_ws/xacro:/home/rkrs/ros_catkin_ws/install_isolated/share:/home/rkrs/ros_catkin_ws/install_isolated/stacks
rosmake laser_drivers
I've never done a gdb backtrace so I need to look up how to do this. Here is the full display from the terminal printout from the time in initiate roslaunch:
rkrs@bbone2:~$ roslaunch hokuyo_node hokuyo_test.launch
... logging to /home/rkrs/.ros/log/aa4e49d8-c248-11e2-bdff-bc6a299c667c/roslaunch-bbone2-1184.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
started roslaunch server http://bbone2:56486/
SUMMARY
---------
PARAMETERS
* /hokuyo/calibrate_time
* /hokuyo/intensity
* /hokuyo/port
* /rosdistro
* /rosversion
NODES
/
hokuyo (hokuyo_node/hokuyo_node)
ROS_MASTER_URI=http://localhost:11311
core service [/rosout] found
process[hokuyo-1]: started with pid [1139]
terminate called after throwing an instance of 'std::runtime_error'
what(): locale::facet::_S_create_c_locale name not valid
[hokuyo-1] process has died [pid 1139, exit code -6, cmd /home/rkrs/ros_ws/laser_drivers/hokuyo_node/bin/hokuyo_node __name:=hokuyo __log:=/home/rkrs/.ros/log/aa4e49d8-c248-11e2-bdff-bc6a299c667c/hokuyo-1.log].
log file: /home/rkrs/.ros/log/aa4e49d8-c248-11e2-bdff-bc6a299c667c/hokuyo-1*.log
all processes on machine have died, roslaunch will exit
shutting down processing monitor...
... shutting down processing monitor complete
done
Unhandled exception in thread started by
sys.excepthook is missing
lost sys.stderr
Did you install binary packages or build it from source?
I tried to install from the binary packages using sudo apt-get install ros-groovy-laser-drivers but the package could not be found.
Most likely a low-level build problem, but possibly ARM-related. Would you update your question to show the steps you used to build the ROS core?
Also, please paste in a gdb backtrace from the exception.
Comments do not work well for detailed information, please edit your original question with verbatim data indented four spaces, so we can read it.
Next clue: I found where $ LC_ALL should =C. When I call $ locale at the home directory the last line is $ LC_ALL= with no value. Maybe the locale should be edited to read $ LC_ALL=C but I have not yet found how to edit this.
Go ahead and try it, but locale C should be the default.