Skip to content

Commit

Permalink
Rename ICartesianControl::movi to pose
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterBowman committed May 23, 2024
1 parent 14f37d8 commit 74315ac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class AmorCartesianControl : public yarp::dev::DeviceDriver,
bool wait(double timeout) override;
bool tool(const std::vector<double> & x) override;
bool act(int command) override;
void movi(const std::vector<double> & x) override;
void pose(const std::vector<double> & x) override;
void twist(const std::vector<double> & xdot) override;
void wrench(const std::vector<double> &w) override;
bool setParameter(int vocab, double value) override;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -357,9 +357,9 @@ bool AmorCartesianControl::act(int command)

// -----------------------------------------------------------------------------

void AmorCartesianControl::movi(const std::vector<double> &x)
void AmorCartesianControl::pose(const std::vector<double> &x)
{
yCWarning(ACC) << "movi() not supported, falling back to movj()";
yCWarning(ACC) << "pose() not supported, falling back to movj()";
movj(x);
}

Expand Down

0 comments on commit 74315ac

Please sign in to comment.