Yarp: Yarpdataplayer speed control not working

Created on 23 Nov 2019  路  3Comments  路  Source: robotology/yarp

Describe the bug
yarpdataplayer speed control is not working.

To Reproduce
Open any recorded dataset with yarpdataplayer and try to change speed using the slider in the GUI.

Configuration:

  • OS: Ubuntu 18.04
  • yarp version: latest devel

    • compiler: g++ (Ubuntu 7.4.0-1ubuntu1~18.04.1)

Additional context

It seems that the variable utilities->speed is set in the GUI code

https://github.com/robotology/yarp/blob/632996c534a7cbd7bac3690e1cf23423f5bab166/src/yarpdataplayer/src/mainwindow.cpp#L901-L914

but it is not used elsewhere

yarp/src/yarpdataplayer$ grep -r "speed" .
./src/mainwindow.cpp:    QString speed = QString("%1").arg(szValue);
./src/mainwindow.cpp:    ui->speedValueLbl->setText(speed);
./src/mainwindow.cpp:        utilities->speed = value;
./src/utils.cpp:    speed(1.0),
./include/utils.h:    double              speed;
./include/UI/mainwindow.ui:          <widget class="QLabel" name="speedLbl">
./include/UI/mainwindow.ui:          <widget class="QLabel" name="speedValueLbl">

YARP v3.2.1 GUI - yarpdataplayer YARP v3.2.2 Bug Fixed

All 3 comments

on it...

This has been handled in #2127. Thanks @xEnVrE

Fixed by #2127

Was this page helpful?
0 / 5 - 0 ratings

Related issues

diegoferigo picture diegoferigo  路  3Comments

Nicogene picture Nicogene  路  3Comments

xEnVrE picture xEnVrE  路  3Comments

Nicogene picture Nicogene  路  3Comments

Giulero picture Giulero  路  3Comments