#include <sot/core/trajectory.hh>
|
bool | search_exp_sub_string (std::string &text, boost::match_results< std::string::const_iterator > &what, boost::regex &e, std::string &sub_text) |
| General parsing method of text with regexp e. The results are given in what. The remaining text is left in sub_text. More...
|
|
void | parse_header (std::string &text, std::string &sub_text1) |
| Find and store the header. This method is looking for: unsigned int seq. unsigned int sec, unsigned int nsec. string format_id. More...
|
|
void | parse_joint_names (std::string &text, std::string &sub_text1, std::vector< std::string > &joint_names) |
| Understand joint_names. Extract a list of strings. More...
|
|
bool | parse_seq (std::string &text, std::string &sub_text1, std::vector< double > &seq) |
| Extract a sequence of doubles. To be used for position, velocities, accelerations and effort. More...
|
|
bool | parse_point (std::string &trajectory, std::string &sub_text1) |
| Extract a point description. More...
|
|
bool | parse_points (std::string &trajectory, std::string &sub_text1) |
| Extract a sequence of points. More...
|
|
◆ RulesJointTrajectory()
dynamicgraph::sot::RulesJointTrajectory::RulesJointTrajectory |
( |
Trajectory & |
TrajectoryToFill | ) |
|
Constructor TrajectoryToFill is the structure where to store the parsed information.
◆ parse_header()
void dynamicgraph::sot::RulesJointTrajectory::parse_header |
( |
std::string & |
text, |
|
|
std::string & |
sub_text1 |
|
) |
| |
|
protected |
Find and store the header. This method is looking for: unsigned int seq. unsigned int sec, unsigned int nsec. string format_id.
◆ parse_joint_names()
void dynamicgraph::sot::RulesJointTrajectory::parse_joint_names |
( |
std::string & |
text, |
|
|
std::string & |
sub_text1, |
|
|
std::vector< std::string > & |
joint_names |
|
) |
| |
|
protected |
Understand joint_names. Extract a list of strings.
◆ parse_point()
bool dynamicgraph::sot::RulesJointTrajectory::parse_point |
( |
std::string & |
trajectory, |
|
|
std::string & |
sub_text1 |
|
) |
| |
|
protected |
Extract a point description.
◆ parse_points()
bool dynamicgraph::sot::RulesJointTrajectory::parse_points |
( |
std::string & |
trajectory, |
|
|
std::string & |
sub_text1 |
|
) |
| |
|
protected |
Extract a sequence of points.
◆ parse_seq()
bool dynamicgraph::sot::RulesJointTrajectory::parse_seq |
( |
std::string & |
text, |
|
|
std::string & |
sub_text1, |
|
|
std::vector< double > & |
seq |
|
) |
| |
|
protected |
Extract a sequence of doubles. To be used for position, velocities, accelerations and effort.
◆ parse_string()
void dynamicgraph::sot::RulesJointTrajectory::parse_string |
( |
std::string & |
atext | ) |
|
parse_string will fill TrajectoryToFill with string atext.
◆ search_exp_sub_string()
bool dynamicgraph::sot::RulesJointTrajectory::search_exp_sub_string |
( |
std::string & |
text, |
|
|
boost::match_results< std::string::const_iterator > & |
what, |
|
|
boost::regex & |
e, |
|
|
std::string & |
sub_text |
|
) |
| |
|
protected |
General parsing method of text with regexp e. The results are given in what. The remaining text is left in sub_text.
◆ bg_liste_of_pts_re
boost::regex dynamicgraph::sot::RulesJointTrajectory::bg_liste_of_pts_re |
◆ bg_liste_of_pts_str_re
std::string dynamicgraph::sot::RulesJointTrajectory::bg_liste_of_pts_str_re |
◆ bg_pt_re
boost::regex dynamicgraph::sot::RulesJointTrajectory::bg_pt_re |
◆ bg_pt_str_re
std::string dynamicgraph::sot::RulesJointTrajectory::bg_pt_str_re |
◆ comma_pt_re
boost::regex dynamicgraph::sot::RulesJointTrajectory::comma_pt_re |
◆ comma_pt_str_re
std::string dynamicgraph::sot::RulesJointTrajectory::comma_pt_str_re |
◆ dbg_level
unsigned int dynamicgraph::sot::RulesJointTrajectory::dbg_level |
◆ end_pt_re
boost::regex dynamicgraph::sot::RulesJointTrajectory::end_pt_re |
◆ end_pt_str_re
std::string dynamicgraph::sot::RulesJointTrajectory::end_pt_str_re |
◆ float_str_re
std::string dynamicgraph::sot::RulesJointTrajectory::float_str_re |
Strings specifying the grammar of the structure.
◆ frame_id_str_re
std::string dynamicgraph::sot::RulesJointTrajectory::frame_id_str_re |
◆ header_re
boost::regex dynamicgraph::sot::RulesJointTrajectory::header_re |
Boost regular expressions implementing the grammar.
◆ header_str_re
std::string dynamicgraph::sot::RulesJointTrajectory::header_str_re |
◆ joint_name_str_re
std::string dynamicgraph::sot::RulesJointTrajectory::joint_name_str_re |
◆ joint_names
std::vector<std::string> dynamicgraph::sot::RulesJointTrajectory::joint_names |
◆ list_of_jn_re
boost::regex dynamicgraph::sot::RulesJointTrajectory::list_of_jn_re |
◆ list_of_jn_str_re
std::string dynamicgraph::sot::RulesJointTrajectory::list_of_jn_str_re |
◆ list_of_pv_re
boost::regex dynamicgraph::sot::RulesJointTrajectory::list_of_pv_re |
◆ list_of_pv_str_re
std::string dynamicgraph::sot::RulesJointTrajectory::list_of_pv_str_re |
◆ point_value_str_re
std::string dynamicgraph::sot::RulesJointTrajectory::point_value_str_re |
◆ seq_str_re
std::string dynamicgraph::sot::RulesJointTrajectory::seq_str_re |
◆ timestamp_str_re
std::string dynamicgraph::sot::RulesJointTrajectory::timestamp_str_re |
◆ TrajectoryToFill_
Trajectory& dynamicgraph::sot::RulesJointTrajectory::TrajectoryToFill_ |
|
protected |
The documentation for this class was generated from the following file: