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

fix: fixed incorrect arguments in rclcpp_service_callback_added #289

Merged
merged 1 commit into from
Jun 17, 2024
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion CARET_trace/include/caret_trace/data_container.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ class DataContainer : public DataContainerInterface
ContainerTraits<const void *, const void *, const void *, const char *, int64_t>;

/// @brief ContainerTraits for rclcpp_service_callback_added trace points.
using RclcppServiceCallbackAdded = ContainerTraits<const void *, const char *, int64_t>;
using RclcppServiceCallbackAdded = ContainerTraits<const void *, const void *, int64_t>;

/// @brief ContainerTraits for rcl_service_init trace points.
using RclServiceInit =
Expand Down
4 changes: 2 additions & 2 deletions CARET_trace/src/ros_trace_points.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -879,12 +879,12 @@ void ros_trace_rcl_service_init(

void ros_trace_rclcpp_service_callback_added(
const void * service_handle,
const char * callback)
const void * callback)
{
static auto & context = Singleton<Context>::get_instance();
static auto & clock = context.get_clock();
static auto & data_container = context.get_data_container();
static auto record = [](const void * service_handle, const char * callback, int64_t init_time) {
static auto record = [](const void * service_handle, const void * callback, int64_t init_time) {
if (!context.get_controller().is_allowed_service_handle(service_handle)) {
return;
}
Expand Down
Loading