This package contains ROS driver nodes for Murata sensor products mainly communicate by SPI(Serial Periferal Interface).
supported devices:
- SCHA63T Series
- SCHA600 Series
To write software to Teensy4.0, use "Arduino IDE" and "Arduino IDE + Teensyduino". Please install them on your Windows PC.
Next, place the extracted folder in an appropriate directory.
"SCHA" โ scha IMU library, place it in the arudino library directory by folder. This is the default location ( C:\Program Files (x86)\Arduino\libraries ) e.g.) C:\Program Files (x86)\Arduino\libraries\SCHA
Change the valid definitions in SCHA.cpp depending on the platform you are writing to.
By default, SCHA6xx_x03 is valid.
"scha_board" โ teensy's working directory. Place it anywhere you want and run scha_board.ino when compiling/writing.
After placing the folder, double-click scha_board.ino to run it in Arduino IDE. Click the verification button (check mark) in the upper left corner to compile the program.
After the compile result is displayed at the bottom of Arduino IDE with no error, click Press the Write button on Teensy4.0 once. (Teensy 4.0 will restart automatically after writing.)
"Click the Terminal button in the upper right corner of the Arduino IDE to confirm that the data acquisition is successful.
The topic name and .yaml file name are "series name"_xxx, so please change them as necessary. There is no problem if you use them as they are.
"ros_package/scha_imu_driver" is a ros driver that runs on linux. Please install the ros environment on your Linux PC.
Place "ros_package/scha_imu_driver" in any workspace and build it.
Connect the device to your PC, and edit the device in the .yaml file in "ros_package/scha_imu_driver/config" according to the connection status.
Run the appropriate launch for your device from "ros_package/scha_imu_driver/launch".