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