-
Notifications
You must be signed in to change notification settings - Fork 148
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Carlos Agüero <[email protected]> Co-authored-by: Alejandro Hernández Cordero <[email protected]>
- Loading branch information
Showing
5 changed files
with
92 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Camera bridge configuration. | ||
- topic_name: "/camera" | ||
ros_type_name: "sensor_msgs/msg/Image" | ||
gz_type_name: "gz.msgs.Image" | ||
lazy: true | ||
direction: GZ_TO_ROS | ||
|
||
- topic_name: "/camera_info" | ||
ros_type_name: "sensor_msgs/msg/CameraInfo" | ||
gz_type_name: "gz.msgs.CameraInfo" | ||
lazy: true | ||
direction: GZ_TO_ROS |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<launch> | ||
<gz_server | ||
world_sdf_file="camera_sensor.sdf" | ||
use_composition="True" | ||
create_own_container="True" /> | ||
<ros_gz_bridge | ||
bridge_name="ros_gz_bridge" | ||
config_file="$(find-pkg-share ros_gz_sim_demos)/config/camera.yaml" | ||
use_composition="True" /> | ||
<node pkg="rviz2" exec="rviz2" args="-d $(find-pkg-share ros_gz_sim_demos)/rviz/camera.rviz" /> | ||
<node pkg="tf2_ros" exec="static_transform_publisher" args="--frame-id camera_link --child-frame-id camera/link/camera --roll 1.570796327 --yaw 1.570796327" /> | ||
<executable cmd="gz sim -g" /> | ||
</launch> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters