Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support both arm in ReferenceForceUpdater #1005

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions idl/ReferenceForceUpdaterService.idl
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ module OpenHRP
{
/// Motion direction to update reference force
DblSequence3 motion_dir;
/// Name of used arm
string arm;
/// Update frequency [Hz]
double update_freq;
/// Update time ratio \in [0,1]
Expand All @@ -35,25 +33,25 @@ module OpenHRP
* @param i_param is input parameter
* @return true if set successfully, false otherwise
*/
boolean setReferenceForceUpdaterParam(in ReferenceForceUpdaterParam i_param);
boolean setReferenceForceUpdaterParam(in string name, in ReferenceForceUpdaterParam i_param);

/**
* @brief Get ReferenceForceUpdater parameters
* @param i_param is input parameter
* @return true if set successfully, false otherwise
*/
boolean getReferenceForceUpdaterParam(out ReferenceForceUpdaterParam i_param);
boolean getReferenceForceUpdaterParam(in string name, out ReferenceForceUpdaterParam i_param);

/**
* @brief Start ReferenceForceUpdater
* @return true if set successfully, false otherwise
*/
boolean startReferenceForceUpdater();
boolean startReferenceForceUpdater(in string name);

/**
* @brief Stop ReferenceForceUpdater
* @return true if set successfully, false otherwise
*/
boolean stopReferenceForceUpdater();
boolean stopReferenceForceUpdater(in string name);
};
};
Loading