Skip to content

Commit

Permalink
oupsi, I removed the IMU by accident
Browse files Browse the repository at this point in the history
  • Loading branch information
VincidaB committed May 2, 2024
1 parent 1388476 commit 49ae566
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion src/ezbot_robot/launch/real_robot.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,12 +106,29 @@ def generate_launch_description():
)



lidar_with_mgr = Node(
package='ldlidar_node',
executable='ldlidar_with_mgr.py',
output='screen'
)


# don't know what the parameters do
imu_complementary_filter = Node(
package='imu_complementary_filter',
executable='complementary_filter_node',
name='complementary_filter_gain_node',
output='screen',
parameters=[
{'do_bias_estimation': True},
{'do_adaptive_gain': True},
{'use_mag': False},
{'gain_acc': 0.01},
{'gain_mag': 0.01},
],
)

delayed_imu_filter = TimerAction(
period=5.0,
actions = [imu_complementary_filter],
Expand All @@ -133,7 +150,7 @@ def generate_launch_description():
imu_node,
delayed_imu_filter,
delayed_actuators_spawner,
lidar_with_mgr,
lidar_with_mgr
#joystick,

])

0 comments on commit 49ae566

Please sign in to comment.