-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add message definition for ToolData.
- Loading branch information
1 parent
a58f4b5
commit b26b61d
Showing
2 changed files
with
21 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
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,20 @@ | ||
# This data structure contains the ToolData structure | ||
# used by the Universal Robots controller | ||
|
||
int8 ANALOG_INPUT_RANGE_CURRENT = 0 | ||
int8 ANALOG_INPUT_RANGE_VOLTAGE = 1 | ||
|
||
int8 analog_input_range2 # one of ANALOG_INPUT_RANGE_* | ||
int8 analog_input_range3 # one of ANALOG_INPUT_RANGE_* | ||
float64 analog_input2 | ||
float64 analog_input3 | ||
float32 tool_voltage_48v | ||
uint8 tool_output_voltage | ||
float32 tool_current | ||
float32 tool_temperature | ||
|
||
uint8 TOOL_BOOTLOADER_MODE = 249 | ||
uint8 TOOL_RUNNING_MODE = 253 | ||
uint8 TOOL_IDLE_MODE = 255 | ||
|
||
uint8 tool_mode # one of TOOL_* |