parameters: (self)
return_statement: return Trajectory(times,milestones)
docstring: Returns the future trajectory as a Trajectory.
docstring_summary: Returns the future trajectory as a Trajectory.
docstring_tokens: Returns the future trajectory as a Trajectory .
function: def trajectory(self):
          """Returns the future trajectory as a Trajectory.
          """
          times = [0]
          milestones = [self.x]
          for j in range(len(self.times)):
              if self.trajTime < self.times[j]:
                  times.append(self.times[j]-self.trajTime)
                  milestones.append(self.milestones[j])
          return Trajectory(times,milestones)
function_tokens: def trajectory ( self ) : times = [ 0 ] milestones = [ self . x ] for j in range ( len ( self . times ) ) : if self . trajTime < self . times [ j ] : times . append ( self . times [ j ] - self . trajTime ) milestones . append ( self . milestones [ j ] ) return Trajectory ( times , milestones )