Go to the documentation of this file.
24 #ifndef DESIGNERTRAJECTORY_H
25 #define DESIGNERTRAJECTORY_H
28 #include <VirtualRobot/RobotNodeSet.h>
41 const unsigned int DERIVATION_COUNT = 2;
42 std::vector<TrajectoryPtr> interBreakpointTrajectories;
43 std::vector<UserWaypointPtr> userWaypoints;
44 std::vector<TransitionPtr> transitions;
45 VirtualRobot::RobotNodeSetPtr rns;
47 std::vector<std::vector<double>> getDimensionDatas();
48 std::vector<double> getAllTimestamps();
49 void setLimitless(
TrajectoryPtr traj, VirtualRobot::RobotNodeSetPtr rns);
54 VirtualRobot::RobotNodeSetPtr newRns);
143 VirtualRobot::RobotNodeSetPtr
getRns();
156 void setRns(
const VirtualRobot::RobotNodeSetPtr&
value);
168 #endif // DESIGNERTRAJECTORY_H
std::shared_ptr< UserWaypoint > UserWaypointPtr
unsigned int getNrOfUserWaypoints() const
get the number of the userwaypoints
std::vector< UserWaypointPtr > getAllUserWaypoints() const
get a copy of all userwaypoints
void addFirstUserWaypoint(UserWaypointPtr &point)
add a new first userWaypoint
VirtualRobot::RobotNodeSetPtr getRns()
get the robot node set of the designertrajectory
std::vector< TrajectoryPtr > getInterBreakpointTrajectories()
Returns the interBreakpointTrajectories.
TrajectoryPtr getTimeOptimalTrajectory()
get the time optimal trajectory.
void deleteUserWaypoint(unsigned int index)
delete the userwaypoint and remove all transitions including the userwaypoint.
std::shared_ptr< Value > value()
TransitionPtr getTransition(unsigned int index)
get the transition
DesignerTrajectory(UserWaypointPtr &firstPoint, VirtualRobot::RobotNodeSetPtr newRns)
std::shared_ptr< Transition > TransitionPtr
Vertex source(const detail::edge_base< Directed, Vertex > &e, const PCG &)
TrajectoryPtr getFinalTrajectory()
get the final trajectory with the right durations
UserWaypointPtr getUserWaypoint(unsigned int index)
get the userWaypoint
TrajectoryPtr getTrajectorySegment(unsigned int index)
get one interBreakPoint trajectory
std::shared_ptr< DesignerTrajectory > DesignerTrajectoryPtr
void addLastUserWaypoint(UserWaypointPtr &point)
add new last userWaypoint
void setRns(const VirtualRobot::RobotNodeSetPtr &value)
set the robotnodeset
This file offers overloads of toIce() and fromIce() functions for STL container types.
void setInterBreakpointTrajectories(const std::vector< TrajectoryPtr > &value)
set the interBreakpointTrajectories
void insertUserWaypoint(UserWaypointPtr &point, unsigned int index)
insert userwaypoint before index