From f8604a252ff2ebc8560b44d91028193c71855076 Mon Sep 17 00:00:00 2001 From: Bi0T1N Date: Fri, 1 Sep 2023 23:51:36 +0200 Subject: [PATCH 1/2] Fix default topic name of JointStatePublisher the default topic name is specified as /joint_state in JointStatePublisher.cc Signed-off-by: Bi0T1N --- src/systems/joint_state_publisher/JointStatePublisher.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/systems/joint_state_publisher/JointStatePublisher.hh b/src/systems/joint_state_publisher/JointStatePublisher.hh index c83d9a1197..4b78245837 100644 --- a/src/systems/joint_state_publisher/JointStatePublisher.hh +++ b/src/systems/joint_state_publisher/JointStatePublisher.hh @@ -33,7 +33,7 @@ namespace sim inline namespace GZ_SIM_VERSION_NAMESPACE { namespace systems { - /// \brief The JointStatePub system publishes state information for + /// \brief The JointStatePublisher system publishes joint state information for /// a model. The published message type is gz::msgs::Model, and the /// publication topic is determined by the `` parameter. /// @@ -45,7 +45,7 @@ namespace systems /// /// ``: Name of the topic to publish to. This parameter is optional, /// and if not provided, the joint state will be published to - /// "/world//model//state". + /// "/world//model//joint_state". /// ``: Name of a joint to publish. This parameter can be /// specified multiple times, and is optional. All joints in a model will /// be published if joint names are not specified. From 4b16396c2ab48aaac5e9e37917e07aa8a86db8e7 Mon Sep 17 00:00:00 2001 From: Bi0T1N Date: Sat, 2 Sep 2023 17:41:45 +0200 Subject: [PATCH 2/2] Fix line length Signed-off-by: Bi0T1N --- src/systems/joint_state_publisher/JointStatePublisher.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/systems/joint_state_publisher/JointStatePublisher.hh b/src/systems/joint_state_publisher/JointStatePublisher.hh index 4b78245837..28d2408091 100644 --- a/src/systems/joint_state_publisher/JointStatePublisher.hh +++ b/src/systems/joint_state_publisher/JointStatePublisher.hh @@ -33,8 +33,8 @@ namespace sim inline namespace GZ_SIM_VERSION_NAMESPACE { namespace systems { - /// \brief The JointStatePublisher system publishes joint state information for - /// a model. The published message type is gz::msgs::Model, and the + /// \brief The JointStatePublisher system publishes joint state information + /// for a model. The published message type is gz::msgs::Model, and the /// publication topic is determined by the `` parameter. /// /// By default the JointStatePublisher will publish all joints for