Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add a simple GNSS odometer #429

Open
wants to merge 4 commits into
base: ros2
Choose a base branch
from

Conversation

ahuazuipiaoliang
Copy link

add a simple GNSS odometer that modified based on lio_sam_6axis.
I my branch, I only use GNSS for heading initialization.

@ahuazuipiaoliang
Copy link
Author

add support for robosense LiDAR pointcloud which contains XYZIRT data.

@ahuazuipiaoliang
Copy link
Author

I've already tested with a robosense Helios 16P LiDAR, 6-axis IMU inside CHC CGI-430/410 combined RTK-INS.

Copy link
Collaborator

@grischi grischi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @ahuazuipiaoliang, thank your for submitting this PR!

Great that you added support for robosense lidars!

In addition to the comments I made in-line, could you please add some description in readme.md on how to use this feature and of the differences between your approach and the one used by the original author (navsat_transform_node etc.).

@@ -52,6 +52,10 @@ ament_target_dependencies(${PROJECT_NAME}_mapOptimization rclcpp rclpy std_msgs
target_link_libraries(${PROJECT_NAME}_mapOptimization gtsam)
rosidl_target_interfaces(${PROJECT_NAME}_mapOptimization ${PROJECT_NAME} "rosidl_typesupport_cpp")

add_executable(${PROJECT_NAME}_simpleGpsOdom src/simpleGpsOdom.cpp)
ament_target_dependencies(${PROJECT_NAME}_simpleGpsOdom rclcpp rclpy std_msgs sensor_msgs geometry_msgs nav_msgs pcl_msgs visualization_msgs tf2 tf2_ros tf2_eigen tf2_sensor_msgs tf2_geometry_msgs OpenCV PCL)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does not depend on e.g. OpenCV, PCL

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In https://github.com/JokerJohn/LIO_SAM_6AXIS/blob/d026151c12588821de8b7dd240b3ca7012da007d/LIO-SAM-6AXIS/include/gpsTools.hpp i do not see a license specification that would allow to copy that here and put it under the BSD license of this project. Also that "Created by" node does not help in this regard.

}

/**
* //2. LLA经度(longitude),纬度(latitude)和高度(altitude)经纬高坐标系
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

English is not my mother tongue either, but still I would prefer to keep comments in English, just for consistency.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That license note from above also applies to this file.

@@ -16,7 +16,7 @@ def generate_launch_description():
params_declare = DeclareLaunchArgument(
'params_file',
default_value=os.path.join(
share_dir, 'config', 'params.yaml'),
share_dir, 'config', 'params_rs16.yaml'),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The default configuration shall stay as it was.

@stale
Copy link

stale bot commented Jun 18, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Jun 18, 2023
@stale stale bot removed the stale label Jul 6, 2023
@juliangaal
Copy link

How come the GPS data remains in the ENU frame, and isn't transformed into the lidar frame?

@ahuazuipiaoliang
Copy link
Author

ahuazuipiaoliang commented Jul 11, 2023

@juliangaal For now, I assume the position of GNSS is exactly at the position of LiDAR frame. I should added a transform between LiDAR and GPS

@zhh2005757
Copy link

Why is it GNSS odometer? Are there any advantages for GNSS odometer compared GNSS original measurements?

@ahuazuipiaoliang
Copy link
Author

@zhh2005757 the GNSS odometer is only the node that converts LLH coordinates to cartesian coordinates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants