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. More...
 
template<typename T >
boost::python::dict dictFromType (const std::map< std::string, T > &v)
 
std::vector< double > doubleFromList (const boost::python::object &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. More...
 
void roscpp_init (boost::python::list &argv)
 Initialize ROScpp with specified command line args. More...
 
void roscpp_init ()
 Initialize ROScpp with default command line args. More...
 
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. More...
 
void roscpp_shutdown ()
 
template<typename T >
std::string serializeMsg (const T &msg)
 Convert a ROS message to a string. More...
 
std::vector< std::string > stringFromList (const boost::python::object &values)
 
template<typename T >
std::vector< T > typeFromList (const boost::python::object &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 66 of file serialize_msg.h.

template<typename T >
boost::python::dict moveit::py_bindings_tools::dictFromType ( const std::map< std::string, T > &  v)

Definition at line 69 of file py_conversions.h.

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

Definition at line 77 of file py_conversions.h.

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

Definition at line 87 of file py_conversions.h.

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

Definition at line 92 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 127 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 133 of file roscpp_initializer.cpp.

void moveit::py_bindings_tools::roscpp_init ( )

Initialize ROScpp with default command line args.

Definition at line 122 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.

void moveit::py_bindings_tools::roscpp_shutdown ( )

Definition at line 139 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 48 of file serialize_msg.h.

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

Definition at line 82 of file py_conversions.h.

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

Definition at line 51 of file py_conversions.h.



planning_interface
Author(s): Ioan Sucan
autogenerated on Wed Jul 10 2019 04:04:11