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
The function **getFineOdometry()** allows to retrieve a more precise position distance of the SWD Core at low level speed.
5
+
6
+
> This position is non-safe. Safety relevant applications should rely with **getOdometryValue()**.
7
+
8
+
This function use the precise multiturn position value (**hall_encoder**), in units of motor mechanical degrees.
9
+
10
+
> The counter direction depends of the position polarity parameter.
11
+
12
+
## COMMISSIONING
13
+
In order to switch from **position_value** to **hall_encoder** data in the PDO mapping , the commissioning of the both motors have to be modifed as follow:
The latest swd_diff_drive controller on github contains a parameter to indicate which odometry shall be used: `"fine_odometry": False.`By default, this parameter is set to false in order to continue using `position_value`data and `getOdometryValue()` function.
33
+
34
+
## ROS1
35
+
Until **getFineOdometry()** is available, a possible workaround is to modif "**nbPolePair**" setting into `configuration.json` file :
36
+
`"nbPolePair": 60.0` instead of `"nbPolePair": 5.0`
37
+
38
+
Thus, the formula used by "**getOdometryValue**" will compute the same value as "**getFineOdometryValue**" and all transparent to the swd_diff_drive_controller node.
0 commit comments