From 0d1773e2874bf7add37c89bf8c9aac5255e6252a Mon Sep 17 00:00:00 2001 From: Jeff Schmidt Date: Mon, 17 Apr 2017 15:29:05 -0400 Subject: [PATCH 1/2] Update microstrain_25.launch removed references to GX4 now looks for the "/dev/microstrain" symlink created by the udev rule changed the frame_ids to more conventional or useful names --- launch/microstrain_25.launch | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/launch/microstrain_25.launch b/launch/microstrain_25.launch index 74dc51bd..f35e035d 100644 --- a/launch/microstrain_25.launch +++ b/launch/microstrain_25.launch @@ -1,17 +1,18 @@ - + + - - - + @@ -20,11 +21,11 @@ - + - + @@ -32,14 +33,14 @@ - + - + @@ -50,4 +51,4 @@ - \ No newline at end of file + From b3b8b7c944a1a4589a014d731c943e4bf5717eba Mon Sep 17 00:00:00 2001 From: Jeff Schmidt Date: Mon, 17 Apr 2017 15:30:38 -0400 Subject: [PATCH 2/2] Create 99-microstrain.rules Creates a symlink in /dev when a Microstrain device is connected. --- udev/99-microstrain.rules | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 udev/99-microstrain.rules diff --git a/udev/99-microstrain.rules b/udev/99-microstrain.rules new file mode 100644 index 00000000..c4c11419 --- /dev/null +++ b/udev/99-microstrain.rules @@ -0,0 +1,11 @@ +# Universal rule for GX3/4/5 devices +SUBSYSTEM=="tty", SUBSYSTEMS=="usb", ATTRS{product}=="Lord Inertial Sensor", SYMLINK="microstrain", MODE="0666" + +# Vendor/Product-locked rules for GX3/4/5 devices +#SUBSYSTEM=="tty", ATTRS{idVendor}=="199b", ATTRS{idProduct}=="3065", SYMLINK="microstrain", MODE="0666" +#SUBSYSTEM=="tty", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="5740", SYMLINK="microstrain", MODE="0666" + +# Uncomment these rules if you'd like the serial number to appear in the symlink. Useful if you have multiple devices. +#SUBSYSTEM=="tty", ATTRS{idVendor}=="199b", ATTRS{idProduct}=="3065", SYMLINK+="microstrain_%s{serial}", MODE="0666" +#SUBSYSTEM=="tty", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="5740", SYMLINK+="microstrain_%s{serial}", MODE="0666" +#SUBSYSTEM=="tty", SUBSYSTEMS=="usb", ATTRS{product}=="Lord Inertial Sensor", SYMLINK+="microstrain_%s{serial}", MODE="0666"