You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# machine_namespace (Optional[str], optional): The Namespace from '/' to the ROS namespace for the specific Mirte. Defaults to "/{HOSTNAME}". (This only has to be changed when running the Robot API from a different machine directly. It is configured correctly for the Web interface)
74
+
# hardware_namespace (str, optional): The namespace for the hardware peripherals. Defaults to "io".
70
75
71
-
Parameters:
72
-
machine_namespace (Optional[str], optional): The Namespace from '/' to the ROS namespace for the specific Mirte. Defaults to "/{HOSTNAME}". (This only has to be changed when running the Robot API from a different machine directly. It is configured correctly for the Web interface)
73
-
hardware_namespace (str, optional): The namespace for the hardware peripherals. Defaults to "io".
74
-
"""
75
76
self._machine_namespace=""#(
76
77
# machine_namespace
77
78
# if machine_namespace and validate_namespace(machine_namespace)
@@ -587,10 +588,8 @@ def getAnalogPinValue(
587
588
pin (str): The pin number of an analog pin as printed on the microcontroller.
588
589
mode (str, optional): The units of the value, can be "percentage", "raw" or "voltage". Defaults to "percentage".
589
590
590
-
# FIXME: HOW TO DO DOCS
591
591
Returns:
592
-
int: RAW
593
-
float: Value between 0-5V (Arduino) or 0-3.3V (Pico).
592
+
int | float: Value of the pin (0-100 when percentage, 0-<max_mcu_value> when raw, 0-<max_mcu_voltage>V when voltage).
0 commit comments