Ruckig 0.15.0
Motion Generation for Robots and Machines
Loading...
Searching...
No Matches
ruckig::serialization Namespace Reference

Functions

picojson::value parse_file (const std::string &file)
 
template<class T , size_t D>
std::enable_if<(D==0), void >::type resize (StandardVector< T, D > &result, size_t dofs)
 
template<class T , size_t D>
std::enable_if<(D >=1), void >::type resize (StandardVector< T, D > &, size_t)
 
template<class T , size_t DOFs>
StandardVector< T, DOFs > parse_vector (const picojson::array &data)
 
template<size_t DOFs>
InputParameter< DOFs > create (const picojson::object &data)
 
template<>
InputParameter< DynamicDOFs > create (const picojson::object &data)
 
template<size_t DOFs>
InputParameter< DOFs > parse_json (const picojson::object &data)
 

Function Documentation

◆ create() [1/2]

template<size_t DOFs>
InputParameter< DOFs > ruckig::serialization::create ( const picojson::object & data)

◆ create() [2/2]

template<>
InputParameter< DynamicDOFs > ruckig::serialization::create ( const picojson::object & data)

◆ parse_file()

picojson::value ruckig::serialization::parse_file ( const std::string & file)

◆ parse_json()

template<size_t DOFs>
InputParameter< DOFs > ruckig::serialization::parse_json ( const picojson::object & data)

◆ parse_vector()

template<class T , size_t DOFs>
StandardVector< T, DOFs > ruckig::serialization::parse_vector ( const picojson::array & data)

◆ resize() [1/2]

template<class T , size_t D>
std::enable_if<(D >=1), void >::type ruckig::serialization::resize ( StandardVector< T, D > & ,
size_t  )

◆ resize() [2/2]

template<class T , size_t D>
std::enable_if<(D==0), void >::type ruckig::serialization::resize ( StandardVector< T, D > & result,
size_t dofs )