GCC Code Coverage Report
Directory: src/ Exec Total Coverage
File: src/diff_drive_controller-python-module.cc Lines: 0 6 0.0 %
Date: 2022-09-12 09:50:59 Branches: 0 8 0.0 %

Line Branch Exec Source
1
#include <pinocchio/fwd.hpp>
2
3
#include "diff_drive_controller.h"
4
#include "dynamic-graph/python/module.hh"
5
#include "holonomic-projection.h"
6
#include "odometry.h"
7
#include "speed_limiter.h"
8
9
namespace dg = dynamicgraph;
10
11
typedef boost::mpl::vector<dg::DiffDriveController, dg::HolonomicProjection,
12
                           dg::Odometry>
13
    entities_t;
14
15
struct register_entity {
16
  template <typename T>
17
  inline void operator()(boost::type<T>) const {
18
    dynamicgraph::python::exposeEntity<T>();
19
  }
20
};
21
22
BOOST_PYTHON_MODULE(wrap) {
23
  bp::import("dynamic_graph");
24
  boost::mpl::for_each<entities_t, boost::type<boost::mpl::_> >(
25
      register_entity());
26
}