Skip to content

Fix default topic name of JointStatePublisher #2115

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

Merged
merged 2 commits into from
Sep 5, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/systems/joint_state_publisher/JointStatePublisher.hh
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ namespace sim
inline namespace GZ_SIM_VERSION_NAMESPACE {
namespace systems
{
/// \brief The JointStatePub system publishes 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 `<topic>` parameter.
///
/// By default the JointStatePublisher will publish all joints for
Expand All @@ -45,7 +45,7 @@ namespace systems
///
/// `<topic>`: Name of the topic to publish to. This parameter is optional,
/// and if not provided, the joint state will be published to
/// "/world/<world_name>/model/<model_name>/state".
/// "/world/<world_name>/model/<model_name>/joint_state".
/// `<joint_name>`: 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.
Expand Down