GCC Code Coverage Report


Directory: ./
File: unittest/factory/actuation.hxx
Date: 2025-05-13 10:30:51
Exec Total Coverage
Lines: 0 2 0.0%
Branches: 0 4 0.0%

Line Branch Exec Source
1 ///////////////////////////////////////////////////////////////////////////////
2 // BSD 3-Clause License
3 //
4 // Copyright (C) 2019-2025, University of Edinburgh, Heriot-Watt University
5 // Copyright note valid unless otherwise stated in individual files.
6 // All rights reserved.
7 ///////////////////////////////////////////////////////////////////////////////
8
9 #include "actuation.hpp"
10 #include "crocoddyl/core/actuation-base.hpp"
11
12 namespace crocoddyl {
13 namespace unittest {
14
15 template <typename Scalar>
16 void updateActuation(
17 const std::shared_ptr<crocoddyl::ActuationModelAbstractTpl<Scalar>>& model,
18 const std::shared_ptr<crocoddyl::ActuationDataAbstractTpl<Scalar>>& data,
19 const Eigen::Matrix<Scalar, Eigen::Dynamic, 1>& x,
20 const Eigen::Matrix<Scalar, Eigen::Dynamic, 1>& u) {
21 model->calc(data, x, u);
22 }
23
24 } // namespace unittest
25 } // namespace crocoddyl
26