You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Conception/slamware_sdk/include/rpos/features/motion_planner/move_action.h

49 lines
938 B

/**
* move_action.h
* Move action
*
* Created By Tony Huang @ 2014-5-22
* Copyright (c) 2014 Shanghai SlamTec Co., Ltd.
*/
#pragma once
#include <rpos/rpos_config.h>
#include <rpos/core/action.h>
#include "path.h"
namespace rpos {
namespace actions {
namespace detail {
class MoveActionImpl;
}
class RPOS_CORE_API MoveAction : public rpos::core::Action{
public:
typedef detail::MoveActionImpl impl_t;
RPOS_OBJECT_CTORS_WITH_BASE(MoveAction, rpos::core::Action);
MoveAction(boost::shared_ptr<impl_t> impl);
~MoveAction();
public:
rpos::features::motion_planner::Path getRemainingPath();
rpos::features::motion_planner::Path getRemainingMilestones();
protected:
int getRunTime();
};
}
}
namespace rpos { namespace core { namespace detail {
template <>
struct action_caster < actions::MoveAction >
{
static actions::MoveAction cast(Action&);
};
} } }