No version for distro humble showing github. Known supported distros are highlighted in the buttons above.
Package symbol

object_map package from autoware_learn repo

amathutils_lib autoware_build_flags autoware_health_checker emergency_handler gnss lanelet2_extension libvectormap libwaypoint_follower map_file object_map op_planner op_ros_helpers op_simu op_utility ros_observer tvm_utility vector_map vector_map_server vehicle_sim_model autoware_connector ekf_localizer gnss_localizer image_processor imm_ukf_pda_track lidar_apollo_cnn_seg_detect lidar_euclidean_cluster_detect lidar_fake_perception lidar_kf_contour_track lidar_localizer lidar_naive_l_shape_detect lidar_point_pillars lidar_shape_estimation naive_motion_predict ndt_cpu ndt_gpu ndt_tku obj_db pcl_omp_registration pixel_cloud_fusion points_downsampler points_preprocessor pos_db range_vision_fusion road_occupancy_processor roi_object_filter trafficlight_recognizer twist_generator vel_pose_diff_checker vision_beyond_track vision_darknet_detect vision_lane_detect vision_segment_enet_detect vision_ssd_detect astar_search costmap_generator decision_maker dp_planner ff_waypoint_follower freespace_planner lane_planner lattice_planner ll2_global_planner mpc_follower op_global_planner op_local_planner op_simulation_package op_utilities pure_pursuit state_machine_lib twist_filter twist_gate way_planner waypoint_maker waypoint_planner autoware_quickstart_examples autoware_can_msgs autoware_config_msgs autoware_external_msgs autoware_lanelet2_msgs autoware_map_msgs autoware_msgs autoware_system_msgs tablet_socket_msgs vector_map_msgs carla_autoware_bridge gazebo_camera_description gazebo_imu_description lgsvl_simulator_bridge vehicle_gazebo_simulation_interface vehicle_gazebo_simulation_launcher wf_simulator autoware_bag_tools autoware_camera_lidar_calibrator autoware_launcher autoware_launcher_rviz calibration_publisher data_preprocessor graph_tools kitti_box_publisher kitti_launch kitti_player lanelet_aisan_converter log_tools map_tf_generator map_tools marker_downsampler mqtt_socket multi_lidar_calibrator oculus_socket pc2_downsampler rosbag_controller runtime_manager sound_player system_monitor tablet_socket twist2odom udon_socket vehicle_engage_panel vehicle_socket decision_maker_panel detected_objects_visualizer fastvirtualscan gazebo_world_description glviewer integrated_viewer points2image rosinterface autoware_rviz_plugins vehicle_description vehicle_model adi_driver as autoware_driveworks_gmsl_interface autoware_driveworks_interface vlg22c_cam custom_msgs garmin hokuyo javad_navsat_driver kvaser sick_lms5xx memsic_imu microstrain_driver nmea_navsat autoware_pointgrey_drivers sick_ldmrs_description sick_ldmrs_driver sick_ldmrs_laser sick_ldmrs_msgs sick_ldmrs_tools vectacam xsens_driver ymc ds4 ds4_driver ds4_msgs lanelet2 lanelet2_core lanelet2_examples lanelet2_io lanelet2_maps lanelet2_matching lanelet2_projection lanelet2_python lanelet2_routing lanelet2_traffic_rules lanelet2_validation mrt_cmake_modules

ROS Distro
github

Package Summary

Tags No category tags.
Version 1.12.0
License Apache 2
Build type CATKIN
Use RECOMMENDED

Repository Summary

Description autoware.ai perf
Checkout URI https://github.com/is-whale/autoware_learn.git
VCS Type git
VCS Version 1.14
Last Updated 2025-03-14
Dev Status UNKNOWN
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

The object_map package

Additional Links

No additional links.

Maintainers

  • ando
  • amc

Authors

No additional authors.

The object_map Package

This package contains nodes to extract information from the LiDAR sensor and from ADAS Maps. The processed result is published as GridMaps (grid_map) and/or occupancy grids(nav_msgs).


Nodes in the Package

laserscan2costmap

This node uses 2D LaserScan messages to generate the OccupancyGrid.

Input topics

Default: /scan (sensor_msgs::LaserScan) from vscan.

Output topics

/ring_ogm (nav_msgs::OccupancyGrid) is the output OccupancyGrid with values ranging from 0-100.

How to launch

It can be launched as follows:

  1. Using the Runtime Manager by clicking the laserscan2costmap checkbox under the Semantics section in the Computing tab.
  2. From a sourced terminal by executing: roslaunch object_map laserscan2costmap.launch.
Parameters available in roslaunch and rosrun
  • resolution defines the equivalent value of a cell in the grid in meters. Smaller values result in better accuracy at the expense of memory and computing cost (default value: 0.1).
  • cell_width represents the width in meters of the OccupancyGrid around the origin of the PointCloud (default: 150).
  • cell_height represents the height in meters of the OccupancyGrid around the origin of the PointCloud (default: 150).
  • offset_x indicates if the center of the OccupancyGrid will be shifted by this distance, to the left(-) or right(+) (default: 25).
  • offset_y indicates if the center of the OccupancyGrid will be shifted by this distance, to the back(-) or front(+) (default: 0).
  • offset_z indicates if the center of the OccupancyGrid will be shifted by this distance, below(-) or above(+) (default: 0).
  • scan_topic is the PointCloud topic source.

wayarea2grid

The ADAS Maps used in Autoware may contain the definition of the road areas, which is useful for computing whether a region is drivable or not. This node reads the data from an ADAS Map (VectorMap) and extracts the 3D positions of the road regions. It projects them into an OccupancyGrid and sets the value to 128 if the area is road and 255 if it is not. These values are used because this node uses 8-bit bitmaps (grid_map).

Input topics

/vector_map (vector_map_msgs::WayArea) from the VectorMap publisher. /tf to obtain the transform between the vector map(grid_frame) and the sensor(sensor_frame) .

Output topics

/grid_map_wayarea (grid_map::GridMap) is the resulting GridMap with values ranging from 0-255. /occupancy_wayarea (nav_msgs::OccupancyGrid) is the resulting OccupancyGrid with values ranging from 0-255.

How to launch

It can be launched as follows:

  1. Using the Runtime Manager by clicking the wayarea2grid checkbox under the Semantics section in the Computing tab.
  2. From a sourced terminal by executing: roslaunch object_map wayarea2grid.launch
Parameters available in roslaunch and rosrun
  • sensor_frame defines the coordinate frame of the vehicle origin (default value: velodyne).
  • grid_frame defines the coordinate frame of the map (default: map).
  • grid_resolution defines the equivalent value of a cell in the grid in meters. Smaller values result in better accuracy at the expense of memory and computing cost (default: 0.2).
  • grid_length_x represents the width in meters of the OccupancyGrid around the origin of the PointCloud (default: 25).
  • grid_length_y represents the height in meters of the OccupancyGrid around the origin of the PointCloud (default: 0).
  • grid_position_x indicates if the center of the OccupancyGrid will be shifted by this distance, left(-) or right(+) (default: 0).
  • grid_position_y indicates if the center of the OccupancyGrid will be shifted by this distance, back(-) or front(+) (default: 0).

grid_map_filter

This node can combine sensor, map, and perception data as well as other OccupancyGrids. It generates OccupancyGrids with useful data for navigation purposes. It publishes three different layers. More details are provided in the output topics section below.

Input topics

/vector_map (vector_map_msgs::WayArea) from the VectorMap publisher. /tf to obtain the transform between the vector map (grid_frame) and the sensor (sensor_frame). /semantics/costmap_generator/occupancy_grid (nav_msgs::OccupancyGrid) calculated by costmap_generator package.

Output topics

/filtered_grid_map (grid_map::GridMap) which contains 3 layers and is also published as in regular OccupancyGrid messages. distance_transform (nav_msgs::OccupancyGrid) applies a distance transform to the OccupancyGrid obtained from the /realtime_cost_map, allowing us to obtain a gradient of probabilities surrounding the obstacles PointCloud. dist_wayarea (nav_msgs::OccupancyGrid) contains a combination of the distance transform and the road data, as described in the wayarea2grid node. circle (nav_msgs::OccupancyGrid) draws a circle surrounding the /realtime_cost_map.

The output topics are configured as described in the grid_map package, and the configuration file is inside the config folder of the package.

How to launch

It can be launched as follows:

  1. Using the Runtime Manager by clicking the grid_map_filter checkbox under the Semantics section in the Computing tab.
  2. From a sourced terminal by executing: roslaunch object_map grid_map_filter.launch.
Parameters available in roslaunch and rosrun
  • map_frame defines the coordinate system of the realtime costmap (default value: map).
  • map_topic defines the topic where the realtime costmap is being published (default: /realtime_cost_map).
  • dist_transform_distance defines the maximum distance to calculate the distance transform, in meters (default: 2.0).
  • use_wayarea indicates whether or not to use the road regions to filter the cost map (default: true).
  • use_fill_circle enables or disables the generation of the circle layer (default: true).
  • fill_circle_cost_threshold indicates the minimum cost value threshold value to decide if a circle will be drawn (default: 20)
  • circle_radius defines the radius of the circle, in meters (default: 1.7).

Instruction Videos

grid_map_filter

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package object_map

1.11.0 (2019-03-21)

  • [Feature] costmap generator (#1774)
      • Initial commit for visualization package
    • Removal of all visualization messages from perception nodes

    • Visualization dependency removal

    • Launch file modification

      • Fixes to visualization
    • Error on Clustering CPU

    • Reduce verbosity on markers

    • Publish acceleration and velocity from ukf tracker

    • Remove hardcoded path

    • Updated README

    • updated prototype

    • Prototype update for header and usage

    • Removed unknown label from being reported

    • Updated publishing orientation to match develop

      • Published all the trackers
    • Added valid field for visualization and future compatibility with ADAS ROI filtering

    • Add simple functions

      • Reversed back UKF node to develop
    • Formatted speed

    • Refactor codes

    • Make tracking visualization work

    • Relay class info in tracker node

    • Remove dependency to jskbbox and rosmarker in ukf tracker

    • apply rosclang to ukf tracker

    • Refactor codes

    • Revert "apply rosclang to ukf tracker"

    • Revert "Remove dependency to jskbbox and rosmarker in ukf tracker"

    • Revert "Relay class info in tracker node"

    • delete dependency to jsk and remove pointcloud_frame

    • get direction nis

    • set velocity_reliable true in tracker node

    • Add divided function

    • add function

    • Sanity checks

    • Relay all the data from input DetectedObject

    • Divided function work both for immukf and sukf

    • Add comment

    • Refactor codes

    • Pass immukf test

    • make direction assisted tracking work

    • Visualization fixes

    • Refactor codes

    • Tracker Merging step added

    • Added launch file support for merging phase

    • lane assisted with sukf

      • change only static objects

File truncated at 100 lines see the full file

Launch files

  • launch/grid_map_filter.launch
      • map_frame [default: map]
      • map_topic [default: /realtime_cost_map]
      • dist_transform_distance [default: 2.0]
      • use_dist_transform [default: true]
      • use_wayarea [default: true]
      • use_fill_circle [default: true]
      • fill_circle_cost_threshold [default: 20]
      • circle_radius [default: 1.7]
  • launch/laserscan2costmap.launch
      • resolution [default: 0.1]
      • scan_size_x [default: 1000]
      • scan_size_y [default: 1000]
      • map_size_x [default: 500]
      • map_size_y [default: 500]
      • scan_topic [default: /scan]
      • sensor_frame [default: /velodyne]
  • launch/potential_field.launch
      • use_obstacle_box [default: true]
      • use_vscan_points [default: false]
      • use_target_waypoint [default: false]
      • map_resolution [default: 0.25]
      • map_x_size [default: 40.0]
      • map_y_size [default: 25.0]
      • map_x_offset [default: 10.0]
  • launch/wayarea2grid.launch
      • sensor_frame [default: velodyne]
      • grid_frame [default: map]
      • grid_resolution [default: 0.3]
      • grid_length_x [default: 150]
      • grid_length_y [default: 150]
      • grid_position_x [default: 0]
      • grid_position_y [default: 0]
      • grid_position_z [default: -2]
  • launch/wayarea2grid_lanelet2.launch
      • sensor_frame [default: velodyne]
      • grid_frame [default: map]
      • grid_resolution [default: 0.3]
      • grid_length_x [default: 150]
      • grid_length_y [default: 150]
      • grid_position_x [default: 0]
      • grid_position_y [default: 0]
      • grid_position_z [default: -2]
  • launch/wayarea2grid_option.launch
      • sensor_frame [default: velodyne]
      • grid_frame [default: map]
      • grid_resolution [default: 0.3]
      • grid_length_x [default: 150]
      • grid_length_y [default: 150]
      • grid_position_x [default: 0]
      • grid_position_y [default: 0]
      • grid_position_z [default: -2]
      • use_ll2 [default: false]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged object_map at Robotics Stack Exchange

No version for distro jazzy showing github. Known supported distros are highlighted in the buttons above.
Package symbol

object_map package from autoware_learn repo

amathutils_lib autoware_build_flags autoware_health_checker emergency_handler gnss lanelet2_extension libvectormap libwaypoint_follower map_file object_map op_planner op_ros_helpers op_simu op_utility ros_observer tvm_utility vector_map vector_map_server vehicle_sim_model autoware_connector ekf_localizer gnss_localizer image_processor imm_ukf_pda_track lidar_apollo_cnn_seg_detect lidar_euclidean_cluster_detect lidar_fake_perception lidar_kf_contour_track lidar_localizer lidar_naive_l_shape_detect lidar_point_pillars lidar_shape_estimation naive_motion_predict ndt_cpu ndt_gpu ndt_tku obj_db pcl_omp_registration pixel_cloud_fusion points_downsampler points_preprocessor pos_db range_vision_fusion road_occupancy_processor roi_object_filter trafficlight_recognizer twist_generator vel_pose_diff_checker vision_beyond_track vision_darknet_detect vision_lane_detect vision_segment_enet_detect vision_ssd_detect astar_search costmap_generator decision_maker dp_planner ff_waypoint_follower freespace_planner lane_planner lattice_planner ll2_global_planner mpc_follower op_global_planner op_local_planner op_simulation_package op_utilities pure_pursuit state_machine_lib twist_filter twist_gate way_planner waypoint_maker waypoint_planner autoware_quickstart_examples autoware_can_msgs autoware_config_msgs autoware_external_msgs autoware_lanelet2_msgs autoware_map_msgs autoware_msgs autoware_system_msgs tablet_socket_msgs vector_map_msgs carla_autoware_bridge gazebo_camera_description gazebo_imu_description lgsvl_simulator_bridge vehicle_gazebo_simulation_interface vehicle_gazebo_simulation_launcher wf_simulator autoware_bag_tools autoware_camera_lidar_calibrator autoware_launcher autoware_launcher_rviz calibration_publisher data_preprocessor graph_tools kitti_box_publisher kitti_launch kitti_player lanelet_aisan_converter log_tools map_tf_generator map_tools marker_downsampler mqtt_socket multi_lidar_calibrator oculus_socket pc2_downsampler rosbag_controller runtime_manager sound_player system_monitor tablet_socket twist2odom udon_socket vehicle_engage_panel vehicle_socket decision_maker_panel detected_objects_visualizer fastvirtualscan gazebo_world_description glviewer integrated_viewer points2image rosinterface autoware_rviz_plugins vehicle_description vehicle_model adi_driver as autoware_driveworks_gmsl_interface autoware_driveworks_interface vlg22c_cam custom_msgs garmin hokuyo javad_navsat_driver kvaser sick_lms5xx memsic_imu microstrain_driver nmea_navsat autoware_pointgrey_drivers sick_ldmrs_description sick_ldmrs_driver sick_ldmrs_laser sick_ldmrs_msgs sick_ldmrs_tools vectacam xsens_driver ymc ds4 ds4_driver ds4_msgs lanelet2 lanelet2_core lanelet2_examples lanelet2_io lanelet2_maps lanelet2_matching lanelet2_projection lanelet2_python lanelet2_routing lanelet2_traffic_rules lanelet2_validation mrt_cmake_modules

ROS Distro
github

Package Summary

Tags No category tags.
Version 1.12.0
License Apache 2
Build type CATKIN
Use RECOMMENDED

Repository Summary

Description autoware.ai perf
Checkout URI https://github.com/is-whale/autoware_learn.git
VCS Type git
VCS Version 1.14
Last Updated 2025-03-14
Dev Status UNKNOWN
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

The object_map package

Additional Links

No additional links.

Maintainers

  • ando
  • amc

Authors

No additional authors.

The object_map Package

This package contains nodes to extract information from the LiDAR sensor and from ADAS Maps. The processed result is published as GridMaps (grid_map) and/or occupancy grids(nav_msgs).


Nodes in the Package

laserscan2costmap

This node uses 2D LaserScan messages to generate the OccupancyGrid.

Input topics

Default: /scan (sensor_msgs::LaserScan) from vscan.

Output topics

/ring_ogm (nav_msgs::OccupancyGrid) is the output OccupancyGrid with values ranging from 0-100.

How to launch

It can be launched as follows:

  1. Using the Runtime Manager by clicking the laserscan2costmap checkbox under the Semantics section in the Computing tab.
  2. From a sourced terminal by executing: roslaunch object_map laserscan2costmap.launch.
Parameters available in roslaunch and rosrun
  • resolution defines the equivalent value of a cell in the grid in meters. Smaller values result in better accuracy at the expense of memory and computing cost (default value: 0.1).
  • cell_width represents the width in meters of the OccupancyGrid around the origin of the PointCloud (default: 150).
  • cell_height represents the height in meters of the OccupancyGrid around the origin of the PointCloud (default: 150).
  • offset_x indicates if the center of the OccupancyGrid will be shifted by this distance, to the left(-) or right(+) (default: 25).
  • offset_y indicates if the center of the OccupancyGrid will be shifted by this distance, to the back(-) or front(+) (default: 0).
  • offset_z indicates if the center of the OccupancyGrid will be shifted by this distance, below(-) or above(+) (default: 0).
  • scan_topic is the PointCloud topic source.

wayarea2grid

The ADAS Maps used in Autoware may contain the definition of the road areas, which is useful for computing whether a region is drivable or not. This node reads the data from an ADAS Map (VectorMap) and extracts the 3D positions of the road regions. It projects them into an OccupancyGrid and sets the value to 128 if the area is road and 255 if it is not. These values are used because this node uses 8-bit bitmaps (grid_map).

Input topics

/vector_map (vector_map_msgs::WayArea) from the VectorMap publisher. /tf to obtain the transform between the vector map(grid_frame) and the sensor(sensor_frame) .

Output topics

/grid_map_wayarea (grid_map::GridMap) is the resulting GridMap with values ranging from 0-255. /occupancy_wayarea (nav_msgs::OccupancyGrid) is the resulting OccupancyGrid with values ranging from 0-255.

How to launch

It can be launched as follows:

  1. Using the Runtime Manager by clicking the wayarea2grid checkbox under the Semantics section in the Computing tab.
  2. From a sourced terminal by executing: roslaunch object_map wayarea2grid.launch
Parameters available in roslaunch and rosrun
  • sensor_frame defines the coordinate frame of the vehicle origin (default value: velodyne).
  • grid_frame defines the coordinate frame of the map (default: map).
  • grid_resolution defines the equivalent value of a cell in the grid in meters. Smaller values result in better accuracy at the expense of memory and computing cost (default: 0.2).
  • grid_length_x represents the width in meters of the OccupancyGrid around the origin of the PointCloud (default: 25).
  • grid_length_y represents the height in meters of the OccupancyGrid around the origin of the PointCloud (default: 0).
  • grid_position_x indicates if the center of the OccupancyGrid will be shifted by this distance, left(-) or right(+) (default: 0).
  • grid_position_y indicates if the center of the OccupancyGrid will be shifted by this distance, back(-) or front(+) (default: 0).

grid_map_filter

This node can combine sensor, map, and perception data as well as other OccupancyGrids. It generates OccupancyGrids with useful data for navigation purposes. It publishes three different layers. More details are provided in the output topics section below.

Input topics

/vector_map (vector_map_msgs::WayArea) from the VectorMap publisher. /tf to obtain the transform between the vector map (grid_frame) and the sensor (sensor_frame). /semantics/costmap_generator/occupancy_grid (nav_msgs::OccupancyGrid) calculated by costmap_generator package.

Output topics

/filtered_grid_map (grid_map::GridMap) which contains 3 layers and is also published as in regular OccupancyGrid messages. distance_transform (nav_msgs::OccupancyGrid) applies a distance transform to the OccupancyGrid obtained from the /realtime_cost_map, allowing us to obtain a gradient of probabilities surrounding the obstacles PointCloud. dist_wayarea (nav_msgs::OccupancyGrid) contains a combination of the distance transform and the road data, as described in the wayarea2grid node. circle (nav_msgs::OccupancyGrid) draws a circle surrounding the /realtime_cost_map.

The output topics are configured as described in the grid_map package, and the configuration file is inside the config folder of the package.

How to launch

It can be launched as follows:

  1. Using the Runtime Manager by clicking the grid_map_filter checkbox under the Semantics section in the Computing tab.
  2. From a sourced terminal by executing: roslaunch object_map grid_map_filter.launch.
Parameters available in roslaunch and rosrun
  • map_frame defines the coordinate system of the realtime costmap (default value: map).
  • map_topic defines the topic where the realtime costmap is being published (default: /realtime_cost_map).
  • dist_transform_distance defines the maximum distance to calculate the distance transform, in meters (default: 2.0).
  • use_wayarea indicates whether or not to use the road regions to filter the cost map (default: true).
  • use_fill_circle enables or disables the generation of the circle layer (default: true).
  • fill_circle_cost_threshold indicates the minimum cost value threshold value to decide if a circle will be drawn (default: 20)
  • circle_radius defines the radius of the circle, in meters (default: 1.7).

Instruction Videos

grid_map_filter

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package object_map

1.11.0 (2019-03-21)

  • [Feature] costmap generator (#1774)
      • Initial commit for visualization package
    • Removal of all visualization messages from perception nodes

    • Visualization dependency removal

    • Launch file modification

      • Fixes to visualization
    • Error on Clustering CPU

    • Reduce verbosity on markers

    • Publish acceleration and velocity from ukf tracker

    • Remove hardcoded path

    • Updated README

    • updated prototype

    • Prototype update for header and usage

    • Removed unknown label from being reported

    • Updated publishing orientation to match develop

      • Published all the trackers
    • Added valid field for visualization and future compatibility with ADAS ROI filtering

    • Add simple functions

      • Reversed back UKF node to develop
    • Formatted speed

    • Refactor codes

    • Make tracking visualization work

    • Relay class info in tracker node

    • Remove dependency to jskbbox and rosmarker in ukf tracker

    • apply rosclang to ukf tracker

    • Refactor codes

    • Revert "apply rosclang to ukf tracker"

    • Revert "Remove dependency to jskbbox and rosmarker in ukf tracker"

    • Revert "Relay class info in tracker node"

    • delete dependency to jsk and remove pointcloud_frame

    • get direction nis

    • set velocity_reliable true in tracker node

    • Add divided function

    • add function

    • Sanity checks

    • Relay all the data from input DetectedObject

    • Divided function work both for immukf and sukf

    • Add comment

    • Refactor codes

    • Pass immukf test

    • make direction assisted tracking work

    • Visualization fixes

    • Refactor codes

    • Tracker Merging step added

    • Added launch file support for merging phase

    • lane assisted with sukf

      • change only static objects

File truncated at 100 lines see the full file

Launch files

  • launch/grid_map_filter.launch
      • map_frame [default: map]
      • map_topic [default: /realtime_cost_map]
      • dist_transform_distance [default: 2.0]
      • use_dist_transform [default: true]
      • use_wayarea [default: true]
      • use_fill_circle [default: true]
      • fill_circle_cost_threshold [default: 20]
      • circle_radius [default: 1.7]
  • launch/laserscan2costmap.launch
      • resolution [default: 0.1]
      • scan_size_x [default: 1000]
      • scan_size_y [default: 1000]
      • map_size_x [default: 500]
      • map_size_y [default: 500]
      • scan_topic [default: /scan]
      • sensor_frame [default: /velodyne]
  • launch/potential_field.launch
      • use_obstacle_box [default: true]
      • use_vscan_points [default: false]
      • use_target_waypoint [default: false]
      • map_resolution [default: 0.25]
      • map_x_size [default: 40.0]
      • map_y_size [default: 25.0]
      • map_x_offset [default: 10.0]
  • launch/wayarea2grid.launch
      • sensor_frame [default: velodyne]
      • grid_frame [default: map]
      • grid_resolution [default: 0.3]
      • grid_length_x [default: 150]
      • grid_length_y [default: 150]
      • grid_position_x [default: 0]
      • grid_position_y [default: 0]
      • grid_position_z [default: -2]
  • launch/wayarea2grid_lanelet2.launch
      • sensor_frame [default: velodyne]
      • grid_frame [default: map]
      • grid_resolution [default: 0.3]
      • grid_length_x [default: 150]
      • grid_length_y [default: 150]
      • grid_position_x [default: 0]
      • grid_position_y [default: 0]
      • grid_position_z [default: -2]
  • launch/wayarea2grid_option.launch
      • sensor_frame [default: velodyne]
      • grid_frame [default: map]
      • grid_resolution [default: 0.3]
      • grid_length_x [default: 150]
      • grid_length_y [default: 150]
      • grid_position_x [default: 0]
      • grid_position_y [default: 0]
      • grid_position_z [default: -2]
      • use_ll2 [default: false]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged object_map at Robotics Stack Exchange

No version for distro kilted showing github. Known supported distros are highlighted in the buttons above.
Package symbol

object_map package from autoware_learn repo

amathutils_lib autoware_build_flags autoware_health_checker emergency_handler gnss lanelet2_extension libvectormap libwaypoint_follower map_file object_map op_planner op_ros_helpers op_simu op_utility ros_observer tvm_utility vector_map vector_map_server vehicle_sim_model autoware_connector ekf_localizer gnss_localizer image_processor imm_ukf_pda_track lidar_apollo_cnn_seg_detect lidar_euclidean_cluster_detect lidar_fake_perception lidar_kf_contour_track lidar_localizer lidar_naive_l_shape_detect lidar_point_pillars lidar_shape_estimation naive_motion_predict ndt_cpu ndt_gpu ndt_tku obj_db pcl_omp_registration pixel_cloud_fusion points_downsampler points_preprocessor pos_db range_vision_fusion road_occupancy_processor roi_object_filter trafficlight_recognizer twist_generator vel_pose_diff_checker vision_beyond_track vision_darknet_detect vision_lane_detect vision_segment_enet_detect vision_ssd_detect astar_search costmap_generator decision_maker dp_planner ff_waypoint_follower freespace_planner lane_planner lattice_planner ll2_global_planner mpc_follower op_global_planner op_local_planner op_simulation_package op_utilities pure_pursuit state_machine_lib twist_filter twist_gate way_planner waypoint_maker waypoint_planner autoware_quickstart_examples autoware_can_msgs autoware_config_msgs autoware_external_msgs autoware_lanelet2_msgs autoware_map_msgs autoware_msgs autoware_system_msgs tablet_socket_msgs vector_map_msgs carla_autoware_bridge gazebo_camera_description gazebo_imu_description lgsvl_simulator_bridge vehicle_gazebo_simulation_interface vehicle_gazebo_simulation_launcher wf_simulator autoware_bag_tools autoware_camera_lidar_calibrator autoware_launcher autoware_launcher_rviz calibration_publisher data_preprocessor graph_tools kitti_box_publisher kitti_launch kitti_player lanelet_aisan_converter log_tools map_tf_generator map_tools marker_downsampler mqtt_socket multi_lidar_calibrator oculus_socket pc2_downsampler rosbag_controller runtime_manager sound_player system_monitor tablet_socket twist2odom udon_socket vehicle_engage_panel vehicle_socket decision_maker_panel detected_objects_visualizer fastvirtualscan gazebo_world_description glviewer integrated_viewer points2image rosinterface autoware_rviz_plugins vehicle_description vehicle_model adi_driver as autoware_driveworks_gmsl_interface autoware_driveworks_interface vlg22c_cam custom_msgs garmin hokuyo javad_navsat_driver kvaser sick_lms5xx memsic_imu microstrain_driver nmea_navsat autoware_pointgrey_drivers sick_ldmrs_description sick_ldmrs_driver sick_ldmrs_laser sick_ldmrs_msgs sick_ldmrs_tools vectacam xsens_driver ymc ds4 ds4_driver ds4_msgs lanelet2 lanelet2_core lanelet2_examples lanelet2_io lanelet2_maps lanelet2_matching lanelet2_projection lanelet2_python lanelet2_routing lanelet2_traffic_rules lanelet2_validation mrt_cmake_modules

ROS Distro
github

Package Summary

Tags No category tags.
Version 1.12.0
License Apache 2
Build type CATKIN
Use RECOMMENDED

Repository Summary

Description autoware.ai perf
Checkout URI https://github.com/is-whale/autoware_learn.git
VCS Type git
VCS Version 1.14
Last Updated 2025-03-14
Dev Status UNKNOWN
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

The object_map package

Additional Links

No additional links.

Maintainers

  • ando
  • amc

Authors

No additional authors.

The object_map Package

This package contains nodes to extract information from the LiDAR sensor and from ADAS Maps. The processed result is published as GridMaps (grid_map) and/or occupancy grids(nav_msgs).


Nodes in the Package

laserscan2costmap

This node uses 2D LaserScan messages to generate the OccupancyGrid.

Input topics

Default: /scan (sensor_msgs::LaserScan) from vscan.

Output topics

/ring_ogm (nav_msgs::OccupancyGrid) is the output OccupancyGrid with values ranging from 0-100.

How to launch

It can be launched as follows:

  1. Using the Runtime Manager by clicking the laserscan2costmap checkbox under the Semantics section in the Computing tab.
  2. From a sourced terminal by executing: roslaunch object_map laserscan2costmap.launch.
Parameters available in roslaunch and rosrun
  • resolution defines the equivalent value of a cell in the grid in meters. Smaller values result in better accuracy at the expense of memory and computing cost (default value: 0.1).
  • cell_width represents the width in meters of the OccupancyGrid around the origin of the PointCloud (default: 150).
  • cell_height represents the height in meters of the OccupancyGrid around the origin of the PointCloud (default: 150).
  • offset_x indicates if the center of the OccupancyGrid will be shifted by this distance, to the left(-) or right(+) (default: 25).
  • offset_y indicates if the center of the OccupancyGrid will be shifted by this distance, to the back(-) or front(+) (default: 0).
  • offset_z indicates if the center of the OccupancyGrid will be shifted by this distance, below(-) or above(+) (default: 0).
  • scan_topic is the PointCloud topic source.

wayarea2grid

The ADAS Maps used in Autoware may contain the definition of the road areas, which is useful for computing whether a region is drivable or not. This node reads the data from an ADAS Map (VectorMap) and extracts the 3D positions of the road regions. It projects them into an OccupancyGrid and sets the value to 128 if the area is road and 255 if it is not. These values are used because this node uses 8-bit bitmaps (grid_map).

Input topics

/vector_map (vector_map_msgs::WayArea) from the VectorMap publisher. /tf to obtain the transform between the vector map(grid_frame) and the sensor(sensor_frame) .

Output topics

/grid_map_wayarea (grid_map::GridMap) is the resulting GridMap with values ranging from 0-255. /occupancy_wayarea (nav_msgs::OccupancyGrid) is the resulting OccupancyGrid with values ranging from 0-255.

How to launch

It can be launched as follows:

  1. Using the Runtime Manager by clicking the wayarea2grid checkbox under the Semantics section in the Computing tab.
  2. From a sourced terminal by executing: roslaunch object_map wayarea2grid.launch
Parameters available in roslaunch and rosrun
  • sensor_frame defines the coordinate frame of the vehicle origin (default value: velodyne).
  • grid_frame defines the coordinate frame of the map (default: map).
  • grid_resolution defines the equivalent value of a cell in the grid in meters. Smaller values result in better accuracy at the expense of memory and computing cost (default: 0.2).
  • grid_length_x represents the width in meters of the OccupancyGrid around the origin of the PointCloud (default: 25).
  • grid_length_y represents the height in meters of the OccupancyGrid around the origin of the PointCloud (default: 0).
  • grid_position_x indicates if the center of the OccupancyGrid will be shifted by this distance, left(-) or right(+) (default: 0).
  • grid_position_y indicates if the center of the OccupancyGrid will be shifted by this distance, back(-) or front(+) (default: 0).

grid_map_filter

This node can combine sensor, map, and perception data as well as other OccupancyGrids. It generates OccupancyGrids with useful data for navigation purposes. It publishes three different layers. More details are provided in the output topics section below.

Input topics

/vector_map (vector_map_msgs::WayArea) from the VectorMap publisher. /tf to obtain the transform between the vector map (grid_frame) and the sensor (sensor_frame). /semantics/costmap_generator/occupancy_grid (nav_msgs::OccupancyGrid) calculated by costmap_generator package.

Output topics

/filtered_grid_map (grid_map::GridMap) which contains 3 layers and is also published as in regular OccupancyGrid messages. distance_transform (nav_msgs::OccupancyGrid) applies a distance transform to the OccupancyGrid obtained from the /realtime_cost_map, allowing us to obtain a gradient of probabilities surrounding the obstacles PointCloud. dist_wayarea (nav_msgs::OccupancyGrid) contains a combination of the distance transform and the road data, as described in the wayarea2grid node. circle (nav_msgs::OccupancyGrid) draws a circle surrounding the /realtime_cost_map.

The output topics are configured as described in the grid_map package, and the configuration file is inside the config folder of the package.

How to launch

It can be launched as follows:

  1. Using the Runtime Manager by clicking the grid_map_filter checkbox under the Semantics section in the Computing tab.
  2. From a sourced terminal by executing: roslaunch object_map grid_map_filter.launch.
Parameters available in roslaunch and rosrun
  • map_frame defines the coordinate system of the realtime costmap (default value: map).
  • map_topic defines the topic where the realtime costmap is being published (default: /realtime_cost_map).
  • dist_transform_distance defines the maximum distance to calculate the distance transform, in meters (default: 2.0).
  • use_wayarea indicates whether or not to use the road regions to filter the cost map (default: true).
  • use_fill_circle enables or disables the generation of the circle layer (default: true).
  • fill_circle_cost_threshold indicates the minimum cost value threshold value to decide if a circle will be drawn (default: 20)
  • circle_radius defines the radius of the circle, in meters (default: 1.7).

Instruction Videos

grid_map_filter

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package object_map

1.11.0 (2019-03-21)

  • [Feature] costmap generator (#1774)
      • Initial commit for visualization package
    • Removal of all visualization messages from perception nodes

    • Visualization dependency removal

    • Launch file modification

      • Fixes to visualization
    • Error on Clustering CPU

    • Reduce verbosity on markers

    • Publish acceleration and velocity from ukf tracker

    • Remove hardcoded path

    • Updated README

    • updated prototype

    • Prototype update for header and usage

    • Removed unknown label from being reported

    • Updated publishing orientation to match develop

      • Published all the trackers
    • Added valid field for visualization and future compatibility with ADAS ROI filtering

    • Add simple functions

      • Reversed back UKF node to develop
    • Formatted speed

    • Refactor codes

    • Make tracking visualization work

    • Relay class info in tracker node

    • Remove dependency to jskbbox and rosmarker in ukf tracker

    • apply rosclang to ukf tracker

    • Refactor codes

    • Revert "apply rosclang to ukf tracker"

    • Revert "Remove dependency to jskbbox and rosmarker in ukf tracker"

    • Revert "Relay class info in tracker node"

    • delete dependency to jsk and remove pointcloud_frame

    • get direction nis

    • set velocity_reliable true in tracker node

    • Add divided function

    • add function

    • Sanity checks

    • Relay all the data from input DetectedObject

    • Divided function work both for immukf and sukf

    • Add comment

    • Refactor codes

    • Pass immukf test

    • make direction assisted tracking work

    • Visualization fixes

    • Refactor codes

    • Tracker Merging step added

    • Added launch file support for merging phase

    • lane assisted with sukf

      • change only static objects

File truncated at 100 lines see the full file

Launch files

  • launch/grid_map_filter.launch
      • map_frame [default: map]
      • map_topic [default: /realtime_cost_map]
      • dist_transform_distance [default: 2.0]
      • use_dist_transform [default: true]
      • use_wayarea [default: true]
      • use_fill_circle [default: true]
      • fill_circle_cost_threshold [default: 20]
      • circle_radius [default: 1.7]
  • launch/laserscan2costmap.launch
      • resolution [default: 0.1]
      • scan_size_x [default: 1000]
      • scan_size_y [default: 1000]
      • map_size_x [default: 500]
      • map_size_y [default: 500]
      • scan_topic [default: /scan]
      • sensor_frame [default: /velodyne]
  • launch/potential_field.launch
      • use_obstacle_box [default: true]
      • use_vscan_points [default: false]
      • use_target_waypoint [default: false]
      • map_resolution [default: 0.25]
      • map_x_size [default: 40.0]
      • map_y_size [default: 25.0]
      • map_x_offset [default: 10.0]
  • launch/wayarea2grid.launch
      • sensor_frame [default: velodyne]
      • grid_frame [default: map]
      • grid_resolution [default: 0.3]
      • grid_length_x [default: 150]
      • grid_length_y [default: 150]
      • grid_position_x [default: 0]
      • grid_position_y [default: 0]
      • grid_position_z [default: -2]
  • launch/wayarea2grid_lanelet2.launch
      • sensor_frame [default: velodyne]
      • grid_frame [default: map]
      • grid_resolution [default: 0.3]
      • grid_length_x [default: 150]
      • grid_length_y [default: 150]
      • grid_position_x [default: 0]
      • grid_position_y [default: 0]
      • grid_position_z [default: -2]
  • launch/wayarea2grid_option.launch
      • sensor_frame [default: velodyne]
      • grid_frame [default: map]
      • grid_resolution [default: 0.3]
      • grid_length_x [default: 150]
      • grid_length_y [default: 150]
      • grid_position_x [default: 0]
      • grid_position_y [default: 0]
      • grid_position_z [default: -2]
      • use_ll2 [default: false]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged object_map at Robotics Stack Exchange

No version for distro rolling showing github. Known supported distros are highlighted in the buttons above.
Package symbol

object_map package from autoware_learn repo

amathutils_lib autoware_build_flags autoware_health_checker emergency_handler gnss lanelet2_extension libvectormap libwaypoint_follower map_file object_map op_planner op_ros_helpers op_simu op_utility ros_observer tvm_utility vector_map vector_map_server vehicle_sim_model autoware_connector ekf_localizer gnss_localizer image_processor imm_ukf_pda_track lidar_apollo_cnn_seg_detect lidar_euclidean_cluster_detect lidar_fake_perception lidar_kf_contour_track lidar_localizer lidar_naive_l_shape_detect lidar_point_pillars lidar_shape_estimation naive_motion_predict ndt_cpu ndt_gpu ndt_tku obj_db pcl_omp_registration pixel_cloud_fusion points_downsampler points_preprocessor pos_db range_vision_fusion road_occupancy_processor roi_object_filter trafficlight_recognizer twist_generator vel_pose_diff_checker vision_beyond_track vision_darknet_detect vision_lane_detect vision_segment_enet_detect vision_ssd_detect astar_search costmap_generator decision_maker dp_planner ff_waypoint_follower freespace_planner lane_planner lattice_planner ll2_global_planner mpc_follower op_global_planner op_local_planner op_simulation_package op_utilities pure_pursuit state_machine_lib twist_filter twist_gate way_planner waypoint_maker waypoint_planner autoware_quickstart_examples autoware_can_msgs autoware_config_msgs autoware_external_msgs autoware_lanelet2_msgs autoware_map_msgs autoware_msgs autoware_system_msgs tablet_socket_msgs vector_map_msgs carla_autoware_bridge gazebo_camera_description gazebo_imu_description lgsvl_simulator_bridge vehicle_gazebo_simulation_interface vehicle_gazebo_simulation_launcher wf_simulator autoware_bag_tools autoware_camera_lidar_calibrator autoware_launcher autoware_launcher_rviz calibration_publisher data_preprocessor graph_tools kitti_box_publisher kitti_launch kitti_player lanelet_aisan_converter log_tools map_tf_generator map_tools marker_downsampler mqtt_socket multi_lidar_calibrator oculus_socket pc2_downsampler rosbag_controller runtime_manager sound_player system_monitor tablet_socket twist2odom udon_socket vehicle_engage_panel vehicle_socket decision_maker_panel detected_objects_visualizer fastvirtualscan gazebo_world_description glviewer integrated_viewer points2image rosinterface autoware_rviz_plugins vehicle_description vehicle_model adi_driver as autoware_driveworks_gmsl_interface autoware_driveworks_interface vlg22c_cam custom_msgs garmin hokuyo javad_navsat_driver kvaser sick_lms5xx memsic_imu microstrain_driver nmea_navsat autoware_pointgrey_drivers sick_ldmrs_description sick_ldmrs_driver sick_ldmrs_laser sick_ldmrs_msgs sick_ldmrs_tools vectacam xsens_driver ymc ds4 ds4_driver ds4_msgs lanelet2 lanelet2_core lanelet2_examples lanelet2_io lanelet2_maps lanelet2_matching lanelet2_projection lanelet2_python lanelet2_routing lanelet2_traffic_rules lanelet2_validation mrt_cmake_modules

ROS Distro
github

Package Summary

Tags No category tags.
Version 1.12.0
License Apache 2
Build type CATKIN
Use RECOMMENDED

Repository Summary

Description autoware.ai perf
Checkout URI https://github.com/is-whale/autoware_learn.git
VCS Type git
VCS Version 1.14
Last Updated 2025-03-14
Dev Status UNKNOWN
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

The object_map package

Additional Links

No additional links.

Maintainers

  • ando
  • amc

Authors

No additional authors.

The object_map Package

This package contains nodes to extract information from the LiDAR sensor and from ADAS Maps. The processed result is published as GridMaps (grid_map) and/or occupancy grids(nav_msgs).


Nodes in the Package

laserscan2costmap

This node uses 2D LaserScan messages to generate the OccupancyGrid.

Input topics

Default: /scan (sensor_msgs::LaserScan) from vscan.

Output topics

/ring_ogm (nav_msgs::OccupancyGrid) is the output OccupancyGrid with values ranging from 0-100.

How to launch

It can be launched as follows:

  1. Using the Runtime Manager by clicking the laserscan2costmap checkbox under the Semantics section in the Computing tab.
  2. From a sourced terminal by executing: roslaunch object_map laserscan2costmap.launch.
Parameters available in roslaunch and rosrun
  • resolution defines the equivalent value of a cell in the grid in meters. Smaller values result in better accuracy at the expense of memory and computing cost (default value: 0.1).
  • cell_width represents the width in meters of the OccupancyGrid around the origin of the PointCloud (default: 150).
  • cell_height represents the height in meters of the OccupancyGrid around the origin of the PointCloud (default: 150).
  • offset_x indicates if the center of the OccupancyGrid will be shifted by this distance, to the left(-) or right(+) (default: 25).
  • offset_y indicates if the center of the OccupancyGrid will be shifted by this distance, to the back(-) or front(+) (default: 0).
  • offset_z indicates if the center of the OccupancyGrid will be shifted by this distance, below(-) or above(+) (default: 0).
  • scan_topic is the PointCloud topic source.

wayarea2grid

The ADAS Maps used in Autoware may contain the definition of the road areas, which is useful for computing whether a region is drivable or not. This node reads the data from an ADAS Map (VectorMap) and extracts the 3D positions of the road regions. It projects them into an OccupancyGrid and sets the value to 128 if the area is road and 255 if it is not. These values are used because this node uses 8-bit bitmaps (grid_map).

Input topics

/vector_map (vector_map_msgs::WayArea) from the VectorMap publisher. /tf to obtain the transform between the vector map(grid_frame) and the sensor(sensor_frame) .

Output topics

/grid_map_wayarea (grid_map::GridMap) is the resulting GridMap with values ranging from 0-255. /occupancy_wayarea (nav_msgs::OccupancyGrid) is the resulting OccupancyGrid with values ranging from 0-255.

How to launch

It can be launched as follows:

  1. Using the Runtime Manager by clicking the wayarea2grid checkbox under the Semantics section in the Computing tab.
  2. From a sourced terminal by executing: roslaunch object_map wayarea2grid.launch
Parameters available in roslaunch and rosrun
  • sensor_frame defines the coordinate frame of the vehicle origin (default value: velodyne).
  • grid_frame defines the coordinate frame of the map (default: map).
  • grid_resolution defines the equivalent value of a cell in the grid in meters. Smaller values result in better accuracy at the expense of memory and computing cost (default: 0.2).
  • grid_length_x represents the width in meters of the OccupancyGrid around the origin of the PointCloud (default: 25).
  • grid_length_y represents the height in meters of the OccupancyGrid around the origin of the PointCloud (default: 0).
  • grid_position_x indicates if the center of the OccupancyGrid will be shifted by this distance, left(-) or right(+) (default: 0).
  • grid_position_y indicates if the center of the OccupancyGrid will be shifted by this distance, back(-) or front(+) (default: 0).

grid_map_filter

This node can combine sensor, map, and perception data as well as other OccupancyGrids. It generates OccupancyGrids with useful data for navigation purposes. It publishes three different layers. More details are provided in the output topics section below.

Input topics

/vector_map (vector_map_msgs::WayArea) from the VectorMap publisher. /tf to obtain the transform between the vector map (grid_frame) and the sensor (sensor_frame). /semantics/costmap_generator/occupancy_grid (nav_msgs::OccupancyGrid) calculated by costmap_generator package.

Output topics

/filtered_grid_map (grid_map::GridMap) which contains 3 layers and is also published as in regular OccupancyGrid messages. distance_transform (nav_msgs::OccupancyGrid) applies a distance transform to the OccupancyGrid obtained from the /realtime_cost_map, allowing us to obtain a gradient of probabilities surrounding the obstacles PointCloud. dist_wayarea (nav_msgs::OccupancyGrid) contains a combination of the distance transform and the road data, as described in the wayarea2grid node. circle (nav_msgs::OccupancyGrid) draws a circle surrounding the /realtime_cost_map.

The output topics are configured as described in the grid_map package, and the configuration file is inside the config folder of the package.

How to launch

It can be launched as follows:

  1. Using the Runtime Manager by clicking the grid_map_filter checkbox under the Semantics section in the Computing tab.
  2. From a sourced terminal by executing: roslaunch object_map grid_map_filter.launch.
Parameters available in roslaunch and rosrun
  • map_frame defines the coordinate system of the realtime costmap (default value: map).
  • map_topic defines the topic where the realtime costmap is being published (default: /realtime_cost_map).
  • dist_transform_distance defines the maximum distance to calculate the distance transform, in meters (default: 2.0).
  • use_wayarea indicates whether or not to use the road regions to filter the cost map (default: true).
  • use_fill_circle enables or disables the generation of the circle layer (default: true).
  • fill_circle_cost_threshold indicates the minimum cost value threshold value to decide if a circle will be drawn (default: 20)
  • circle_radius defines the radius of the circle, in meters (default: 1.7).

Instruction Videos

grid_map_filter

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package object_map

1.11.0 (2019-03-21)

  • [Feature] costmap generator (#1774)
      • Initial commit for visualization package
    • Removal of all visualization messages from perception nodes

    • Visualization dependency removal

    • Launch file modification

      • Fixes to visualization
    • Error on Clustering CPU

    • Reduce verbosity on markers

    • Publish acceleration and velocity from ukf tracker

    • Remove hardcoded path

    • Updated README

    • updated prototype

    • Prototype update for header and usage

    • Removed unknown label from being reported

    • Updated publishing orientation to match develop

      • Published all the trackers
    • Added valid field for visualization and future compatibility with ADAS ROI filtering

    • Add simple functions

      • Reversed back UKF node to develop
    • Formatted speed

    • Refactor codes

    • Make tracking visualization work

    • Relay class info in tracker node

    • Remove dependency to jskbbox and rosmarker in ukf tracker

    • apply rosclang to ukf tracker

    • Refactor codes

    • Revert "apply rosclang to ukf tracker"

    • Revert "Remove dependency to jskbbox and rosmarker in ukf tracker"

    • Revert "Relay class info in tracker node"

    • delete dependency to jsk and remove pointcloud_frame

    • get direction nis

    • set velocity_reliable true in tracker node

    • Add divided function

    • add function

    • Sanity checks

    • Relay all the data from input DetectedObject

    • Divided function work both for immukf and sukf

    • Add comment

    • Refactor codes

    • Pass immukf test

    • make direction assisted tracking work

    • Visualization fixes

    • Refactor codes

    • Tracker Merging step added

    • Added launch file support for merging phase

    • lane assisted with sukf

      • change only static objects

File truncated at 100 lines see the full file

Launch files

  • launch/grid_map_filter.launch
      • map_frame [default: map]
      • map_topic [default: /realtime_cost_map]
      • dist_transform_distance [default: 2.0]
      • use_dist_transform [default: true]
      • use_wayarea [default: true]
      • use_fill_circle [default: true]
      • fill_circle_cost_threshold [default: 20]
      • circle_radius [default: 1.7]
  • launch/laserscan2costmap.launch
      • resolution [default: 0.1]
      • scan_size_x [default: 1000]
      • scan_size_y [default: 1000]
      • map_size_x [default: 500]
      • map_size_y [default: 500]
      • scan_topic [default: /scan]
      • sensor_frame [default: /velodyne]
  • launch/potential_field.launch
      • use_obstacle_box [default: true]
      • use_vscan_points [default: false]
      • use_target_waypoint [default: false]
      • map_resolution [default: 0.25]
      • map_x_size [default: 40.0]
      • map_y_size [default: 25.0]
      • map_x_offset [default: 10.0]
  • launch/wayarea2grid.launch
      • sensor_frame [default: velodyne]
      • grid_frame [default: map]
      • grid_resolution [default: 0.3]
      • grid_length_x [default: 150]
      • grid_length_y [default: 150]
      • grid_position_x [default: 0]
      • grid_position_y [default: 0]
      • grid_position_z [default: -2]
  • launch/wayarea2grid_lanelet2.launch
      • sensor_frame [default: velodyne]
      • grid_frame [default: map]
      • grid_resolution [default: 0.3]
      • grid_length_x [default: 150]
      • grid_length_y [default: 150]
      • grid_position_x [default: 0]
      • grid_position_y [default: 0]
      • grid_position_z [default: -2]
  • launch/wayarea2grid_option.launch
      • sensor_frame [default: velodyne]
      • grid_frame [default: map]
      • grid_resolution [default: 0.3]
      • grid_length_x [default: 150]
      • grid_length_y [default: 150]
      • grid_position_x [default: 0]
      • grid_position_y [default: 0]
      • grid_position_z [default: -2]
      • use_ll2 [default: false]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged object_map at Robotics Stack Exchange

Package symbol

object_map package from autoware_learn repo

amathutils_lib autoware_build_flags autoware_health_checker emergency_handler gnss lanelet2_extension libvectormap libwaypoint_follower map_file object_map op_planner op_ros_helpers op_simu op_utility ros_observer tvm_utility vector_map vector_map_server vehicle_sim_model autoware_connector ekf_localizer gnss_localizer image_processor imm_ukf_pda_track lidar_apollo_cnn_seg_detect lidar_euclidean_cluster_detect lidar_fake_perception lidar_kf_contour_track lidar_localizer lidar_naive_l_shape_detect lidar_point_pillars lidar_shape_estimation naive_motion_predict ndt_cpu ndt_gpu ndt_tku obj_db pcl_omp_registration pixel_cloud_fusion points_downsampler points_preprocessor pos_db range_vision_fusion road_occupancy_processor roi_object_filter trafficlight_recognizer twist_generator vel_pose_diff_checker vision_beyond_track vision_darknet_detect vision_lane_detect vision_segment_enet_detect vision_ssd_detect astar_search costmap_generator decision_maker dp_planner ff_waypoint_follower freespace_planner lane_planner lattice_planner ll2_global_planner mpc_follower op_global_planner op_local_planner op_simulation_package op_utilities pure_pursuit state_machine_lib twist_filter twist_gate way_planner waypoint_maker waypoint_planner autoware_quickstart_examples autoware_can_msgs autoware_config_msgs autoware_external_msgs autoware_lanelet2_msgs autoware_map_msgs autoware_msgs autoware_system_msgs tablet_socket_msgs vector_map_msgs carla_autoware_bridge gazebo_camera_description gazebo_imu_description lgsvl_simulator_bridge vehicle_gazebo_simulation_interface vehicle_gazebo_simulation_launcher wf_simulator autoware_bag_tools autoware_camera_lidar_calibrator autoware_launcher autoware_launcher_rviz calibration_publisher data_preprocessor graph_tools kitti_box_publisher kitti_launch kitti_player lanelet_aisan_converter log_tools map_tf_generator map_tools marker_downsampler mqtt_socket multi_lidar_calibrator oculus_socket pc2_downsampler rosbag_controller runtime_manager sound_player system_monitor tablet_socket twist2odom udon_socket vehicle_engage_panel vehicle_socket decision_maker_panel detected_objects_visualizer fastvirtualscan gazebo_world_description glviewer integrated_viewer points2image rosinterface autoware_rviz_plugins vehicle_description vehicle_model adi_driver as autoware_driveworks_gmsl_interface autoware_driveworks_interface vlg22c_cam custom_msgs garmin hokuyo javad_navsat_driver kvaser sick_lms5xx memsic_imu microstrain_driver nmea_navsat autoware_pointgrey_drivers sick_ldmrs_description sick_ldmrs_driver sick_ldmrs_laser sick_ldmrs_msgs sick_ldmrs_tools vectacam xsens_driver ymc ds4 ds4_driver ds4_msgs lanelet2 lanelet2_core lanelet2_examples lanelet2_io lanelet2_maps lanelet2_matching lanelet2_projection lanelet2_python lanelet2_routing lanelet2_traffic_rules lanelet2_validation mrt_cmake_modules

ROS Distro
github

Package Summary

Tags No category tags.
Version 1.12.0
License Apache 2
Build type CATKIN
Use RECOMMENDED

Repository Summary

Description autoware.ai perf
Checkout URI https://github.com/is-whale/autoware_learn.git
VCS Type git
VCS Version 1.14
Last Updated 2025-03-14
Dev Status UNKNOWN
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

The object_map package

Additional Links

No additional links.

Maintainers

  • ando
  • amc

Authors

No additional authors.

The object_map Package

This package contains nodes to extract information from the LiDAR sensor and from ADAS Maps. The processed result is published as GridMaps (grid_map) and/or occupancy grids(nav_msgs).


Nodes in the Package

laserscan2costmap

This node uses 2D LaserScan messages to generate the OccupancyGrid.

Input topics

Default: /scan (sensor_msgs::LaserScan) from vscan.

Output topics

/ring_ogm (nav_msgs::OccupancyGrid) is the output OccupancyGrid with values ranging from 0-100.

How to launch

It can be launched as follows:

  1. Using the Runtime Manager by clicking the laserscan2costmap checkbox under the Semantics section in the Computing tab.
  2. From a sourced terminal by executing: roslaunch object_map laserscan2costmap.launch.
Parameters available in roslaunch and rosrun
  • resolution defines the equivalent value of a cell in the grid in meters. Smaller values result in better accuracy at the expense of memory and computing cost (default value: 0.1).
  • cell_width represents the width in meters of the OccupancyGrid around the origin of the PointCloud (default: 150).
  • cell_height represents the height in meters of the OccupancyGrid around the origin of the PointCloud (default: 150).
  • offset_x indicates if the center of the OccupancyGrid will be shifted by this distance, to the left(-) or right(+) (default: 25).
  • offset_y indicates if the center of the OccupancyGrid will be shifted by this distance, to the back(-) or front(+) (default: 0).
  • offset_z indicates if the center of the OccupancyGrid will be shifted by this distance, below(-) or above(+) (default: 0).
  • scan_topic is the PointCloud topic source.

wayarea2grid

The ADAS Maps used in Autoware may contain the definition of the road areas, which is useful for computing whether a region is drivable or not. This node reads the data from an ADAS Map (VectorMap) and extracts the 3D positions of the road regions. It projects them into an OccupancyGrid and sets the value to 128 if the area is road and 255 if it is not. These values are used because this node uses 8-bit bitmaps (grid_map).

Input topics

/vector_map (vector_map_msgs::WayArea) from the VectorMap publisher. /tf to obtain the transform between the vector map(grid_frame) and the sensor(sensor_frame) .

Output topics

/grid_map_wayarea (grid_map::GridMap) is the resulting GridMap with values ranging from 0-255. /occupancy_wayarea (nav_msgs::OccupancyGrid) is the resulting OccupancyGrid with values ranging from 0-255.

How to launch

It can be launched as follows:

  1. Using the Runtime Manager by clicking the wayarea2grid checkbox under the Semantics section in the Computing tab.
  2. From a sourced terminal by executing: roslaunch object_map wayarea2grid.launch
Parameters available in roslaunch and rosrun
  • sensor_frame defines the coordinate frame of the vehicle origin (default value: velodyne).
  • grid_frame defines the coordinate frame of the map (default: map).
  • grid_resolution defines the equivalent value of a cell in the grid in meters. Smaller values result in better accuracy at the expense of memory and computing cost (default: 0.2).
  • grid_length_x represents the width in meters of the OccupancyGrid around the origin of the PointCloud (default: 25).
  • grid_length_y represents the height in meters of the OccupancyGrid around the origin of the PointCloud (default: 0).
  • grid_position_x indicates if the center of the OccupancyGrid will be shifted by this distance, left(-) or right(+) (default: 0).
  • grid_position_y indicates if the center of the OccupancyGrid will be shifted by this distance, back(-) or front(+) (default: 0).

grid_map_filter

This node can combine sensor, map, and perception data as well as other OccupancyGrids. It generates OccupancyGrids with useful data for navigation purposes. It publishes three different layers. More details are provided in the output topics section below.

Input topics

/vector_map (vector_map_msgs::WayArea) from the VectorMap publisher. /tf to obtain the transform between the vector map (grid_frame) and the sensor (sensor_frame). /semantics/costmap_generator/occupancy_grid (nav_msgs::OccupancyGrid) calculated by costmap_generator package.

Output topics

/filtered_grid_map (grid_map::GridMap) which contains 3 layers and is also published as in regular OccupancyGrid messages. distance_transform (nav_msgs::OccupancyGrid) applies a distance transform to the OccupancyGrid obtained from the /realtime_cost_map, allowing us to obtain a gradient of probabilities surrounding the obstacles PointCloud. dist_wayarea (nav_msgs::OccupancyGrid) contains a combination of the distance transform and the road data, as described in the wayarea2grid node. circle (nav_msgs::OccupancyGrid) draws a circle surrounding the /realtime_cost_map.

The output topics are configured as described in the grid_map package, and the configuration file is inside the config folder of the package.

How to launch

It can be launched as follows:

  1. Using the Runtime Manager by clicking the grid_map_filter checkbox under the Semantics section in the Computing tab.
  2. From a sourced terminal by executing: roslaunch object_map grid_map_filter.launch.
Parameters available in roslaunch and rosrun
  • map_frame defines the coordinate system of the realtime costmap (default value: map).
  • map_topic defines the topic where the realtime costmap is being published (default: /realtime_cost_map).
  • dist_transform_distance defines the maximum distance to calculate the distance transform, in meters (default: 2.0).
  • use_wayarea indicates whether or not to use the road regions to filter the cost map (default: true).
  • use_fill_circle enables or disables the generation of the circle layer (default: true).
  • fill_circle_cost_threshold indicates the minimum cost value threshold value to decide if a circle will be drawn (default: 20)
  • circle_radius defines the radius of the circle, in meters (default: 1.7).

Instruction Videos

grid_map_filter

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package object_map

1.11.0 (2019-03-21)

  • [Feature] costmap generator (#1774)
      • Initial commit for visualization package
    • Removal of all visualization messages from perception nodes

    • Visualization dependency removal

    • Launch file modification

      • Fixes to visualization
    • Error on Clustering CPU

    • Reduce verbosity on markers

    • Publish acceleration and velocity from ukf tracker

    • Remove hardcoded path

    • Updated README

    • updated prototype

    • Prototype update for header and usage

    • Removed unknown label from being reported

    • Updated publishing orientation to match develop

      • Published all the trackers
    • Added valid field for visualization and future compatibility with ADAS ROI filtering

    • Add simple functions

      • Reversed back UKF node to develop
    • Formatted speed

    • Refactor codes

    • Make tracking visualization work

    • Relay class info in tracker node

    • Remove dependency to jskbbox and rosmarker in ukf tracker

    • apply rosclang to ukf tracker

    • Refactor codes

    • Revert "apply rosclang to ukf tracker"

    • Revert "Remove dependency to jskbbox and rosmarker in ukf tracker"

    • Revert "Relay class info in tracker node"

    • delete dependency to jsk and remove pointcloud_frame

    • get direction nis

    • set velocity_reliable true in tracker node

    • Add divided function

    • add function

    • Sanity checks

    • Relay all the data from input DetectedObject

    • Divided function work both for immukf and sukf

    • Add comment

    • Refactor codes

    • Pass immukf test

    • make direction assisted tracking work

    • Visualization fixes

    • Refactor codes

    • Tracker Merging step added

    • Added launch file support for merging phase

    • lane assisted with sukf

      • change only static objects

File truncated at 100 lines see the full file

Launch files

  • launch/grid_map_filter.launch
      • map_frame [default: map]
      • map_topic [default: /realtime_cost_map]
      • dist_transform_distance [default: 2.0]
      • use_dist_transform [default: true]
      • use_wayarea [default: true]
      • use_fill_circle [default: true]
      • fill_circle_cost_threshold [default: 20]
      • circle_radius [default: 1.7]
  • launch/laserscan2costmap.launch
      • resolution [default: 0.1]
      • scan_size_x [default: 1000]
      • scan_size_y [default: 1000]
      • map_size_x [default: 500]
      • map_size_y [default: 500]
      • scan_topic [default: /scan]
      • sensor_frame [default: /velodyne]
  • launch/potential_field.launch
      • use_obstacle_box [default: true]
      • use_vscan_points [default: false]
      • use_target_waypoint [default: false]
      • map_resolution [default: 0.25]
      • map_x_size [default: 40.0]
      • map_y_size [default: 25.0]
      • map_x_offset [default: 10.0]
  • launch/wayarea2grid.launch
      • sensor_frame [default: velodyne]
      • grid_frame [default: map]
      • grid_resolution [default: 0.3]
      • grid_length_x [default: 150]
      • grid_length_y [default: 150]
      • grid_position_x [default: 0]
      • grid_position_y [default: 0]
      • grid_position_z [default: -2]
  • launch/wayarea2grid_lanelet2.launch
      • sensor_frame [default: velodyne]
      • grid_frame [default: map]
      • grid_resolution [default: 0.3]
      • grid_length_x [default: 150]
      • grid_length_y [default: 150]
      • grid_position_x [default: 0]
      • grid_position_y [default: 0]
      • grid_position_z [default: -2]
  • launch/wayarea2grid_option.launch
      • sensor_frame [default: velodyne]
      • grid_frame [default: map]
      • grid_resolution [default: 0.3]
      • grid_length_x [default: 150]
      • grid_length_y [default: 150]
      • grid_position_x [default: 0]
      • grid_position_y [default: 0]
      • grid_position_z [default: -2]
      • use_ll2 [default: false]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged object_map at Robotics Stack Exchange

No version for distro galactic showing github. Known supported distros are highlighted in the buttons above.
Package symbol

object_map package from autoware_learn repo

amathutils_lib autoware_build_flags autoware_health_checker emergency_handler gnss lanelet2_extension libvectormap libwaypoint_follower map_file object_map op_planner op_ros_helpers op_simu op_utility ros_observer tvm_utility vector_map vector_map_server vehicle_sim_model autoware_connector ekf_localizer gnss_localizer image_processor imm_ukf_pda_track lidar_apollo_cnn_seg_detect lidar_euclidean_cluster_detect lidar_fake_perception lidar_kf_contour_track lidar_localizer lidar_naive_l_shape_detect lidar_point_pillars lidar_shape_estimation naive_motion_predict ndt_cpu ndt_gpu ndt_tku obj_db pcl_omp_registration pixel_cloud_fusion points_downsampler points_preprocessor pos_db range_vision_fusion road_occupancy_processor roi_object_filter trafficlight_recognizer twist_generator vel_pose_diff_checker vision_beyond_track vision_darknet_detect vision_lane_detect vision_segment_enet_detect vision_ssd_detect astar_search costmap_generator decision_maker dp_planner ff_waypoint_follower freespace_planner lane_planner lattice_planner ll2_global_planner mpc_follower op_global_planner op_local_planner op_simulation_package op_utilities pure_pursuit state_machine_lib twist_filter twist_gate way_planner waypoint_maker waypoint_planner autoware_quickstart_examples autoware_can_msgs autoware_config_msgs autoware_external_msgs autoware_lanelet2_msgs autoware_map_msgs autoware_msgs autoware_system_msgs tablet_socket_msgs vector_map_msgs carla_autoware_bridge gazebo_camera_description gazebo_imu_description lgsvl_simulator_bridge vehicle_gazebo_simulation_interface vehicle_gazebo_simulation_launcher wf_simulator autoware_bag_tools autoware_camera_lidar_calibrator autoware_launcher autoware_launcher_rviz calibration_publisher data_preprocessor graph_tools kitti_box_publisher kitti_launch kitti_player lanelet_aisan_converter log_tools map_tf_generator map_tools marker_downsampler mqtt_socket multi_lidar_calibrator oculus_socket pc2_downsampler rosbag_controller runtime_manager sound_player system_monitor tablet_socket twist2odom udon_socket vehicle_engage_panel vehicle_socket decision_maker_panel detected_objects_visualizer fastvirtualscan gazebo_world_description glviewer integrated_viewer points2image rosinterface autoware_rviz_plugins vehicle_description vehicle_model adi_driver as autoware_driveworks_gmsl_interface autoware_driveworks_interface vlg22c_cam custom_msgs garmin hokuyo javad_navsat_driver kvaser sick_lms5xx memsic_imu microstrain_driver nmea_navsat autoware_pointgrey_drivers sick_ldmrs_description sick_ldmrs_driver sick_ldmrs_laser sick_ldmrs_msgs sick_ldmrs_tools vectacam xsens_driver ymc ds4 ds4_driver ds4_msgs lanelet2 lanelet2_core lanelet2_examples lanelet2_io lanelet2_maps lanelet2_matching lanelet2_projection lanelet2_python lanelet2_routing lanelet2_traffic_rules lanelet2_validation mrt_cmake_modules

ROS Distro
github

Package Summary

Tags No category tags.
Version 1.12.0
License Apache 2
Build type CATKIN
Use RECOMMENDED

Repository Summary

Description autoware.ai perf
Checkout URI https://github.com/is-whale/autoware_learn.git
VCS Type git
VCS Version 1.14
Last Updated 2025-03-14
Dev Status UNKNOWN
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

The object_map package

Additional Links

No additional links.

Maintainers

  • ando
  • amc

Authors

No additional authors.

The object_map Package

This package contains nodes to extract information from the LiDAR sensor and from ADAS Maps. The processed result is published as GridMaps (grid_map) and/or occupancy grids(nav_msgs).


Nodes in the Package

laserscan2costmap

This node uses 2D LaserScan messages to generate the OccupancyGrid.

Input topics

Default: /scan (sensor_msgs::LaserScan) from vscan.

Output topics

/ring_ogm (nav_msgs::OccupancyGrid) is the output OccupancyGrid with values ranging from 0-100.

How to launch

It can be launched as follows:

  1. Using the Runtime Manager by clicking the laserscan2costmap checkbox under the Semantics section in the Computing tab.
  2. From a sourced terminal by executing: roslaunch object_map laserscan2costmap.launch.
Parameters available in roslaunch and rosrun
  • resolution defines the equivalent value of a cell in the grid in meters. Smaller values result in better accuracy at the expense of memory and computing cost (default value: 0.1).
  • cell_width represents the width in meters of the OccupancyGrid around the origin of the PointCloud (default: 150).
  • cell_height represents the height in meters of the OccupancyGrid around the origin of the PointCloud (default: 150).
  • offset_x indicates if the center of the OccupancyGrid will be shifted by this distance, to the left(-) or right(+) (default: 25).
  • offset_y indicates if the center of the OccupancyGrid will be shifted by this distance, to the back(-) or front(+) (default: 0).
  • offset_z indicates if the center of the OccupancyGrid will be shifted by this distance, below(-) or above(+) (default: 0).
  • scan_topic is the PointCloud topic source.

wayarea2grid

The ADAS Maps used in Autoware may contain the definition of the road areas, which is useful for computing whether a region is drivable or not. This node reads the data from an ADAS Map (VectorMap) and extracts the 3D positions of the road regions. It projects them into an OccupancyGrid and sets the value to 128 if the area is road and 255 if it is not. These values are used because this node uses 8-bit bitmaps (grid_map).

Input topics

/vector_map (vector_map_msgs::WayArea) from the VectorMap publisher. /tf to obtain the transform between the vector map(grid_frame) and the sensor(sensor_frame) .

Output topics

/grid_map_wayarea (grid_map::GridMap) is the resulting GridMap with values ranging from 0-255. /occupancy_wayarea (nav_msgs::OccupancyGrid) is the resulting OccupancyGrid with values ranging from 0-255.

How to launch

It can be launched as follows:

  1. Using the Runtime Manager by clicking the wayarea2grid checkbox under the Semantics section in the Computing tab.
  2. From a sourced terminal by executing: roslaunch object_map wayarea2grid.launch
Parameters available in roslaunch and rosrun
  • sensor_frame defines the coordinate frame of the vehicle origin (default value: velodyne).
  • grid_frame defines the coordinate frame of the map (default: map).
  • grid_resolution defines the equivalent value of a cell in the grid in meters. Smaller values result in better accuracy at the expense of memory and computing cost (default: 0.2).
  • grid_length_x represents the width in meters of the OccupancyGrid around the origin of the PointCloud (default: 25).
  • grid_length_y represents the height in meters of the OccupancyGrid around the origin of the PointCloud (default: 0).
  • grid_position_x indicates if the center of the OccupancyGrid will be shifted by this distance, left(-) or right(+) (default: 0).
  • grid_position_y indicates if the center of the OccupancyGrid will be shifted by this distance, back(-) or front(+) (default: 0).

grid_map_filter

This node can combine sensor, map, and perception data as well as other OccupancyGrids. It generates OccupancyGrids with useful data for navigation purposes. It publishes three different layers. More details are provided in the output topics section below.

Input topics

/vector_map (vector_map_msgs::WayArea) from the VectorMap publisher. /tf to obtain the transform between the vector map (grid_frame) and the sensor (sensor_frame). /semantics/costmap_generator/occupancy_grid (nav_msgs::OccupancyGrid) calculated by costmap_generator package.

Output topics

/filtered_grid_map (grid_map::GridMap) which contains 3 layers and is also published as in regular OccupancyGrid messages. distance_transform (nav_msgs::OccupancyGrid) applies a distance transform to the OccupancyGrid obtained from the /realtime_cost_map, allowing us to obtain a gradient of probabilities surrounding the obstacles PointCloud. dist_wayarea (nav_msgs::OccupancyGrid) contains a combination of the distance transform and the road data, as described in the wayarea2grid node. circle (nav_msgs::OccupancyGrid) draws a circle surrounding the /realtime_cost_map.

The output topics are configured as described in the grid_map package, and the configuration file is inside the config folder of the package.

How to launch

It can be launched as follows:

  1. Using the Runtime Manager by clicking the grid_map_filter checkbox under the Semantics section in the Computing tab.
  2. From a sourced terminal by executing: roslaunch object_map grid_map_filter.launch.
Parameters available in roslaunch and rosrun
  • map_frame defines the coordinate system of the realtime costmap (default value: map).
  • map_topic defines the topic where the realtime costmap is being published (default: /realtime_cost_map).
  • dist_transform_distance defines the maximum distance to calculate the distance transform, in meters (default: 2.0).
  • use_wayarea indicates whether or not to use the road regions to filter the cost map (default: true).
  • use_fill_circle enables or disables the generation of the circle layer (default: true).
  • fill_circle_cost_threshold indicates the minimum cost value threshold value to decide if a circle will be drawn (default: 20)
  • circle_radius defines the radius of the circle, in meters (default: 1.7).

Instruction Videos

grid_map_filter

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package object_map

1.11.0 (2019-03-21)

  • [Feature] costmap generator (#1774)
      • Initial commit for visualization package
    • Removal of all visualization messages from perception nodes

    • Visualization dependency removal

    • Launch file modification

      • Fixes to visualization
    • Error on Clustering CPU

    • Reduce verbosity on markers

    • Publish acceleration and velocity from ukf tracker

    • Remove hardcoded path

    • Updated README

    • updated prototype

    • Prototype update for header and usage

    • Removed unknown label from being reported

    • Updated publishing orientation to match develop

      • Published all the trackers
    • Added valid field for visualization and future compatibility with ADAS ROI filtering

    • Add simple functions

      • Reversed back UKF node to develop
    • Formatted speed

    • Refactor codes

    • Make tracking visualization work

    • Relay class info in tracker node

    • Remove dependency to jskbbox and rosmarker in ukf tracker

    • apply rosclang to ukf tracker

    • Refactor codes

    • Revert "apply rosclang to ukf tracker"

    • Revert "Remove dependency to jskbbox and rosmarker in ukf tracker"

    • Revert "Relay class info in tracker node"

    • delete dependency to jsk and remove pointcloud_frame

    • get direction nis

    • set velocity_reliable true in tracker node

    • Add divided function

    • add function

    • Sanity checks

    • Relay all the data from input DetectedObject

    • Divided function work both for immukf and sukf

    • Add comment

    • Refactor codes

    • Pass immukf test

    • make direction assisted tracking work

    • Visualization fixes

    • Refactor codes

    • Tracker Merging step added

    • Added launch file support for merging phase

    • lane assisted with sukf

      • change only static objects

File truncated at 100 lines see the full file

Launch files

  • launch/grid_map_filter.launch
      • map_frame [default: map]
      • map_topic [default: /realtime_cost_map]
      • dist_transform_distance [default: 2.0]
      • use_dist_transform [default: true]
      • use_wayarea [default: true]
      • use_fill_circle [default: true]
      • fill_circle_cost_threshold [default: 20]
      • circle_radius [default: 1.7]
  • launch/laserscan2costmap.launch
      • resolution [default: 0.1]
      • scan_size_x [default: 1000]
      • scan_size_y [default: 1000]
      • map_size_x [default: 500]
      • map_size_y [default: 500]
      • scan_topic [default: /scan]
      • sensor_frame [default: /velodyne]
  • launch/potential_field.launch
      • use_obstacle_box [default: true]
      • use_vscan_points [default: false]
      • use_target_waypoint [default: false]
      • map_resolution [default: 0.25]
      • map_x_size [default: 40.0]
      • map_y_size [default: 25.0]
      • map_x_offset [default: 10.0]
  • launch/wayarea2grid.launch
      • sensor_frame [default: velodyne]
      • grid_frame [default: map]
      • grid_resolution [default: 0.3]
      • grid_length_x [default: 150]
      • grid_length_y [default: 150]
      • grid_position_x [default: 0]
      • grid_position_y [default: 0]
      • grid_position_z [default: -2]
  • launch/wayarea2grid_lanelet2.launch
      • sensor_frame [default: velodyne]
      • grid_frame [default: map]
      • grid_resolution [default: 0.3]
      • grid_length_x [default: 150]
      • grid_length_y [default: 150]
      • grid_position_x [default: 0]
      • grid_position_y [default: 0]
      • grid_position_z [default: -2]
  • launch/wayarea2grid_option.launch
      • sensor_frame [default: velodyne]
      • grid_frame [default: map]
      • grid_resolution [default: 0.3]
      • grid_length_x [default: 150]
      • grid_length_y [default: 150]
      • grid_position_x [default: 0]
      • grid_position_y [default: 0]
      • grid_position_z [default: -2]
      • use_ll2 [default: false]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged object_map at Robotics Stack Exchange

No version for distro iron showing github. Known supported distros are highlighted in the buttons above.
Package symbol

object_map package from autoware_learn repo

amathutils_lib autoware_build_flags autoware_health_checker emergency_handler gnss lanelet2_extension libvectormap libwaypoint_follower map_file object_map op_planner op_ros_helpers op_simu op_utility ros_observer tvm_utility vector_map vector_map_server vehicle_sim_model autoware_connector ekf_localizer gnss_localizer image_processor imm_ukf_pda_track lidar_apollo_cnn_seg_detect lidar_euclidean_cluster_detect lidar_fake_perception lidar_kf_contour_track lidar_localizer lidar_naive_l_shape_detect lidar_point_pillars lidar_shape_estimation naive_motion_predict ndt_cpu ndt_gpu ndt_tku obj_db pcl_omp_registration pixel_cloud_fusion points_downsampler points_preprocessor pos_db range_vision_fusion road_occupancy_processor roi_object_filter trafficlight_recognizer twist_generator vel_pose_diff_checker vision_beyond_track vision_darknet_detect vision_lane_detect vision_segment_enet_detect vision_ssd_detect astar_search costmap_generator decision_maker dp_planner ff_waypoint_follower freespace_planner lane_planner lattice_planner ll2_global_planner mpc_follower op_global_planner op_local_planner op_simulation_package op_utilities pure_pursuit state_machine_lib twist_filter twist_gate way_planner waypoint_maker waypoint_planner autoware_quickstart_examples autoware_can_msgs autoware_config_msgs autoware_external_msgs autoware_lanelet2_msgs autoware_map_msgs autoware_msgs autoware_system_msgs tablet_socket_msgs vector_map_msgs carla_autoware_bridge gazebo_camera_description gazebo_imu_description lgsvl_simulator_bridge vehicle_gazebo_simulation_interface vehicle_gazebo_simulation_launcher wf_simulator autoware_bag_tools autoware_camera_lidar_calibrator autoware_launcher autoware_launcher_rviz calibration_publisher data_preprocessor graph_tools kitti_box_publisher kitti_launch kitti_player lanelet_aisan_converter log_tools map_tf_generator map_tools marker_downsampler mqtt_socket multi_lidar_calibrator oculus_socket pc2_downsampler rosbag_controller runtime_manager sound_player system_monitor tablet_socket twist2odom udon_socket vehicle_engage_panel vehicle_socket decision_maker_panel detected_objects_visualizer fastvirtualscan gazebo_world_description glviewer integrated_viewer points2image rosinterface autoware_rviz_plugins vehicle_description vehicle_model adi_driver as autoware_driveworks_gmsl_interface autoware_driveworks_interface vlg22c_cam custom_msgs garmin hokuyo javad_navsat_driver kvaser sick_lms5xx memsic_imu microstrain_driver nmea_navsat autoware_pointgrey_drivers sick_ldmrs_description sick_ldmrs_driver sick_ldmrs_laser sick_ldmrs_msgs sick_ldmrs_tools vectacam xsens_driver ymc ds4 ds4_driver ds4_msgs lanelet2 lanelet2_core lanelet2_examples lanelet2_io lanelet2_maps lanelet2_matching lanelet2_projection lanelet2_python lanelet2_routing lanelet2_traffic_rules lanelet2_validation mrt_cmake_modules

ROS Distro
github

Package Summary

Tags No category tags.
Version 1.12.0
License Apache 2
Build type CATKIN
Use RECOMMENDED

Repository Summary

Description autoware.ai perf
Checkout URI https://github.com/is-whale/autoware_learn.git
VCS Type git
VCS Version 1.14
Last Updated 2025-03-14
Dev Status UNKNOWN
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

The object_map package

Additional Links

No additional links.

Maintainers

  • ando
  • amc

Authors

No additional authors.

The object_map Package

This package contains nodes to extract information from the LiDAR sensor and from ADAS Maps. The processed result is published as GridMaps (grid_map) and/or occupancy grids(nav_msgs).


Nodes in the Package

laserscan2costmap

This node uses 2D LaserScan messages to generate the OccupancyGrid.

Input topics

Default: /scan (sensor_msgs::LaserScan) from vscan.

Output topics

/ring_ogm (nav_msgs::OccupancyGrid) is the output OccupancyGrid with values ranging from 0-100.

How to launch

It can be launched as follows:

  1. Using the Runtime Manager by clicking the laserscan2costmap checkbox under the Semantics section in the Computing tab.
  2. From a sourced terminal by executing: roslaunch object_map laserscan2costmap.launch.
Parameters available in roslaunch and rosrun
  • resolution defines the equivalent value of a cell in the grid in meters. Smaller values result in better accuracy at the expense of memory and computing cost (default value: 0.1).
  • cell_width represents the width in meters of the OccupancyGrid around the origin of the PointCloud (default: 150).
  • cell_height represents the height in meters of the OccupancyGrid around the origin of the PointCloud (default: 150).
  • offset_x indicates if the center of the OccupancyGrid will be shifted by this distance, to the left(-) or right(+) (default: 25).
  • offset_y indicates if the center of the OccupancyGrid will be shifted by this distance, to the back(-) or front(+) (default: 0).
  • offset_z indicates if the center of the OccupancyGrid will be shifted by this distance, below(-) or above(+) (default: 0).
  • scan_topic is the PointCloud topic source.

wayarea2grid

The ADAS Maps used in Autoware may contain the definition of the road areas, which is useful for computing whether a region is drivable or not. This node reads the data from an ADAS Map (VectorMap) and extracts the 3D positions of the road regions. It projects them into an OccupancyGrid and sets the value to 128 if the area is road and 255 if it is not. These values are used because this node uses 8-bit bitmaps (grid_map).

Input topics

/vector_map (vector_map_msgs::WayArea) from the VectorMap publisher. /tf to obtain the transform between the vector map(grid_frame) and the sensor(sensor_frame) .

Output topics

/grid_map_wayarea (grid_map::GridMap) is the resulting GridMap with values ranging from 0-255. /occupancy_wayarea (nav_msgs::OccupancyGrid) is the resulting OccupancyGrid with values ranging from 0-255.

How to launch

It can be launched as follows:

  1. Using the Runtime Manager by clicking the wayarea2grid checkbox under the Semantics section in the Computing tab.
  2. From a sourced terminal by executing: roslaunch object_map wayarea2grid.launch
Parameters available in roslaunch and rosrun
  • sensor_frame defines the coordinate frame of the vehicle origin (default value: velodyne).
  • grid_frame defines the coordinate frame of the map (default: map).
  • grid_resolution defines the equivalent value of a cell in the grid in meters. Smaller values result in better accuracy at the expense of memory and computing cost (default: 0.2).
  • grid_length_x represents the width in meters of the OccupancyGrid around the origin of the PointCloud (default: 25).
  • grid_length_y represents the height in meters of the OccupancyGrid around the origin of the PointCloud (default: 0).
  • grid_position_x indicates if the center of the OccupancyGrid will be shifted by this distance, left(-) or right(+) (default: 0).
  • grid_position_y indicates if the center of the OccupancyGrid will be shifted by this distance, back(-) or front(+) (default: 0).

grid_map_filter

This node can combine sensor, map, and perception data as well as other OccupancyGrids. It generates OccupancyGrids with useful data for navigation purposes. It publishes three different layers. More details are provided in the output topics section below.

Input topics

/vector_map (vector_map_msgs::WayArea) from the VectorMap publisher. /tf to obtain the transform between the vector map (grid_frame) and the sensor (sensor_frame). /semantics/costmap_generator/occupancy_grid (nav_msgs::OccupancyGrid) calculated by costmap_generator package.

Output topics

/filtered_grid_map (grid_map::GridMap) which contains 3 layers and is also published as in regular OccupancyGrid messages. distance_transform (nav_msgs::OccupancyGrid) applies a distance transform to the OccupancyGrid obtained from the /realtime_cost_map, allowing us to obtain a gradient of probabilities surrounding the obstacles PointCloud. dist_wayarea (nav_msgs::OccupancyGrid) contains a combination of the distance transform and the road data, as described in the wayarea2grid node. circle (nav_msgs::OccupancyGrid) draws a circle surrounding the /realtime_cost_map.

The output topics are configured as described in the grid_map package, and the configuration file is inside the config folder of the package.

How to launch

It can be launched as follows:

  1. Using the Runtime Manager by clicking the grid_map_filter checkbox under the Semantics section in the Computing tab.
  2. From a sourced terminal by executing: roslaunch object_map grid_map_filter.launch.
Parameters available in roslaunch and rosrun
  • map_frame defines the coordinate system of the realtime costmap (default value: map).
  • map_topic defines the topic where the realtime costmap is being published (default: /realtime_cost_map).
  • dist_transform_distance defines the maximum distance to calculate the distance transform, in meters (default: 2.0).
  • use_wayarea indicates whether or not to use the road regions to filter the cost map (default: true).
  • use_fill_circle enables or disables the generation of the circle layer (default: true).
  • fill_circle_cost_threshold indicates the minimum cost value threshold value to decide if a circle will be drawn (default: 20)
  • circle_radius defines the radius of the circle, in meters (default: 1.7).

Instruction Videos

grid_map_filter

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package object_map

1.11.0 (2019-03-21)

  • [Feature] costmap generator (#1774)
      • Initial commit for visualization package
    • Removal of all visualization messages from perception nodes

    • Visualization dependency removal

    • Launch file modification

      • Fixes to visualization
    • Error on Clustering CPU

    • Reduce verbosity on markers

    • Publish acceleration and velocity from ukf tracker

    • Remove hardcoded path

    • Updated README

    • updated prototype

    • Prototype update for header and usage

    • Removed unknown label from being reported

    • Updated publishing orientation to match develop

      • Published all the trackers
    • Added valid field for visualization and future compatibility with ADAS ROI filtering

    • Add simple functions

      • Reversed back UKF node to develop
    • Formatted speed

    • Refactor codes

    • Make tracking visualization work

    • Relay class info in tracker node

    • Remove dependency to jskbbox and rosmarker in ukf tracker

    • apply rosclang to ukf tracker

    • Refactor codes

    • Revert "apply rosclang to ukf tracker"

    • Revert "Remove dependency to jskbbox and rosmarker in ukf tracker"

    • Revert "Relay class info in tracker node"

    • delete dependency to jsk and remove pointcloud_frame

    • get direction nis

    • set velocity_reliable true in tracker node

    • Add divided function

    • add function

    • Sanity checks

    • Relay all the data from input DetectedObject

    • Divided function work both for immukf and sukf

    • Add comment

    • Refactor codes

    • Pass immukf test

    • make direction assisted tracking work

    • Visualization fixes

    • Refactor codes

    • Tracker Merging step added

    • Added launch file support for merging phase

    • lane assisted with sukf

      • change only static objects

File truncated at 100 lines see the full file

Launch files

  • launch/grid_map_filter.launch
      • map_frame [default: map]
      • map_topic [default: /realtime_cost_map]
      • dist_transform_distance [default: 2.0]
      • use_dist_transform [default: true]
      • use_wayarea [default: true]
      • use_fill_circle [default: true]
      • fill_circle_cost_threshold [default: 20]
      • circle_radius [default: 1.7]
  • launch/laserscan2costmap.launch
      • resolution [default: 0.1]
      • scan_size_x [default: 1000]
      • scan_size_y [default: 1000]
      • map_size_x [default: 500]
      • map_size_y [default: 500]
      • scan_topic [default: /scan]
      • sensor_frame [default: /velodyne]
  • launch/potential_field.launch
      • use_obstacle_box [default: true]
      • use_vscan_points [default: false]
      • use_target_waypoint [default: false]
      • map_resolution [default: 0.25]
      • map_x_size [default: 40.0]
      • map_y_size [default: 25.0]
      • map_x_offset [default: 10.0]
  • launch/wayarea2grid.launch
      • sensor_frame [default: velodyne]
      • grid_frame [default: map]
      • grid_resolution [default: 0.3]
      • grid_length_x [default: 150]
      • grid_length_y [default: 150]
      • grid_position_x [default: 0]
      • grid_position_y [default: 0]
      • grid_position_z [default: -2]
  • launch/wayarea2grid_lanelet2.launch
      • sensor_frame [default: velodyne]
      • grid_frame [default: map]
      • grid_resolution [default: 0.3]
      • grid_length_x [default: 150]
      • grid_length_y [default: 150]
      • grid_position_x [default: 0]
      • grid_position_y [default: 0]
      • grid_position_z [default: -2]
  • launch/wayarea2grid_option.launch
      • sensor_frame [default: velodyne]
      • grid_frame [default: map]
      • grid_resolution [default: 0.3]
      • grid_length_x [default: 150]
      • grid_length_y [default: 150]
      • grid_position_x [default: 0]
      • grid_position_y [default: 0]
      • grid_position_z [default: -2]
      • use_ll2 [default: false]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged object_map at Robotics Stack Exchange

No version for distro melodic showing github. Known supported distros are highlighted in the buttons above.
Package symbol

object_map package from autoware_learn repo

amathutils_lib autoware_build_flags autoware_health_checker emergency_handler gnss lanelet2_extension libvectormap libwaypoint_follower map_file object_map op_planner op_ros_helpers op_simu op_utility ros_observer tvm_utility vector_map vector_map_server vehicle_sim_model autoware_connector ekf_localizer gnss_localizer image_processor imm_ukf_pda_track lidar_apollo_cnn_seg_detect lidar_euclidean_cluster_detect lidar_fake_perception lidar_kf_contour_track lidar_localizer lidar_naive_l_shape_detect lidar_point_pillars lidar_shape_estimation naive_motion_predict ndt_cpu ndt_gpu ndt_tku obj_db pcl_omp_registration pixel_cloud_fusion points_downsampler points_preprocessor pos_db range_vision_fusion road_occupancy_processor roi_object_filter trafficlight_recognizer twist_generator vel_pose_diff_checker vision_beyond_track vision_darknet_detect vision_lane_detect vision_segment_enet_detect vision_ssd_detect astar_search costmap_generator decision_maker dp_planner ff_waypoint_follower freespace_planner lane_planner lattice_planner ll2_global_planner mpc_follower op_global_planner op_local_planner op_simulation_package op_utilities pure_pursuit state_machine_lib twist_filter twist_gate way_planner waypoint_maker waypoint_planner autoware_quickstart_examples autoware_can_msgs autoware_config_msgs autoware_external_msgs autoware_lanelet2_msgs autoware_map_msgs autoware_msgs autoware_system_msgs tablet_socket_msgs vector_map_msgs carla_autoware_bridge gazebo_camera_description gazebo_imu_description lgsvl_simulator_bridge vehicle_gazebo_simulation_interface vehicle_gazebo_simulation_launcher wf_simulator autoware_bag_tools autoware_camera_lidar_calibrator autoware_launcher autoware_launcher_rviz calibration_publisher data_preprocessor graph_tools kitti_box_publisher kitti_launch kitti_player lanelet_aisan_converter log_tools map_tf_generator map_tools marker_downsampler mqtt_socket multi_lidar_calibrator oculus_socket pc2_downsampler rosbag_controller runtime_manager sound_player system_monitor tablet_socket twist2odom udon_socket vehicle_engage_panel vehicle_socket decision_maker_panel detected_objects_visualizer fastvirtualscan gazebo_world_description glviewer integrated_viewer points2image rosinterface autoware_rviz_plugins vehicle_description vehicle_model adi_driver as autoware_driveworks_gmsl_interface autoware_driveworks_interface vlg22c_cam custom_msgs garmin hokuyo javad_navsat_driver kvaser sick_lms5xx memsic_imu microstrain_driver nmea_navsat autoware_pointgrey_drivers sick_ldmrs_description sick_ldmrs_driver sick_ldmrs_laser sick_ldmrs_msgs sick_ldmrs_tools vectacam xsens_driver ymc ds4 ds4_driver ds4_msgs lanelet2 lanelet2_core lanelet2_examples lanelet2_io lanelet2_maps lanelet2_matching lanelet2_projection lanelet2_python lanelet2_routing lanelet2_traffic_rules lanelet2_validation mrt_cmake_modules

ROS Distro
github

Package Summary

Tags No category tags.
Version 1.12.0
License Apache 2
Build type CATKIN
Use RECOMMENDED

Repository Summary

Description autoware.ai perf
Checkout URI https://github.com/is-whale/autoware_learn.git
VCS Type git
VCS Version 1.14
Last Updated 2025-03-14
Dev Status UNKNOWN
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

The object_map package

Additional Links

No additional links.

Maintainers

  • ando
  • amc

Authors

No additional authors.

The object_map Package

This package contains nodes to extract information from the LiDAR sensor and from ADAS Maps. The processed result is published as GridMaps (grid_map) and/or occupancy grids(nav_msgs).


Nodes in the Package

laserscan2costmap

This node uses 2D LaserScan messages to generate the OccupancyGrid.

Input topics

Default: /scan (sensor_msgs::LaserScan) from vscan.

Output topics

/ring_ogm (nav_msgs::OccupancyGrid) is the output OccupancyGrid with values ranging from 0-100.

How to launch

It can be launched as follows:

  1. Using the Runtime Manager by clicking the laserscan2costmap checkbox under the Semantics section in the Computing tab.
  2. From a sourced terminal by executing: roslaunch object_map laserscan2costmap.launch.
Parameters available in roslaunch and rosrun
  • resolution defines the equivalent value of a cell in the grid in meters. Smaller values result in better accuracy at the expense of memory and computing cost (default value: 0.1).
  • cell_width represents the width in meters of the OccupancyGrid around the origin of the PointCloud (default: 150).
  • cell_height represents the height in meters of the OccupancyGrid around the origin of the PointCloud (default: 150).
  • offset_x indicates if the center of the OccupancyGrid will be shifted by this distance, to the left(-) or right(+) (default: 25).
  • offset_y indicates if the center of the OccupancyGrid will be shifted by this distance, to the back(-) or front(+) (default: 0).
  • offset_z indicates if the center of the OccupancyGrid will be shifted by this distance, below(-) or above(+) (default: 0).
  • scan_topic is the PointCloud topic source.

wayarea2grid

The ADAS Maps used in Autoware may contain the definition of the road areas, which is useful for computing whether a region is drivable or not. This node reads the data from an ADAS Map (VectorMap) and extracts the 3D positions of the road regions. It projects them into an OccupancyGrid and sets the value to 128 if the area is road and 255 if it is not. These values are used because this node uses 8-bit bitmaps (grid_map).

Input topics

/vector_map (vector_map_msgs::WayArea) from the VectorMap publisher. /tf to obtain the transform between the vector map(grid_frame) and the sensor(sensor_frame) .

Output topics

/grid_map_wayarea (grid_map::GridMap) is the resulting GridMap with values ranging from 0-255. /occupancy_wayarea (nav_msgs::OccupancyGrid) is the resulting OccupancyGrid with values ranging from 0-255.

How to launch

It can be launched as follows:

  1. Using the Runtime Manager by clicking the wayarea2grid checkbox under the Semantics section in the Computing tab.
  2. From a sourced terminal by executing: roslaunch object_map wayarea2grid.launch
Parameters available in roslaunch and rosrun
  • sensor_frame defines the coordinate frame of the vehicle origin (default value: velodyne).
  • grid_frame defines the coordinate frame of the map (default: map).
  • grid_resolution defines the equivalent value of a cell in the grid in meters. Smaller values result in better accuracy at the expense of memory and computing cost (default: 0.2).
  • grid_length_x represents the width in meters of the OccupancyGrid around the origin of the PointCloud (default: 25).
  • grid_length_y represents the height in meters of the OccupancyGrid around the origin of the PointCloud (default: 0).
  • grid_position_x indicates if the center of the OccupancyGrid will be shifted by this distance, left(-) or right(+) (default: 0).
  • grid_position_y indicates if the center of the OccupancyGrid will be shifted by this distance, back(-) or front(+) (default: 0).

grid_map_filter

This node can combine sensor, map, and perception data as well as other OccupancyGrids. It generates OccupancyGrids with useful data for navigation purposes. It publishes three different layers. More details are provided in the output topics section below.

Input topics

/vector_map (vector_map_msgs::WayArea) from the VectorMap publisher. /tf to obtain the transform between the vector map (grid_frame) and the sensor (sensor_frame). /semantics/costmap_generator/occupancy_grid (nav_msgs::OccupancyGrid) calculated by costmap_generator package.

Output topics

/filtered_grid_map (grid_map::GridMap) which contains 3 layers and is also published as in regular OccupancyGrid messages. distance_transform (nav_msgs::OccupancyGrid) applies a distance transform to the OccupancyGrid obtained from the /realtime_cost_map, allowing us to obtain a gradient of probabilities surrounding the obstacles PointCloud. dist_wayarea (nav_msgs::OccupancyGrid) contains a combination of the distance transform and the road data, as described in the wayarea2grid node. circle (nav_msgs::OccupancyGrid) draws a circle surrounding the /realtime_cost_map.

The output topics are configured as described in the grid_map package, and the configuration file is inside the config folder of the package.

How to launch

It can be launched as follows:

  1. Using the Runtime Manager by clicking the grid_map_filter checkbox under the Semantics section in the Computing tab.
  2. From a sourced terminal by executing: roslaunch object_map grid_map_filter.launch.
Parameters available in roslaunch and rosrun
  • map_frame defines the coordinate system of the realtime costmap (default value: map).
  • map_topic defines the topic where the realtime costmap is being published (default: /realtime_cost_map).
  • dist_transform_distance defines the maximum distance to calculate the distance transform, in meters (default: 2.0).
  • use_wayarea indicates whether or not to use the road regions to filter the cost map (default: true).
  • use_fill_circle enables or disables the generation of the circle layer (default: true).
  • fill_circle_cost_threshold indicates the minimum cost value threshold value to decide if a circle will be drawn (default: 20)
  • circle_radius defines the radius of the circle, in meters (default: 1.7).

Instruction Videos

grid_map_filter

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package object_map

1.11.0 (2019-03-21)

  • [Feature] costmap generator (#1774)
      • Initial commit for visualization package
    • Removal of all visualization messages from perception nodes

    • Visualization dependency removal

    • Launch file modification

      • Fixes to visualization
    • Error on Clustering CPU

    • Reduce verbosity on markers

    • Publish acceleration and velocity from ukf tracker

    • Remove hardcoded path

    • Updated README

    • updated prototype

    • Prototype update for header and usage

    • Removed unknown label from being reported

    • Updated publishing orientation to match develop

      • Published all the trackers
    • Added valid field for visualization and future compatibility with ADAS ROI filtering

    • Add simple functions

      • Reversed back UKF node to develop
    • Formatted speed

    • Refactor codes

    • Make tracking visualization work

    • Relay class info in tracker node

    • Remove dependency to jskbbox and rosmarker in ukf tracker

    • apply rosclang to ukf tracker

    • Refactor codes

    • Revert "apply rosclang to ukf tracker"

    • Revert "Remove dependency to jskbbox and rosmarker in ukf tracker"

    • Revert "Relay class info in tracker node"

    • delete dependency to jsk and remove pointcloud_frame

    • get direction nis

    • set velocity_reliable true in tracker node

    • Add divided function

    • add function

    • Sanity checks

    • Relay all the data from input DetectedObject

    • Divided function work both for immukf and sukf

    • Add comment

    • Refactor codes

    • Pass immukf test

    • make direction assisted tracking work

    • Visualization fixes

    • Refactor codes

    • Tracker Merging step added

    • Added launch file support for merging phase

    • lane assisted with sukf

      • change only static objects

File truncated at 100 lines see the full file

Launch files

  • launch/grid_map_filter.launch
      • map_frame [default: map]
      • map_topic [default: /realtime_cost_map]
      • dist_transform_distance [default: 2.0]
      • use_dist_transform [default: true]
      • use_wayarea [default: true]
      • use_fill_circle [default: true]
      • fill_circle_cost_threshold [default: 20]
      • circle_radius [default: 1.7]
  • launch/laserscan2costmap.launch
      • resolution [default: 0.1]
      • scan_size_x [default: 1000]
      • scan_size_y [default: 1000]
      • map_size_x [default: 500]
      • map_size_y [default: 500]
      • scan_topic [default: /scan]
      • sensor_frame [default: /velodyne]
  • launch/potential_field.launch
      • use_obstacle_box [default: true]
      • use_vscan_points [default: false]
      • use_target_waypoint [default: false]
      • map_resolution [default: 0.25]
      • map_x_size [default: 40.0]
      • map_y_size [default: 25.0]
      • map_x_offset [default: 10.0]
  • launch/wayarea2grid.launch
      • sensor_frame [default: velodyne]
      • grid_frame [default: map]
      • grid_resolution [default: 0.3]
      • grid_length_x [default: 150]
      • grid_length_y [default: 150]
      • grid_position_x [default: 0]
      • grid_position_y [default: 0]
      • grid_position_z [default: -2]
  • launch/wayarea2grid_lanelet2.launch
      • sensor_frame [default: velodyne]
      • grid_frame [default: map]
      • grid_resolution [default: 0.3]
      • grid_length_x [default: 150]
      • grid_length_y [default: 150]
      • grid_position_x [default: 0]
      • grid_position_y [default: 0]
      • grid_position_z [default: -2]
  • launch/wayarea2grid_option.launch
      • sensor_frame [default: velodyne]
      • grid_frame [default: map]
      • grid_resolution [default: 0.3]
      • grid_length_x [default: 150]
      • grid_length_y [default: 150]
      • grid_position_x [default: 0]
      • grid_position_y [default: 0]
      • grid_position_z [default: -2]
      • use_ll2 [default: false]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged object_map at Robotics Stack Exchange

No version for distro noetic showing github. Known supported distros are highlighted in the buttons above.
Package symbol

object_map package from autoware_learn repo

amathutils_lib autoware_build_flags autoware_health_checker emergency_handler gnss lanelet2_extension libvectormap libwaypoint_follower map_file object_map op_planner op_ros_helpers op_simu op_utility ros_observer tvm_utility vector_map vector_map_server vehicle_sim_model autoware_connector ekf_localizer gnss_localizer image_processor imm_ukf_pda_track lidar_apollo_cnn_seg_detect lidar_euclidean_cluster_detect lidar_fake_perception lidar_kf_contour_track lidar_localizer lidar_naive_l_shape_detect lidar_point_pillars lidar_shape_estimation naive_motion_predict ndt_cpu ndt_gpu ndt_tku obj_db pcl_omp_registration pixel_cloud_fusion points_downsampler points_preprocessor pos_db range_vision_fusion road_occupancy_processor roi_object_filter trafficlight_recognizer twist_generator vel_pose_diff_checker vision_beyond_track vision_darknet_detect vision_lane_detect vision_segment_enet_detect vision_ssd_detect astar_search costmap_generator decision_maker dp_planner ff_waypoint_follower freespace_planner lane_planner lattice_planner ll2_global_planner mpc_follower op_global_planner op_local_planner op_simulation_package op_utilities pure_pursuit state_machine_lib twist_filter twist_gate way_planner waypoint_maker waypoint_planner autoware_quickstart_examples autoware_can_msgs autoware_config_msgs autoware_external_msgs autoware_lanelet2_msgs autoware_map_msgs autoware_msgs autoware_system_msgs tablet_socket_msgs vector_map_msgs carla_autoware_bridge gazebo_camera_description gazebo_imu_description lgsvl_simulator_bridge vehicle_gazebo_simulation_interface vehicle_gazebo_simulation_launcher wf_simulator autoware_bag_tools autoware_camera_lidar_calibrator autoware_launcher autoware_launcher_rviz calibration_publisher data_preprocessor graph_tools kitti_box_publisher kitti_launch kitti_player lanelet_aisan_converter log_tools map_tf_generator map_tools marker_downsampler mqtt_socket multi_lidar_calibrator oculus_socket pc2_downsampler rosbag_controller runtime_manager sound_player system_monitor tablet_socket twist2odom udon_socket vehicle_engage_panel vehicle_socket decision_maker_panel detected_objects_visualizer fastvirtualscan gazebo_world_description glviewer integrated_viewer points2image rosinterface autoware_rviz_plugins vehicle_description vehicle_model adi_driver as autoware_driveworks_gmsl_interface autoware_driveworks_interface vlg22c_cam custom_msgs garmin hokuyo javad_navsat_driver kvaser sick_lms5xx memsic_imu microstrain_driver nmea_navsat autoware_pointgrey_drivers sick_ldmrs_description sick_ldmrs_driver sick_ldmrs_laser sick_ldmrs_msgs sick_ldmrs_tools vectacam xsens_driver ymc ds4 ds4_driver ds4_msgs lanelet2 lanelet2_core lanelet2_examples lanelet2_io lanelet2_maps lanelet2_matching lanelet2_projection lanelet2_python lanelet2_routing lanelet2_traffic_rules lanelet2_validation mrt_cmake_modules

ROS Distro
github

Package Summary

Tags No category tags.
Version 1.12.0
License Apache 2
Build type CATKIN
Use RECOMMENDED

Repository Summary

Description autoware.ai perf
Checkout URI https://github.com/is-whale/autoware_learn.git
VCS Type git
VCS Version 1.14
Last Updated 2025-03-14
Dev Status UNKNOWN
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

The object_map package

Additional Links

No additional links.

Maintainers

  • ando
  • amc

Authors

No additional authors.

The object_map Package

This package contains nodes to extract information from the LiDAR sensor and from ADAS Maps. The processed result is published as GridMaps (grid_map) and/or occupancy grids(nav_msgs).


Nodes in the Package

laserscan2costmap

This node uses 2D LaserScan messages to generate the OccupancyGrid.

Input topics

Default: /scan (sensor_msgs::LaserScan) from vscan.

Output topics

/ring_ogm (nav_msgs::OccupancyGrid) is the output OccupancyGrid with values ranging from 0-100.

How to launch

It can be launched as follows:

  1. Using the Runtime Manager by clicking the laserscan2costmap checkbox under the Semantics section in the Computing tab.
  2. From a sourced terminal by executing: roslaunch object_map laserscan2costmap.launch.
Parameters available in roslaunch and rosrun
  • resolution defines the equivalent value of a cell in the grid in meters. Smaller values result in better accuracy at the expense of memory and computing cost (default value: 0.1).
  • cell_width represents the width in meters of the OccupancyGrid around the origin of the PointCloud (default: 150).
  • cell_height represents the height in meters of the OccupancyGrid around the origin of the PointCloud (default: 150).
  • offset_x indicates if the center of the OccupancyGrid will be shifted by this distance, to the left(-) or right(+) (default: 25).
  • offset_y indicates if the center of the OccupancyGrid will be shifted by this distance, to the back(-) or front(+) (default: 0).
  • offset_z indicates if the center of the OccupancyGrid will be shifted by this distance, below(-) or above(+) (default: 0).
  • scan_topic is the PointCloud topic source.

wayarea2grid

The ADAS Maps used in Autoware may contain the definition of the road areas, which is useful for computing whether a region is drivable or not. This node reads the data from an ADAS Map (VectorMap) and extracts the 3D positions of the road regions. It projects them into an OccupancyGrid and sets the value to 128 if the area is road and 255 if it is not. These values are used because this node uses 8-bit bitmaps (grid_map).

Input topics

/vector_map (vector_map_msgs::WayArea) from the VectorMap publisher. /tf to obtain the transform between the vector map(grid_frame) and the sensor(sensor_frame) .

Output topics

/grid_map_wayarea (grid_map::GridMap) is the resulting GridMap with values ranging from 0-255. /occupancy_wayarea (nav_msgs::OccupancyGrid) is the resulting OccupancyGrid with values ranging from 0-255.

How to launch

It can be launched as follows:

  1. Using the Runtime Manager by clicking the wayarea2grid checkbox under the Semantics section in the Computing tab.
  2. From a sourced terminal by executing: roslaunch object_map wayarea2grid.launch
Parameters available in roslaunch and rosrun
  • sensor_frame defines the coordinate frame of the vehicle origin (default value: velodyne).
  • grid_frame defines the coordinate frame of the map (default: map).
  • grid_resolution defines the equivalent value of a cell in the grid in meters. Smaller values result in better accuracy at the expense of memory and computing cost (default: 0.2).
  • grid_length_x represents the width in meters of the OccupancyGrid around the origin of the PointCloud (default: 25).
  • grid_length_y represents the height in meters of the OccupancyGrid around the origin of the PointCloud (default: 0).
  • grid_position_x indicates if the center of the OccupancyGrid will be shifted by this distance, left(-) or right(+) (default: 0).
  • grid_position_y indicates if the center of the OccupancyGrid will be shifted by this distance, back(-) or front(+) (default: 0).

grid_map_filter

This node can combine sensor, map, and perception data as well as other OccupancyGrids. It generates OccupancyGrids with useful data for navigation purposes. It publishes three different layers. More details are provided in the output topics section below.

Input topics

/vector_map (vector_map_msgs::WayArea) from the VectorMap publisher. /tf to obtain the transform between the vector map (grid_frame) and the sensor (sensor_frame). /semantics/costmap_generator/occupancy_grid (nav_msgs::OccupancyGrid) calculated by costmap_generator package.

Output topics

/filtered_grid_map (grid_map::GridMap) which contains 3 layers and is also published as in regular OccupancyGrid messages. distance_transform (nav_msgs::OccupancyGrid) applies a distance transform to the OccupancyGrid obtained from the /realtime_cost_map, allowing us to obtain a gradient of probabilities surrounding the obstacles PointCloud. dist_wayarea (nav_msgs::OccupancyGrid) contains a combination of the distance transform and the road data, as described in the wayarea2grid node. circle (nav_msgs::OccupancyGrid) draws a circle surrounding the /realtime_cost_map.

The output topics are configured as described in the grid_map package, and the configuration file is inside the config folder of the package.

How to launch

It can be launched as follows:

  1. Using the Runtime Manager by clicking the grid_map_filter checkbox under the Semantics section in the Computing tab.
  2. From a sourced terminal by executing: roslaunch object_map grid_map_filter.launch.
Parameters available in roslaunch and rosrun
  • map_frame defines the coordinate system of the realtime costmap (default value: map).
  • map_topic defines the topic where the realtime costmap is being published (default: /realtime_cost_map).
  • dist_transform_distance defines the maximum distance to calculate the distance transform, in meters (default: 2.0).
  • use_wayarea indicates whether or not to use the road regions to filter the cost map (default: true).
  • use_fill_circle enables or disables the generation of the circle layer (default: true).
  • fill_circle_cost_threshold indicates the minimum cost value threshold value to decide if a circle will be drawn (default: 20)
  • circle_radius defines the radius of the circle, in meters (default: 1.7).

Instruction Videos

grid_map_filter

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package object_map

1.11.0 (2019-03-21)

  • [Feature] costmap generator (#1774)
      • Initial commit for visualization package
    • Removal of all visualization messages from perception nodes

    • Visualization dependency removal

    • Launch file modification

      • Fixes to visualization
    • Error on Clustering CPU

    • Reduce verbosity on markers

    • Publish acceleration and velocity from ukf tracker

    • Remove hardcoded path

    • Updated README

    • updated prototype

    • Prototype update for header and usage

    • Removed unknown label from being reported

    • Updated publishing orientation to match develop

      • Published all the trackers
    • Added valid field for visualization and future compatibility with ADAS ROI filtering

    • Add simple functions

      • Reversed back UKF node to develop
    • Formatted speed

    • Refactor codes

    • Make tracking visualization work

    • Relay class info in tracker node

    • Remove dependency to jskbbox and rosmarker in ukf tracker

    • apply rosclang to ukf tracker

    • Refactor codes

    • Revert "apply rosclang to ukf tracker"

    • Revert "Remove dependency to jskbbox and rosmarker in ukf tracker"

    • Revert "Relay class info in tracker node"

    • delete dependency to jsk and remove pointcloud_frame

    • get direction nis

    • set velocity_reliable true in tracker node

    • Add divided function

    • add function

    • Sanity checks

    • Relay all the data from input DetectedObject

    • Divided function work both for immukf and sukf

    • Add comment

    • Refactor codes

    • Pass immukf test

    • make direction assisted tracking work

    • Visualization fixes

    • Refactor codes

    • Tracker Merging step added

    • Added launch file support for merging phase

    • lane assisted with sukf

      • change only static objects

File truncated at 100 lines see the full file

Launch files

  • launch/grid_map_filter.launch
      • map_frame [default: map]
      • map_topic [default: /realtime_cost_map]
      • dist_transform_distance [default: 2.0]
      • use_dist_transform [default: true]
      • use_wayarea [default: true]
      • use_fill_circle [default: true]
      • fill_circle_cost_threshold [default: 20]
      • circle_radius [default: 1.7]
  • launch/laserscan2costmap.launch
      • resolution [default: 0.1]
      • scan_size_x [default: 1000]
      • scan_size_y [default: 1000]
      • map_size_x [default: 500]
      • map_size_y [default: 500]
      • scan_topic [default: /scan]
      • sensor_frame [default: /velodyne]
  • launch/potential_field.launch
      • use_obstacle_box [default: true]
      • use_vscan_points [default: false]
      • use_target_waypoint [default: false]
      • map_resolution [default: 0.25]
      • map_x_size [default: 40.0]
      • map_y_size [default: 25.0]
      • map_x_offset [default: 10.0]
  • launch/wayarea2grid.launch
      • sensor_frame [default: velodyne]
      • grid_frame [default: map]
      • grid_resolution [default: 0.3]
      • grid_length_x [default: 150]
      • grid_length_y [default: 150]
      • grid_position_x [default: 0]
      • grid_position_y [default: 0]
      • grid_position_z [default: -2]
  • launch/wayarea2grid_lanelet2.launch
      • sensor_frame [default: velodyne]
      • grid_frame [default: map]
      • grid_resolution [default: 0.3]
      • grid_length_x [default: 150]
      • grid_length_y [default: 150]
      • grid_position_x [default: 0]
      • grid_position_y [default: 0]
      • grid_position_z [default: -2]
  • launch/wayarea2grid_option.launch
      • sensor_frame [default: velodyne]
      • grid_frame [default: map]
      • grid_resolution [default: 0.3]
      • grid_length_x [default: 150]
      • grid_length_y [default: 150]
      • grid_position_x [default: 0]
      • grid_position_y [default: 0]
      • grid_position_z [default: -2]
      • use_ll2 [default: false]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged object_map at Robotics Stack Exchange