diff --git a/README.md b/README.md index 9ccf4b3..890d953 100644 --- a/README.md +++ b/README.md @@ -479,7 +479,7 @@ The configuration can be saved **to a json file** ## TelemetryDeviceDumper -The `telemetryDeviceDumper` is a [yarp device](http://yarp.it/git-master/note_devices.html) that has to be launched through the [`yarprobotinterface`](http://yarp.it/git-master/yarprobotinterface.html) for dumping quantities from your robot(e.g. encoders, velocities etc.) in base of what specified in the configuration. +The `telemetryDeviceDumper` is a [yarp device](http://yarp.it/git-master/note_devices.html) that has to be launched through the [`yarprobotinterface`](http://yarp.it/git-master/yarprobotinterface.html) for dumping quantities from your robot(e.g. encoders, velocities etc.) in base of what specified in the configuration. It currently needs icub-main version equal or higher than `2.7.0` Specificially this is needed when enabling the parameter `logIRawValuesPublisher`, which is used for dumping any type of raw data values coming from the low level, e.g. raw encoder data. ### Export the env variables * Add `${CMAKE_INSTALL_PREFIX}/share/yarp` (where `${CMAKE_INSTALL_PREFIX}` needs to be substituted to the directory that you choose as the `CMAKE_INSTALL_PREFIX`) to your `YARP_DATA_DIRS` environment variable (for more on the `YARP_DATA_DIRS` env variable, see [YARP documentation on data directories](http://www.yarp.it/yarp_data_dirs.html) ). diff --git a/src/telemetryDeviceDumper/CMakeLists.txt b/src/telemetryDeviceDumper/CMakeLists.txt index ace36fa..a3bfb85 100644 --- a/src/telemetryDeviceDumper/CMakeLists.txt +++ b/src/telemetryDeviceDumper/CMakeLists.txt @@ -20,7 +20,7 @@ if(ENABLE_telemetryDeviceDumper) add_definitions(-D_USE_MATH_DEFINES) endif() - find_package(iCubDev REQUIRED) + find_package(iCubDev 2.7.0 REQUIRED) target_sources(yarp_telemetryDeviceDumper PRIVATE TelemetryDeviceDumper.cpp TelemetryDeviceDumper.h) diff --git a/src/telemetryDeviceDumper/TelemetryDeviceDumper.h b/src/telemetryDeviceDumper/TelemetryDeviceDumper.h index 9992e37..2b793d2 100644 --- a/src/telemetryDeviceDumper/TelemetryDeviceDumper.h +++ b/src/telemetryDeviceDumper/TelemetryDeviceDumper.h @@ -74,7 +74,7 @@ struct TelemetryDeviceDumperSettings { * | `logIAmplifierControl` | bool | - | false | No | Enable the log of `motors_state::pwm` and `motors_state::currents` (http://yarp.it/git-master/classyarp_1_1dev_1_1IAmplifierControl.html). | * | `logControlBoardQuantities` | bool | - | false | No | Enable the log of all the quantities that requires the attach to a control board (`logIEncoders`, `logITorqueControl`, `logIMotorEncoders`, `logIControlMode`, `logIInteractionMode`, `logIPidControl`, `logIAmplifierControl`). | * | `logILocalization2D` | bool | - | false | No | Enable the log of `odometry_data` (http://yarp.it/git-master/classyarp_1_1dev_1_1Nav2D_1_1ILocalization2D.html). | - * | `logIRawValuesPublisher` | bool | - | false | No | Enable the log of raw values | + * | `logIRawValuesPublisher` | bool | - | false | No | Enable the log of `raw values` (https://github.com/robotology/icub-main/blob/devel/src/libraries/iCubDev/include/iCub/IRawValuesPublisher.h) | * | `saveBufferManagerConfiguration` | bool | - | false | No | Enable the save of the configuration of the BufferManager into `path`+ `"bufferConfig"` + `experimentName` + `".json"` | * | `json_file` | string | - | - | No | Configure the `robometry::BufferManager`s reading from a json file like [in Example configuration file](#example-configuration-file). Note that this configuration will overwrite the parameter-by-parameter configuration | * | `experimentName` | string | - | - | Yes | Prefix of the files that will be saved. The files will be named: `experimentName`+`timestamp`+ `".mat"`. | @@ -105,7 +105,7 @@ struct TelemetryDeviceDumperSettings { * | `PIDs::torque_error` | [`yarp::dev::IPidControl::getPidErrors`](http://yarp.it/git-master/classyarp_1_1dev_1_1IPidControl.html#aea29e0fdf34f819ac69a3b940556ba28) | * | `PIDs::torque_reference` | [`yarp::dev::IPidControl::getPidReferences`](http://yarp.it/git-master/classyarp_1_1dev_1_1IPidControl.html#a29e8f684a15d859229a9ae2902f886da) | * | `PIDs::odometry_data ` | [`yarp::dev::Nav2D::ILocalization2D::getEstimatedOdometry`](http://yarp.it/git-master/classyarp_1_1dev_1_1Nav2D_1_1ILocalization2D.html#a02bff57282777ce7511b671abd4c95f0) | - * | `raw_data_values` | [`iCub::debugLibrary::IRawValuesPublisher::getRawDataMap`] + * | `raw_data_values` | [`iCub::debugLibrary::IRawValuesPublisher::getRawDataMap`] (https://github.com/robotology/icub-main/blob/devel/src/libraries/iCubDev/include/iCub/IRawValuesPublisher.h) * * @section Example_xml Example of xml *