Download data/core/components/code/console_configuration.cdg from introvoyz045/sawIntuitiveResearchKit: direct link, hf CLI and curl.
- Browser
- Download file 2.97 kB
-
https://huggingface.co/datasets/introvoyz045/sawIntuitiveResearchKit/resolve/main/data/core/components/code/console_configuration.cdg
- Command line
-
hf download hf://datasets/introvoyz045/sawIntuitiveResearchKit/data/core/components/code/console_configuration.cdg
-
curl -L -o console_configuration.cdg https://huggingface.co/datasets/introvoyz045/sawIntuitiveResearchKit/resolve/main/data/core/components/code/console_configuration.cdg
2.97 kB
| // -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- | |
| // ex: set filetype=cpp softtabstop=4 shiftwidth=4 tabstop=4 cindent expandtab: | |
| inline-header { | |
| } | |
| enum { | |
| name console_input_type; | |
| namespace dvrk; | |
| enum-value { | |
| name UNDEFINED; | |
| description Undefined; | |
| value 0; | |
| } | |
| enum-value { | |
| name PEDALS_ONLY; | |
| description Only use foot pedals, coag is used for operator_present; | |
| } | |
| enum-value { | |
| name PEDALS_GOOVIS_HEAD_SENSOR; | |
| description Use pedals for clutch and camera, Goovis HID for operator_present; | |
| } | |
| enum-value { | |
| name PEDALS_ISI_HEAD_SENSOR; | |
| description Use pedals for clutch and camera, ISI head sensor for operator_present; | |
| } | |
| enum-value { | |
| name PEDALS_DVRK_HEAD_SENSOR; | |
| description Use pedals for clutch and camera, dVRK head sensor for operator_present; | |
| } | |
| enum-value { | |
| name SIMULATED; | |
| description No inputs required; | |
| } | |
| enum-value { | |
| name COMPONENTS; | |
| description Specify the component and interface for each input: clutch, camera, operator_present; | |
| } | |
| } | |
| class { | |
| name console_configuration; | |
| namespace dvrk; | |
| attribute CISST_EXPORT; | |
| member { | |
| name name; | |
| type std::string; | |
| visibility public; | |
| } | |
| member { | |
| name input_type; | |
| type dvrk::console_input_type; | |
| visibility public; | |
| } | |
| member { | |
| name IO_pedals; | |
| type dvrk::IO_configuration; | |
| visibility public; | |
| default dvrk::IO_configuration("IO_pedals"); | |
| } | |
| member { | |
| name IO_head_sensor; | |
| type dvrk::IO_configuration; | |
| visibility public; | |
| default dvrk::IO_configuration("IO_head_sensor"); | |
| } | |
| member { | |
| name HID_file; | |
| type std::string; | |
| visibility public; | |
| default ""; | |
| } | |
| member { | |
| name clutch; | |
| type dvrk::terminal; | |
| visibility public; | |
| default dvrk::terminal(); | |
| } | |
| member { | |
| name camera; | |
| type dvrk::terminal; | |
| visibility public; | |
| default dvrk::terminal(); | |
| } | |
| member { | |
| name operator_present; | |
| type dvrk::terminal; | |
| visibility public; | |
| default dvrk::terminal(); | |
| } | |
| member { | |
| name teleop_PSMs; | |
| type std::vector<dvrk::teleop_PSM_proxy_configuration>; | |
| visibility public; | |
| default std::vector<dvrk::teleop_PSM_proxy_configuration>(); | |
| } | |
| member { | |
| name teleop_ECMs; | |
| type std::vector<dvrk::teleop_ECM_proxy_configuration>; | |
| visibility public; | |
| default std::vector<dvrk::teleop_ECM_proxy_configuration>(); | |
| } | |
| } | |