Skip to content

Commit

Permalink
pybind11 definition doc typo fixes. (#1270)
Browse files Browse the repository at this point in the history
Signed-off-by: Tomoya.Fujita <[email protected]>
  • Loading branch information
fujitatomoya authored Apr 6, 2024
1 parent 32e4eae commit c8d3481
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion rclpy/src/rclpy/action_client.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ class ActionClient : public Destroyable, public std::enable_shared_from_this<Act
Node node_;
std::shared_ptr<rcl_action_client_t> rcl_action_client_;
};
/// Define a pybind11 wrapper for an rcl_time_point_t
/// Define a pybind11 wrapper for an rclpy::ActionClient
/**
* \param[in] module a pybind11 module to add the definition to
*/
Expand Down
2 changes: 1 addition & 1 deletion rclpy/src/rclpy/action_server.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ class ActionServer : public Destroyable, public std::enable_shared_from_this<Act
Node node_;
std::shared_ptr<rcl_action_server_t> rcl_action_server_;
};
/// Define a pybind11 wrapper for an rcl_time_point_t
/// Define a pybind11 wrapper for an rclpy::ActionServer
/**
* \param[in] module a pybind11 module to add the definition to
*/
Expand Down
2 changes: 1 addition & 1 deletion rclpy/src/rclpy/clock.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ class Clock : public Destroyable, public std::enable_shared_from_this<Clock>
std::shared_ptr<rcl_clock_t> rcl_clock_;
};

/// Define a pybind11 wrapper for an rclpy::Service
/// Define a pybind11 wrapper for an rclpy::Clock
void define_clock(py::object module);
} // namespace rclpy

Expand Down
2 changes: 1 addition & 1 deletion rclpy/src/rclpy/context.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ class Context : public Destroyable, public std::enable_shared_from_this<Context>
std::shared_ptr<rcl_context_t> rcl_context_;
};

/// Define a pybind11 wrapper for an rclpy::Service
/// Define a pybind11 wrapper for an rclpy::Context
void define_context(py::object module);
} // namespace rclpy

Expand Down
2 changes: 1 addition & 1 deletion rclpy/src/rclpy/guard_condition.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ class GuardCondition : public Destroyable, public std::enable_shared_from_this<G
}
};

/// Define a pybind11 wrapper for an rclpy::Service
/// Define a pybind11 wrapper for an rclpy::GuardCondition
void define_guard_condition(py::object module);
} // namespace rclpy

Expand Down
2 changes: 1 addition & 1 deletion rclpy/src/rclpy/publisher.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ class Publisher : public Destroyable, public std::enable_shared_from_this<Publis
Node node_;
std::shared_ptr<rcl_publisher_t> rcl_publisher_;
};
/// Define a pybind11 wrapper for an rclpy::Service
/// Define a pybind11 wrapper for an rclpy::Publisher
void define_publisher(py::object module);
} // namespace rclpy

Expand Down
2 changes: 1 addition & 1 deletion rclpy/src/rclpy/subscription.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ class Subscription : public Destroyable, public std::enable_shared_from_this<Sub
Node node_;
std::shared_ptr<rcl_subscription_t> rcl_subscription_;
};
/// Define a pybind11 wrapper for an rclpy::Service
/// Define a pybind11 wrapper for an rclpy::Subscription
void define_subscription(py::object module);
} // namespace rclpy

Expand Down
2 changes: 1 addition & 1 deletion rclpy/src/rclpy/wait_set.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ class WaitSet : public Destroyable, public std::enable_shared_from_this<WaitSet>
std::shared_ptr<rcl_wait_set_t> rcl_wait_set_;
};

/// Define a pybind11 wrapper for an rclpy::Service
/// Define a pybind11 wrapper for an rclpy::WaitSet
void define_waitset(py::object module);
} // namespace rclpy

Expand Down

0 comments on commit c8d3481

Please sign in to comment.