SintefManufacturing / python-urx

Python library to control a robot from 'Universal Robots' http://www.universal-robots.com/
GNU Lesser General Public License v3.0
530 stars 275 forks source link

Analog sensor issue #121

Open FlowBo opened 8 months ago

FlowBo commented 8 months ago

I try to read out an analog distance sensor. It is a current based sensor and it looks all good on the UR UI. When I try to read via: analog_input_raw = robot.get_analog_inputs() analog_input_0 = analog_input_raw[0]

I get numbers like this: 5.45884889083e-312

Is there an example how to read an analog current sensor with URX?