kuka-isir / ati_sensor

C++ Libraries to communicate with the ATI NET F/T box.
Other
11 stars 8 forks source link

F#9 gauge bias setting #10

Closed guihomework closed 7 years ago

guihomework commented 7 years ago

to solve #9

the test should look like this

rosrun ati_sensor gauge_bias_tester 192.168.10.100
Creating sensor
Initializing sensor
Initializing ft sensor (gnulinux)
Start realtime streaming with 1 samples
Using current calibration
Sucessfully retrieved counts per force : 1000000
Sucessfully retrieved counts per torque : 1000000
Set bias (reset) and read gauge bias values
Using current calibration
Gauge bias values after biasing : -18343, -1227, 10589, 5600, 8657, -5097,
Set gauge bias to specific values and read them back
Using current calibration
Gauge bias values are : 10 (10 was set), -1 (-1 was set), 11 (11 was set), -2 (-2 was set), 12 (12 was set), -3 (-3 was set),
Sensor shutdown sucessfully

was tested on a NON-rtnet system and without xenomai obviously.

before merging, tested are required on such a system

JimmyDaSilva commented 7 years ago

Thank you for your contribution! I will try to test this later in the afternoon