Skip to content

Commit

Permalink
Renamed launch files to YAML, WORKING ROS2
Browse files Browse the repository at this point in the history
  • Loading branch information
Mokaz committed Oct 5, 2023
1 parent 03d4df6 commit 813b681
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 16 deletions.
6 changes: 6 additions & 0 deletions asv_setup/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,10 @@ if(BUILD_TESTING)
ament_lint_auto_find_test_dependencies()
endif()

# Install launch files.
install(DIRECTORY
launch
DESTINATION share/${PROJECT_NAME}/
)

ament_package()
File renamed without changes.
23 changes: 23 additions & 0 deletions asv_setup/launch/tf.launch.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
launch:
- node:
pkg: tf2_ros
exec: static_transform_publisher
name: base_link_to_lidar
args: --frame-id base_link --child-frame-id os_lidar --x 0 --y 0 --z 0.03565 --roll 0 --pitch 0 --yaw 0

- node:
pkg: tf2_ros
exec: static_transform_publisher
name: base_link_to_zed2_camera_center
args: --frame-id base_link --child-frame-id zed2i_camera_center --x -0.03005 --y 0 --z 0.2203 --roll 0 --pitch 0 --yaw 0

#Tall fra mechanical
#Lidar
#X: 0
#Y (Høyde Z): Bunn til senter(50 - 28,35/2) + Origin til bunn av sensor(356,5) = 392.325 mm
#Z: 0

#Kamera
#X: -(268.56 mm + 31.58 mm) = -300.14 mm
#Y (Høyde Z): 179.01 mm + 42.37mm distanse fra sentrumtil linse = 221.38 mm
#Z (Y): 0
16 changes: 0 additions & 16 deletions asv_setup/launch/tf.yaml

This file was deleted.

0 comments on commit 813b681

Please sign in to comment.