RobWorkProject
Classes | Namespaces | Functions
Q.hpp File Reference
#include <boost/numeric/ublas/vector.hpp>
#include <boost/numeric/ublas/io.hpp>
#include <Eigen/Eigen>
#include <rw/common/macros.hpp>
#include <rw/common/Serializable.hpp>

Classes

class  Q
 Configuration vector. More...
 

Namespaces

 rw
 RobWork library.
 
 rw::math
 Matrices, vectors, configurations, and more.
 
 rw::common
 Various utilities and definitions of general use.
 
 rw::common::serialization
 provide generic handler interface for serialization purposes. To enable serialization of some class MyClass one could either inherit from Serializable or provide overloaded methods to
 

Functions

bool operator!= (const Q &q1, const Q &q2)
 Inequality operator. More...
 
rw::math::Q concat (const Q &q1, const Q &q2)
 concatenates q1 onto q2 such that the returned q has the configurations of q1 in [0;q1.size()[ and has q2 in [q1.size();q1.size()+q2.size()[ More...
 
template<>
void write (const rw::math::Q &sobject, rw::common::OutputArchive &oarchive, const std::string &id)
 
template<>
void read (rw::math::Q &sobject, rw::common::InputArchive &iarchive, const std::string &id)
 
template<class Archive >
void serialize (Archive &archive, rw::math::Q &q, const unsigned int version)
 Boost serialization. More...
 
template<class Archive >
void save (Archive &archive, const rw::math::Q &q, const unsigned int version)
 Boost serialization. More...
 
template<class Archive >
void load (Archive &archive, rw::math::Q &q, const unsigned int version)
 Boost serialization. More...
 

Function Documentation

◆ load()

void load ( Archive &  archive,
rw::math::Q q,
const unsigned int  version 
)

Boost serialization.

Parameters
archive[in] the boost archive to read from.
q[out] the vector to read.
version[in] class version (currently version 0).

◆ save()

void save ( Archive &  archive,
const rw::math::Q q,
const unsigned int  version 
)

Boost serialization.

Parameters
archive[in] the boost archive to write to.
q[in] the vector to write.
version[in] class version (currently version 0).

◆ serialize()

void serialize ( Archive &  archive,
rw::math::Q q,
const unsigned int  version 
)

Boost serialization.

Parameters
archive[in] the boost archive to read from or write to.
q[in/out] the vector to read/write.
version[in] class version (currently version 0).