ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

This seems to be an issue on embedded systems with minimal installs. The 'locale' settings on the BeagleBone, when called are:

rkrs@bbone2:~$ locale
LANG=
LANGUAGE=
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=
rkrs@bbone2:~$

Testing with:

rkrs@bbone2:~$ export LC_ALL=C

and I no longer get the error above.

When I went to test the Hokuyo following the tutorial (roscore in one terminal; roslaunch hokuyo_node Hokuyo_test.launch in a separate terminal) I had to run 'export LC_ALL=C' in the new terminal (even though I ran it in the first terminal) to avoid the error.

'export LC_ALL=C' is only active during the session and reverts back to the system settings on logoff/reboot/etc. At this point I am still unclear if the best solution is to have this set by default in the 'locale' system file or if the Hokuyo_node should have an 'export LC_ALL=C' call. Hopefully someone can give some insight to this.

This seems to be an issue on embedded systems with minimal installs. The 'locale' settings on the BeagleBone, when called are:

rkrs@bbone2:~$ locale
LANG=
LANGUAGE=
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=
rkrs@bbone2:~$

Testing with:

rkrs@bbone2:~$ export LC_ALL=C

and I no longer get the error above.

When I went to test the Hokuyo following the tutorial (roscore in one terminal; roslaunch hokuyo_node Hokuyo_test.launch in a separate terminal) I had to run 'export LC_ALL=C' in the new terminal (even though I ran it in the first terminal) to avoid the error.

'export LC_ALL=C' is only active during the session and reverts back to the system settings on logoff/reboot/etc. At this point I am still unclear if It looks like the best solution is to have this set by default is to add 'export LC_ALL=C' in the 'locale' system file or if the Hokuyo_node should have an 'export LC_ALL=C' call. Hopefully someone can give some insight to this.local user's .bashrc.