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

Openni log file location and how to enable it

asked 2014-07-13 21:11:08 -0500

Fei Liu gravatar image

updated 2014-07-19 09:42:41 -0500

Hi all,

  1. Could anyone tell me where is the Log folder when running Niviewer or Niviewer2? I install openni 1.5.4 and openni2 through ros package through apt-get as a dependence of ros-hydro-openni-camera and ros-hydro-openni2-camera. I installed Niviewer and Niviewer2 through openni-utils in apt-get. I assume I will get the same Log folder location when I run through ros-hydro-openni-launch and please correct me if I'm wrong.
  2. I also want to make sure the right way to enable the log file is to modify the line in /etc/openni/GlobalDefaults.ini (Openni) or in /etc/openni2/OpenNi.ini from

    ;LogWriteToFile=1

    to

    LogWriteToFile=1

  3. Do I have to restart the computer for the modification to take effect or is there anyway for it to take effect without restarting the computer?

Thanks.

edit retag flag offensive close merge delete

Comments

Did you look in `~/.ros`?

allenh1 gravatar image allenh1  ( 2014-07-14 01:46:48 -0500 )edit

I looked at ~/.ros, didn't find any clue. ~/.ros contains only ros related log.

Fei Liu gravatar image Fei Liu  ( 2014-07-14 10:08:41 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-11-22 04:34:50 -0500

ahendrix gravatar image

I've found that the openni driver doesn't seem to honor the openni log settings, but the openni samples do, and they're sufficient for debugging device and driver issues.

Try making those changes and then running one of the samples:

Sample-NiSimpleRead
edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2014-07-13 21:11:08 -0500

Seen: 916 times

Last updated: Nov 22 '14