-
Notifications
You must be signed in to change notification settings - Fork 68
UI Customization
Starting with the dVRK 2.0, we added support for a "pseudo" dark mode and Qt styles. If you're using a Qt based window manager you will likely not use these features (e.g. KDE). For the default Ubuntu window managers, these extra options allow some user customization of the dVRK GUIs.
To activate the dark mode, add the option -D
when starting the dVRK console application. This applies to the plain application sawIntuitiveResearchKitQtConsoleJSON
as well as the ROS node dvrk_robot dvrk_console_json
.
To change the Qt style, use the option -S
. To figure out which Qt styles are available, use a dummy style that doesn't exist: -S unicorn
(let's hope no one will ever create a Qt style named "unicorn"). The application will fail to launch but it will display a list of available styles.
To install some extra styles:
- Ubuntu 18.04:
sudo apt install qt5-style-plugins kde-style-oxygen-qt5 kde-style-qtcurve-qt5
- Ubuntu 20.04:
sudo apt install qt5-style*
Since we use Qt for all GUIs, these options should work on all OSs but we've only tested them on Linux.
Starting with the dVRK 1.6 we added some audio feedback for some console events (operator present, pedal pressed...). The dVRK applications rely on the sawTextToSpeech component for both text-to-speech and beeps. These commands are exposed by the ROS node under the topics:
-
/console/string_to_speech
: expects a plain string -
/console/beep
: expects astd_msgs/Float64MultiArray
with 3 values: duration (in seconds), frequency and volume (0 to 1). For exampledata: [0.5, 3000.0, 1.0]
See the sawTextToSpeech page for requirements.
Community
Getting Started
- First Steps
- Software installation
- Controller Connectivity
- XML Configuration
- Hardware Setup
- Calibration
- Classic/Standard
- Si
- Examples
Advanced
- Software Architecture
- Application Development
- Config File formats
- APIs
- UI Customization
- Teleoperation
- Kinematics Simulation
- Potentiometer Issues
- Development Branches
- Release Checklist
- Projects
- Controllers/versions
- E-STOP Wiring
- Full da Vinci System
- Head Sensor
- Foot Pedals
- Video Pipeline
- Instruments
Miscellaneous
- Frequently Asked Questions
- User manuals Classic Si
- QLA Heat Sink
- Build w/o ROS Linux Mac
- cisst
- JHU
Deprecated