Implements ROS2 IMU gyro + accel calibration node with: - Service-triggered calibration via /saltybot/calibrate_imu - Optional auto-calibration on startup (configurable) - Collects N stationary samples (default 100) - Computes mean bias offsets for gyro and accel - Publishes bias-corrected IMU on /imu/calibrated - Includes 10+ unit tests for calibration logic Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
25 lines
874 B
Python
25 lines
874 B
Python
from setuptools import setup, find_packages
|
|
|
|
setup(
|
|
name='saltybot_imu_calibration',
|
|
version='0.1.0',
|
|
packages=find_packages(),
|
|
data_files=[
|
|
('share/ament_index/resource_index/packages', ['resource/saltybot_imu_calibration']),
|
|
('share/saltybot_imu_calibration', ['package.xml']),
|
|
('share/saltybot_imu_calibration/config', ['config/imu_calibration_config.yaml']),
|
|
('share/saltybot_imu_calibration/launch', ['launch/imu_calibration.launch.py']),
|
|
],
|
|
install_requires=['setuptools'],
|
|
zip_safe=True,
|
|
author='SaltyLab Controls',
|
|
author_email='sl-controls@saltylab.local',
|
|
description='IMU gyro + accel calibration node for SaltyBot',
|
|
license='MIT',
|
|
entry_points={
|
|
'console_scripts': [
|
|
'imu_calibration_node=saltybot_imu_calibration.imu_calibration_node:main',
|
|
],
|
|
},
|
|
)
|