Skip to content

Commit

Permalink
Address comments: modify the "help" response + CHANGELOG.md file
Browse files Browse the repository at this point in the history
  • Loading branch information
HosameldinMohamed committed Jan 28, 2020
1 parent 742b2a5 commit 6a7134d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ All notable changes to this project will be documented in this file.

The format of this document is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

## [Unreleased]

### Added
- Add the option for the external force orientation to be reperesented in the link frame with the `externalwrench` plugin (https://github.com/robotology/gazebo-yarp-plugins/pull/463).

## [3.3.0] - 2019-12-13

### Added
Expand Down
6 changes: 3 additions & 3 deletions plugins/externalwrench/src/ApplyExternalWrench.cc
Original file line number Diff line number Diff line change
Expand Up @@ -157,14 +157,14 @@ void RPCServerThread::run()
this->m_reply.addVocab ( yarp::os::Vocab::encode ( "many" ) );
this->m_reply.addString ( "The default operation mode is with single wrench" );
this->m_reply.addString ( "Insert [single] or [multiple] to change the operation mode" );
this->m_reply.addString ( "The default frame orientation is the one of the base/root frame" );
this->m_reply.addString ( "The default frame orientation is the one of the base/root frame ([orient_global])" );
this->m_reply.addString ( "Insert [orient_global] or [orient_local] to change the frame orientation mode" );
this->m_reply.addString ( "Insert a command with the following format:" );
this->m_reply.addString ( "[link] [force] [torque] [duration]" );
this->m_reply.addString ( "e.g. chest 10 0 0 0 0 0 1");
this->m_reply.addString ( "[link]: (string) Link ID of the robot as specified in robot's SDF" );
this->m_reply.addString ( "[force]: (double x, y, z) Force components in N w.r.t. world reference frame (or link refernce frame if [orient_local] is selected)" );
this->m_reply.addString ( "[torque]: (double x, y, z) Torque components in N.m w.r.t world reference frame (or link refernce frame if [orient_local] is selected)" );
this->m_reply.addString ( "[force]: (double x, y, z) Force components in N w.r.t. world reference frame (or link reference frame if [orient_local] is selected)" );
this->m_reply.addString ( "[torque]: (double x, y, z) Torque components in N.m w.r.t world reference frame (or link reference frame if [orient_local] is selected)" );
this->m_reply.addString ( "[duration]: (double) Duration of the applied force in seconds" );
this->m_reply.addString ( "Note: If orientation is set to [orient_global], the reference frame is the base/root robot frame with x pointing backwards and z upwards.");
this->m_rpcPort.reply ( this->m_reply );
Expand Down

0 comments on commit 6a7134d

Please sign in to comment.