Skip to content

Commit

Permalink
add python at_time comment for doxygen
Browse files Browse the repository at this point in the history
  • Loading branch information
Lars Berscheid committed Jun 15, 2021
1 parent b61e999 commit 8d08414
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/ruckig/trajectory.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,7 @@ class Trajectory {
}

//! Get the kinematic state at a given time
//! The Python wrapper takes `time` as an argument, and returns `new_position`, `new_velocity`, and `new_acceleration` instead.
void at_time(double time, std::array<double, DOFs>& new_position, std::array<double, DOFs>& new_velocity, std::array<double, DOFs>& new_acceleration) const {
if (time >= duration) {
// Keep constant acceleration
Expand Down

0 comments on commit 8d08414

Please sign in to comment.