Skip to content

Commit 4cb2b2e

Browse files
committed
Use MAS wrapper and new deviceBundler tool
1 parent 4c53a68 commit 4cb2b2e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/install-icub.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ Try `xsensmtx` out:
1818
```bash
1919
[Terminal 1] yarp server
2020
[Terminal 2] sudo chmod 777 /dev/ttyUSB0
21-
[Terminal 2] sudo yarpdev --subdevice xsensmtx --device inertial --name /inertial
21+
[Terminal 2] sudo yarpdev --device deviceBundler --wrapper_device multipleanalogsensorsserver --attached_device xsensmtx --name /inertial --period 5
2222
[Terminal 3] yarp read ... /inertial
2323
```

docs/install-xsens.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ yarpdev --list | grep xsensmtx
1919

2020
## Set rules to avoid needing sudo
2121

22-
In order to allow a non-sudoer to read data from the sensors connected via USB port, you need to add a rule for udev system.
22+
In order to allow a non-sudoer to read data from the sensors connected via USB port, you need to add a rule for udev system.
2323

2424
Similar to the advice from [debian udev documentation](https://wiki.debian.org/udev), create `/etc/udev/rules.d/80-persistent-local-usb.rules` with the following contents:
2525
```
@@ -30,7 +30,7 @@ KERNEL == "ttyUSB0", MODE = "0777"
3030

3131
Run (may require `sudo` if rules not set):
3232
```bash
33-
yarpdev --device inertial --subdevice xsensmtx --name /inertial
33+
yarpdev --device deviceBundler --wrapper_device multipleanalogsensorsserver --attached_device xsensmtx --name /inertial --period 5
3434
```
3535

3636
Data can be vizualized via classic `yarp read ... /inertial` or like in [teoTools.xml](https://github.com/roboticslab-uc3m/teo-configuration-files/blob/762ebe5079e05da38602e21e2feccd9901d8513d/share/teoTools/scripts/teoTools.xml#L74-L79).

0 commit comments

Comments
 (0)