Giter Site home page Giter Site logo

Comments (5)

MartyG-RealSense avatar MartyG-RealSense commented on August 20, 2024

Hi @Krzo99 If control_transfer returned warnings are not being logged to file then this can be considered an advantage. This is because this type of message typically generates so frequently that it makes a log file difficult to read and analyze.

If you do require the messages though then you could test whether changing the logging level from the default 'Info' to the more detailed 'Debug' makes a difference. This can be done by adding the command log_level:=debug to the launch instruction.

ros2 run
ros2 run realsense2_camera realsense2_camera_node --ros-args -p log_level:=debug

ros2 launch
ros2 launch realsense2_camera rs_launch.py log_level:=debug

from realsense-ros.

Krzo99 avatar Krzo99 commented on August 20, 2024

That makes sense, however, I still think printing to /rosout would make sense here. All other errors are being printed, like Hardware Notification:Depth stream start failure,1.71681e+12,Error,Hardware Error
In my case, It would be a great way to log and check why the rtabmap odometry was lost. It can quite easily happen if this control_transfer returned error error happens, as the whole depth module flickers when this happens at runtime.

Do you maybe know what the error numbers mean?

Setting log_level to debug doesn't have any effect in this case.

from realsense-ros.

MartyG-RealSense avatar MartyG-RealSense commented on August 20, 2024

The number after Depth stream start failure is not meaningful.

In general, control_transfer returned warnings are indicative of a communication problem between the camera and the computer / computing device, such as an issue with the USB port or cable.

Odometry may be lost if the camera is moving or turning too quickly or if the scene that the camera is observing is 'sparse' with not many objects in it.

from realsense-ros.

MartyG-RealSense avatar MartyG-RealSense commented on August 20, 2024

Hi @Krzo99 Do you require further assistance with this case, please? Thanks!

from realsense-ros.

Krzo99 avatar Krzo99 commented on August 20, 2024

Hi @Krzo99 Do you require further assistance with this case, please? Thanks!

No, however, I still think it would be a good idea to have it.
I'll close the issue.

from realsense-ros.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.