3#include "state_representation_bindings.h"
5#include <state_representation/State.hpp>
6#include <state_representation/geometry/Ellipsoid.hpp>
7#include <state_representation/parameters/Parameter.hpp>
9namespace py_parameter {
12 int int_value = int();
13 std::vector<int> int_array_value = std::vector<int>();
14 double double_value = double();
15 std::vector<double> double_array_value = std::vector<double>();
16 bool bool_value = bool();
17 std::vector<bool> bool_array_value= std::vector<bool>();
18 std::string string_value = std::string();
19 std::vector<std::string> string_array_value = std::vector<std::string>();
20 std::shared_ptr<State> state_pointer;
21 Eigen::MatrixXd matrix_value = Eigen::MatrixXd();
22 Eigen::VectorXd vector_value = Eigen::VectorXd();
28 const std::string& name,
const ParameterType& type,
const StateType& parameter_state_type = StateType::NONE
31 const std::string& name,
const py::object& value,
const ParameterType& type,
32 const StateType& parameter_state_type = StateType::NONE
36 void set_value(
const py::object& value);
38 py::object get_value();
43ParameterContainer interface_ptr_to_container(
const std::shared_ptr<ParameterInterface>& parameter);
45std::shared_ptr<ParameterInterface> container_to_interface_ptr(
const ParameterContainer& parameter);
47std::map<std::string, ParameterContainer>
48interface_ptr_to_container_map(
const std::map<std::string, std::shared_ptr<ParameterInterface>>& parameters);
50std::map<std::string, std::shared_ptr<ParameterInterface>>
51container_to_interface_ptr_map(
const std::map<std::string, ParameterContainer>& parameters);
53std::list<ParameterContainer>
54interface_ptr_to_container_list(
const std::list<std::shared_ptr<ParameterInterface>>& parameters);
56std::list<std::shared_ptr<ParameterInterface>>
57container_to_interface_ptr_list(
const std::list<ParameterContainer>& parameters);
ParameterType
The parameter value types.
StateType
The class types inheriting from State.