-
Notifications
You must be signed in to change notification settings - Fork 139
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]>
- Loading branch information
Showing
2 changed files
with
10 additions
and
7 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,6 @@ | ||
# Magnetometer configuration. | ||
- ros_topic_name: "/magnetometer" | ||
gz_topic_name: "/magnetometer" | ||
- topic_name: "/magnetometer" | ||
ros_type_name: "sensor_msgs/msg/MagneticField" | ||
gz_type_name: "gz.msgs.Magnetometer" | ||
subscriber_queue: 5 | ||
publisher_queue: 6 | ||
lazy: false | ||
lazy: true | ||
direction: GZ_TO_ROS |
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 |
---|---|---|
@@ -1,6 +1,12 @@ | ||
<launch> | ||
<gz_server world_sdf_file="sensors.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/magnetometer.yaml" use_composition="True" /> | ||
<gz_server | ||
world_sdf_file="sensors.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/magnetometer.yaml" | ||
use_composition="True" /> | ||
<node pkg="rqt_topic" exec="rqt_topic" args="-t" /> | ||
<executable cmd="gz sim -g" /> | ||
</launch> |