Last active
June 16, 2017 06:22
-
-
Save youtalk/0255cc762f8e93aeb33ac2af7f6d7650 to your computer and use it in GitHub Desktop.
rclcpp::node::Node
This file contains hidden or 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
explicit Node( | |
const std::string & node_name, | |
const std::string & namespace_ = "", | |
bool use_intra_process_comms = false); |
This file contains hidden or 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
std::vector<rclcpp::parameter::ParameterVariant> | |
get_parameters(const std::vector<std::string> & names) const; | |
std::vector<rcl_interfaces::msg::SetParametersResult> | |
set_parameters(const std::vector<rclcpp::parameter::ParameterVariant> & parameters); |
This file contains hidden or 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
template<typename ServiceT, typename CallbackT> | |
typename rclcpp::service::Service<ServiceT>::SharedPtr | |
create_service( | |
const std::string & service_name, | |
CallbackT && callback, | |
const rmw_qos_profile_t & qos_profile = rmw_qos_profile_services_default, | |
rclcpp::callback_group::CallbackGroup::SharedPtr group = nullptr); | |
template<typename ServiceT> | |
typename rclcpp::client::Client<ServiceT>::SharedPtr | |
create_client( | |
const std::string & service_name, | |
const rmw_qos_profile_t & qos_profile = rmw_qos_profile_services_default, | |
rclcpp::callback_group::CallbackGroup::SharedPtr group = nullptr); |
This file contains hidden or 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
template< | |
typename MessageT, typename Alloc = std::allocator<void>, | |
typename PublisherT = ::rclcpp::publisher::Publisher<MessageT, Alloc>> | |
std::shared_ptr<PublisherT> | |
create_publisher( | |
const std::string & topic_name, | |
const rmw_qos_profile_t & qos_profile = rmw_qos_profile_default, | |
std::shared_ptr<Alloc> allocator = nullptr); | |
template< | |
typename MessageT, | |
typename CallbackT, | |
typename Alloc = std::allocator<void>, | |
typename SubscriptionT = rclcpp::subscription::Subscription<MessageT, Alloc>> | |
std::shared_ptr<SubscriptionT> | |
create_subscription( | |
const std::string & topic_name, | |
CallbackT && callback, | |
const rmw_qos_profile_t & qos_profile = rmw_qos_profile_default, | |
rclcpp::callback_group::CallbackGroup::SharedPtr group = nullptr, | |
bool ignore_local_publications = false, | |
typename rclcpp::message_memory_strategy::MessageMemoryStrategy<MessageT, Alloc>::SharedPtr | |
msg_mem_strat = nullptr, | |
std::shared_ptr<Alloc> allocator = nullptr); |
This file contains hidden or 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
template<typename DurationT = std::milli, typename CallbackT> | |
typename rclcpp::timer::WallTimer<CallbackT>::SharedPtr | |
create_wall_timer( | |
std::chrono::duration<int64_t, DurationT> period, | |
CallbackT callback, | |
rclcpp::callback_group::CallbackGroup::SharedPtr group = nullptr); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment