0
$\begingroup$

Rosanswers logo

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.


Originally posted by Fei Liu on ROS Answers with karma: 47 on 2014-07-13

Post score: 0


Original comments

Comment by allenh1 on 2014-07-14:
Did you look in ~/.ros?

Comment by Fei Liu on 2014-07-14:
I looked at ~/.ros, didn't find any clue. ~/.ros contains only ros related log.

$\endgroup$

1 Answer 1

0
$\begingroup$

Rosanswers logo

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

Originally posted by ahendrix with karma: 47576 on 2014-11-22

This answer was ACCEPTED on the original site

Post score: 0

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.