Skip to content

Commit

Permalink
fix: define set_time and get_time function
Browse files Browse the repository at this point in the history
  • Loading branch information
hiikariri committed Dec 26, 2023
1 parent 82029a1 commit d3287b0
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/akushon/action/model/pose.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,16 @@ float Pose::get_pause() const
return pause;
}

float Pose::get_time() const
{
return time;
}

void Pose::set_time(float time_s)
{
this->time = time_s * 1000;
}

void Pose::set_name(const std::string & pose_name)
{
name = pose_name;
Expand Down

0 comments on commit d3287b0

Please sign in to comment.