Coder Social home page Coder Social logo

baseline_localizer's Introduction

Baseline Localizer

Auther: Biomotion

Create Date: 2021/10/28

Last Modified: 2021/11/01

Dependencies

  • geometry_msgs
  • pcl_ros
  • sensor_msgs
  • tf2
  • tf2_ros
  • tf_conversions

Nodes

  • pub_map

    • parameters: map_path
    • subscribe: N/A
    • publish: /map (sensor_msgs::PointCloud2)
  • localizer

    • parameters: baselink2lidar_trans (float array), baselink2lidar_rot (float array), result_save_path (string)
    • subscribe: /map (sensor_msgs::PointCloud2), /lidar_points (sensor_msgs::PointCloud2), /gps (geometry_msgs::PointStamped)
    • publish: /lidar_pose (geometry_msgs::PoseStamped), /transformed_points (sensor_msgs::PointCloud2)
    • output: result poses as csv file saved in result_save_path

How to Use

Prepare Data

First, you should download your pcd map to your computer and modify map_path in pub_map_node.cpp for bag from ITRI.

For nuscenes datasets, you should utilize map_tile_loader package and setup your nuscenes map files.

Launch File

Start launch file by,

roslaunch baseline_localizer itri.launch
# or
roslaunch baseline_localizer nuscenes.launch

Play Rosbag

Play rosbag with the following command.

rosbag play --pause -r 0.1 <your_bag_file>

You can pause/resume the playing process by pressing white space on the rosbag play terminal.

It is recommanded to pause a while when the localizer node is initializing.

Check Result

The results will be saved in results/ folder by default. Check if there are correct number of lines and upload your result to our competition servers.

baseline_localizer's People

Contributors

biomotion avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.