Debugging

They are several ways to perform debugging in dynamic-graph depending on your needs or situation:

  • Programmatically inside the entity in C++, a logger will write inside a buffer in a different thread and output in a stream (either std::cout or a file). It is detailed in Real-time Logger. It provides 4 levels of messags :(DEBUG,INFO, WARNING, ERROR). It is described in details here: Loggers
  • Programmatically in C++ to avoid overhead with macros and handling level as an int: Debugging with macros and level .
  • If you just need to collect informations from signals (like rosbag). You can use an entity called Tracer inside the graph:Tracer .
    A real time version exists to write directly inside a memory buffer TracerRealTime


dynamic-graph
Author(s): Nicolas Mansard, Olivier Stasse
autogenerated on Fri Aug 2 2024 08:36:38