-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0d16a1c
commit 9a19d47
Showing
1 changed file
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# RobotDynamicsEstimatorDevice | ||
|
||
The **RobotDynamicsEstimatorDevice** is a YARP device based on `RobotDynamicsEstimator` to estimate joint torques from a YARP-based robot. | ||
|
||
|
||
## :running: How to use the device | ||
|
||
To run the device on a robot (whether in simulation or on a real robot), make sure to define the configuration files for the robot in the `app/robots` folder. | ||
|
||
- **ergoCubGazeboV1** | ||
|
||
- open the robot model in Gazebo | ||
- launch `RobotDynamicsEstimatorDevice` | ||
``` | ||
YARP_ROBOT_NAME=ergoCubGazeboV1 yarprobotinterface --config launch-robot-dynamics-estimator.xml | ||
``` | ||
in case you started gazebo with the real-time clock option (`gazebo -slibgazebo_yarp_clock.so`) add `YARP_CLOCK=/clock` to the previous command. | ||
``` | ||
YARP_CLOCK=/clock YARP_ROBOT_NAME=ergoCubGazeboV1 yarprobotinterface --config launch-robot-dynamics-estimator.xml | ||
``` | ||
- **ergoCubSN000** | ||
- Launch `yarprobotinterface` on the robot. | ||
- launch `RobotDynamicsEstimatorDevice` | ||
``` | ||
YARP_ROBOT_NAME=ergoCubSN000 yarprobotinterface --config launch-robot-dynamics-estimator.xml | ||
``` |