Skip to content
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

Add information about <topic> system paramter in JointStatePublisher #1671

Merged
merged 1 commit into from
Aug 29, 2022
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
5 changes: 4 additions & 1 deletion src/systems/joint_state_publisher/JointStatePublisher.hh
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,17 @@ namespace systems
{
/// \brief The JointStatePub system publishes state information for
/// a model. The published message type is ignition::msgs::Model, and the
/// publication topic is "/world/<world_name>/model/<model_name>/state".
/// publication topic is determined by the `<topic>` parameter.
///
/// By default the JointStatePublisher will publish all joints for
/// a model. Use the `<joint_name>` system parameter, described below, to
/// control which joints are published.
///
/// # System Parameters
///
/// `<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".
/// `<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