Advertisement
Guest User

ekf

a guest
Apr 4th, 2023
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 2.78 KB | Source Code | 0 0
  1. ### ekf config file ###
  2. ekf_filter_node:
  3.     ros__parameters:
  4. # The frequency, in Hz, at which the filter will output a position estimate. Note that the filter will not begin
  5. # computation until it receives at least one message from one of theinputs. It will then run continuously at the
  6. # frequency specified here, regardless of whether it receives more measurements. Defaults to 30 if unspecified.
  7.         frequency: 30.0
  8.  
  9. # ekf_localization_node and ukf_localization_node both use a 3D omnidirectional motion model. If this parameter is
  10. # set to true, no 3D information will be used in your state estimate. Use this if you are operating in a planar
  11. # environment and want to ignore the effect of small variations in the ground plane that might otherwise be detected
  12. # by, for example, an IMU. Defaults to false if unspecified.
  13.         two_d_mode: false
  14.  
  15. # Whether to publish the acceleration state. Defaults to false if unspecified.
  16.         publish_acceleration: true
  17.  
  18. # Whether to broadcast the transformation over the /tf topic. Defaultsto true if unspecified.
  19.         publish_tf: true
  20.  
  21. # 1. Set the map_frame, odom_frame, and base_link frames to the appropriate frame names for your system.
  22. #     1a. If your system does not have a map_frame, just remove it, and make sure "world_frame" is set to the value of odom_frame.
  23. # 2. If you are fusing continuous position data such as wheel encoder odometry, visual odometry, or IMU data, set "world_frame"
  24. #    to your odom_frame value. This is the default behavior for robot_localization's state estimation nodes.
  25. # 3. If you are fusing global absolute position data that is subject to discrete jumps (e.g., GPS or position updates from landmark
  26. #    observations) then:
  27. #     3a. Set your "world_frame" to your map_frame value
  28. #     3b. MAKE SURE something else is generating the odom->base_link transform. Note that this can even be another state estimation node
  29. #         from robot_localization! However, that instance should *not* fuse the global data.
  30.         map_frame: map              # Defaults to "map" if unspecified
  31.         odom_frame: odom            # Defaults to "odom" if unspecified
  32.         base_link_frame: base_link  # Defaults to "base_link" ifunspecified
  33.         world_frame: odom           # Defaults to the value ofodom_frame if unspecified
  34.  
  35.         odom0: demo/odom
  36.         odom0_config: [true,  true,  true,
  37.                        false, false, false,
  38.                        false, false, false,
  39.                        false, false, true,
  40.                        false, false, false]
  41.  
  42.         imu0: demo/imu
  43.         imu0_config: [false, false, false,
  44.                       true,  true,  true,
  45.                       false, false, false,
  46.                       false, false, false,
  47.                       false, false, false]
  48.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement