2022-05-13 23:42:41 -04:00
|
|
|
#ifndef MULTIBODYTREEDEBUGGRAPH_HPP_
|
|
|
|
|
#define MULTIBODYTREEDEBUGGRAPH_HPP_
|
|
|
|
|
#include "BulletInverseDynamics/IDConfig.hpp"
|
|
|
|
|
#include "BulletInverseDynamics/MultiBodyTree.hpp"
|
|
|
|
|
#include "MultiBodyNameMap.hpp"
|
|
|
|
|
|
2026-06-03 15:08:51 +01:00
|
|
|
namespace btInverseDynamics
|
|
|
|
|
{
|
2022-05-13 23:42:41 -04:00
|
|
|
/// generate a dot-file of the multibody tree for generating a graph using graphviz' dot tool
|
|
|
|
|
/// @param tree the multibody tree
|
|
|
|
|
/// @param map to add names of links (if 0x0, no names will be added)
|
|
|
|
|
/// @param filename name for the output file
|
|
|
|
|
/// @return 0 on success, -1 on error
|
|
|
|
|
int writeGraphvizDotFile(const MultiBodyTree* tree, const MultiBodyNameMap* map,
|
2026-06-03 15:08:51 +01:00
|
|
|
const char* filename);
|
|
|
|
|
} // namespace btInverseDynamics
|
2022-05-13 23:42:41 -04:00
|
|
|
|
|
|
|
|
#endif // MULTIBODYTREEDEBUGGRAPH_HPP
|