$search
Message handler that handles the recieiving of entire trajectories and trajectory inform job execution. More...
#include <trajectory_download_handler.h>
Public Member Functions | |
bool | init (industrial::smpl_msg_connection::SmplMsgConnection *connection, motoman::controller::Controller *ctrl) |
Class initializer. | |
Protected Member Functions | |
void | endTrajectory (industrial::joint_traj_pt_message::JointTrajPtMessage &jMsg) |
Handle joint trajectory start message. | |
bool | init (int msg_type, industrial::smpl_msg_connection::SmplMsgConnection *connection) |
Class initializer (Direct call to base class with the same name) I couldn't get the "using" form to work/. | |
bool | internalCB (industrial::simple_message::SimpleMessage &in) |
Callback executed upon receiving message. | |
void | startTrajectory (industrial::joint_traj_pt_message::JointTrajPtMessage &jMsg) |
Handle joint trajectory start message. | |
Protected Attributes | |
motoman::controller::Controller * | ctrl_ |
Controller object for handing jobs and motion. | |
char | jobBuffer_ [JOB_BUFFER_SIZE_] |
job sting buffer (limited to JOB_BUFFER_SIZE_ characters); | |
industrial::joint_traj::JointTraj | traj_ |
joint trajectory (internal buffer) |
Message handler that handles the recieiving of entire trajectories and trajectory inform job execution.
THIS CLASS IS NOT THREAD-SAFE
Definition at line 70 of file trajectory_download_handler.h.
void armadillo::trajectory_download_handler::TrajectoryDownloadHandler::endTrajectory | ( | industrial::joint_traj_pt_message::JointTrajPtMessage & | jMsg | ) | [protected] |
Handle joint trajectory start message.
in | incoming joint message message (assumes sequence is set to START_TRAJECTORY_DOWNLOAD) |
Definition at line 128 of file trajectory_download_handler.cpp.
bool armadillo::trajectory_download_handler::TrajectoryDownloadHandler::init | ( | int | msg_type, | |
industrial::smpl_msg_connection::SmplMsgConnection * | connection | |||
) | [inline, protected] |
Class initializer (Direct call to base class with the same name) I couldn't get the "using" form to work/.
connection | simple message connection that will be used to send replies. |
Reimplemented from industrial::message_handler::MessageHandler.
Definition at line 96 of file trajectory_download_handler.h.
bool armadillo::trajectory_download_handler::TrajectoryDownloadHandler::init | ( | industrial::smpl_msg_connection::SmplMsgConnection * | connection, | |
motoman::controller::Controller * | ctrl | |||
) |
Class initializer.
connection | simple message connection that will be used to send replies. | |
controller | object used for enabling/disabling motion |
bool armadillo::trajectory_download_handler::TrajectoryDownloadHandler::internalCB | ( | industrial::simple_message::SimpleMessage & | in | ) | [protected, virtual] |
Callback executed upon receiving message.
in | incoming message |
Implements industrial::message_handler::MessageHandler.
Definition at line 63 of file trajectory_download_handler.cpp.
void armadillo::trajectory_download_handler::TrajectoryDownloadHandler::startTrajectory | ( | industrial::joint_traj_pt_message::JointTrajPtMessage & | jMsg | ) | [protected] |
Handle joint trajectory start message.
in | incoming joint message message (assumes sequence is set to START_TRAJECTORY_DOWNLOAD) |
Definition at line 121 of file trajectory_download_handler.cpp.
motoman::controller::Controller* armadillo::trajectory_download_handler::TrajectoryDownloadHandler::ctrl_ [protected] |
Controller object for handing jobs and motion.
Definition at line 130 of file trajectory_download_handler.h.
char armadillo::trajectory_download_handler::TrajectoryDownloadHandler::jobBuffer_[JOB_BUFFER_SIZE_] [protected] |
job sting buffer (limited to JOB_BUFFER_SIZE_ characters);
Definition at line 140 of file trajectory_download_handler.h.
industrial::joint_traj::JointTraj armadillo::trajectory_download_handler::TrajectoryDownloadHandler::traj_ [protected] |
joint trajectory (internal buffer)
Definition at line 135 of file trajectory_download_handler.h.