Classes | Functions
moveit::py_bindings_tools Namespace Reference

Tools for creating python bindings for MoveIt. More...

Classes

class  ROScppInitializer
 The constructor of this class ensures that ros::init() has been called. Thread safety and multiple initialization is properly handled. When the process terminates, ros::shotdown() is also called, if needed. More...

Functions

template<typename T >
void deserializeMsg (const std::string &data, T &msg)
 Convert a string to a ROS message.
std::vector< double > doubleFromList (const boost::python::list &values)
boost::python::list listFromDouble (const std::vector< double > &v)
boost::python::list listFromString (const std::vector< std::string > &v)
template<typename T >
boost::python::list listFromType (const std::vector< T > &v)
void roscpp_init (const std::string &node_name, boost::python::list &argv)
 Initialize ROScpp with specified command line args.
void roscpp_init (boost::python::list &argv)
 Initialize ROScpp with specified command line args.
void roscpp_init ()
 Initialize ROScpp with default command line args.
void roscpp_set_arguments (const std::string &node_name, boost::python::list &argv)
 This function can be used to specify the ROS command line arguments for the internal ROScpp instance; Usually this function would also be exposed in the py module that uses ROScppInitializer.
void roscpp_shutdown ()
template<typename T >
std::string serializeMsg (const T &msg)
 Convert a ROS message to a string.
std::vector< std::string > stringFromList (const boost::python::list &values)
template<typename T >
std::vector< T > typeFromList (const boost::python::list &values)

Detailed Description

Tools for creating python bindings for MoveIt.


Function Documentation

template<typename T >
void moveit::py_bindings_tools::deserializeMsg ( const std::string &  data,
T &  msg 
)

Convert a string to a ROS message.

Definition at line 67 of file serialize_msg.h.

std::vector<double> moveit::py_bindings_tools::doubleFromList ( const boost::python::list &  values)

Definition at line 68 of file py_conversions.h.

boost::python::list moveit::py_bindings_tools::listFromDouble ( const std::vector< double > &  v)

Definition at line 78 of file py_conversions.h.

boost::python::list moveit::py_bindings_tools::listFromString ( const std::vector< std::string > &  v)

Definition at line 83 of file py_conversions.h.

template<typename T >
boost::python::list moveit::py_bindings_tools::listFromType ( const std::vector< T > &  v)

Definition at line 60 of file py_conversions.h.

void moveit::py_bindings_tools::roscpp_init ( const std::string &  node_name,
boost::python::list &  argv 
)

Initialize ROScpp with specified command line args.

Definition at line 128 of file roscpp_initializer.cpp.

void moveit::py_bindings_tools::roscpp_init ( boost::python::list &  argv)

Initialize ROScpp with specified command line args.

Definition at line 134 of file roscpp_initializer.cpp.

Initialize ROScpp with default command line args.

Definition at line 123 of file roscpp_initializer.cpp.

void moveit::py_bindings_tools::roscpp_set_arguments ( const std::string &  node_name,
boost::python::list &  argv 
)

This function can be used to specify the ROS command line arguments for the internal ROScpp instance; Usually this function would also be exposed in the py module that uses ROScppInitializer.

Definition at line 55 of file roscpp_initializer.cpp.

Definition at line 140 of file roscpp_initializer.cpp.

template<typename T >
std::string moveit::py_bindings_tools::serializeMsg ( const T &  msg)

Convert a ROS message to a string.

Definition at line 49 of file serialize_msg.h.

std::vector<std::string> moveit::py_bindings_tools::stringFromList ( const boost::python::list &  values)

Definition at line 73 of file py_conversions.h.

template<typename T >
std::vector<T> moveit::py_bindings_tools::typeFromList ( const boost::python::list &  values)

Definition at line 50 of file py_conversions.h.



planning_interface
Author(s): Ioan Sucan
autogenerated on Wed Aug 26 2015 12:44:13