[Documentation] [TitleIndex] [WordIndex

Epson IMU ROS2 Node UART ** Deprecated **

*** NOTE: This package has been superceded by Epson IMU ROS2 Driver Node***

*** This webpage will no longer be updated ***


ess_sensors/g552.jpg ess_sensors/g370.jpg ess_sensors/g365.jpg

Overview


UART Connection & Configuration


ROS2 Node


Published Topics

Launch File

Timestamping With EXT Signal (Time Correction)

Building & Installing ROS2 Node


1. Place this package (including folders) into a new folder within your colcon workspace src/ folder.

2. Modify the CMakeLists.txt to select the desired Epson IMU model that is being used in the ROS2 system.

3. From the colcon workspace folder run colcon build to build all changed ROS2 packages located in the <colcon_workspace>/src/ folder.

4. Reload the current ROS2 environment variables that may have changed after the colcon build process.

From the <colcon_workspace>: source install/setup.bash

5. Modify the appropriate launch file to set your desired IMU init parameters for the specific IMU model in the launch folder that you selected and built

Running the ROS2 Node


<colcon_workspace>/ros2 launch ess_imu_ros2_uart_driver g370_launch.py

USB-UART Latency


Modify latency_timer by sysfs mechanism

cat /sys/bus/usb-serial/devices/ttyUSB0/latency_timer
16
echo 1 > /sys/bus/usb-serial/devices/ttyUSB0/latency_timer
cat /sys/bus/usb-serial/devices/ttyUSB0/latency_timer
1

Modify low_latency flag using setserial utility

user@user-VirtualBox:~$ setserial /dev/ttyUSB0
/dev/ttyUSB0, UART: unknown, Port: 0x0000, IRQ: 0

user@user-VirtualBox:~$ setserial /dev/ttyUSB0 low_latency

user@user-VirtualBox:~$ setserial /dev/ttyUSB0
/dev/ttyUSB0, UART: unknown, Port: 0x0000, IRQ: 0, Flags: low_latency

Technical Support



2024-12-07 14:46