chengkaiqiang 6213262140 v-0.1.1-1:20240806 | hace 3 meses | |
---|---|---|
.. | ||
doc | hace 3 meses | |
include | hace 3 meses | |
launch | hace 3 meses | |
src | hace 3 meses | |
test | hace 3 meses | |
.github_release.sh | hace 3 meses | |
.gitignore | hace 3 meses | |
CMakeLists.txt | hace 3 meses | |
README.md | hace 3 meses | |
circle.yml | hace 3 meses |
This directory is part of a subtree fetched from https://github.com/CPFL/adi_driver on the Autoware branch, a fork from the original https://github.com/ros-drivers/velodyne
This repo adds specific functions for Autoware. If you need to modify any file inside this folder structure, please use the following commands to either push or fetch changes from the subtree. All the commands written here will suppose you're in the root of Autoware path.
Bring latest commits from https://github.com/CPFL/adi_driver
git subtree pull --prefix ros/src/sensing/drivers/imu/packages/analog_devices https://github.com/CPFL/adi_driver Autoware --squash
If you made any modification to the subtree you are encouraged to commit and publish your changes to the fork. You can do with the following command.
git subtree push --prefix ros/src/sensing/drivers/imu/packages/analog_devices https://github.com/CPFL/adi_driver Autoware
Original README below
This package contains ROS driver nodes for Analog Devices(ADI) sensor products mainly communicate by SPI(Serial Periferal Interface).
Currently supported devices are:
You need a SPI interface on your PC to communicate with device. This package supports Devantech's USB-IIS as the USB-SPI converter.
USB-IIS is a USB to Serial/I2C/SPI converter, simple, small and easy to use. You don't need any extra library like libusb or libftdi. The device is available on /dev/ttyACM* as modem device.
Please consult the product information and SPI documentation for the detail.
You need to remove the jumper block on Power link
pins to provide
3.3V for the device.
You need to add your user to dialout group to acces /dev/ttyACM* .
If it takes several seconds until /dev/ttyACM* available, you need to
uninstall modemmanager as:
$ sudo apt remove modemmanager ```
ADIS16470 is a complete inertial system that includes a triaxis gyroscope and a triaxis accelerometer.
You can use Breakout board for easy use.
You need to build a flat cable to connect the USB-ISS and the ADIS16470 breakout board. The picture shows a implementation.
Very simple schematic is here. J1 is the USB-ISS pin and J2 is the 2mm pin headers on the ADIS16470 breakout board.
Note: you only need to connect one of the power-line(3.3V and GND). They are connected in the breakout board.
Connect your sensor to USB port. Run the launch file as:
$ roslaunch adi_driver adis16470.launch
You can see the model of ADIS16470 breakout board in rviz panel.
The ADXL345 is a small, thin, low power, 3-axis accelerometer with high resolution (13-bit) measurement at up to ±16g. At this moment, support for this device is experimental.