JointTrajectoryAction::JointTrajectoryAction(const JointTrajectoryAction& orig) : jointStateObserver(orig.jointStateObserver)
{

    setPositionGain(orig.getPositionGain());
    setVelocityGain(orig.getVelocityGain());
    setFrequency(orig.getFrequency());
}
JointTrajectoryAction::JointTrajectoryAction(const JointTrajectoryAction& orig) : armVelocitiesPublisher(orig.armVelocitiesPublisher), 
        armPositionsPublisher(orig.armPositionsPublisher) {
    setPositionGain(orig.getPositionGain());
    setVelocityGain(orig.getVelocityGain());
    setFrequency(orig.getFrequency());
}