Skip to content

Commit

Permalink
The patch follows the discussion at this
Browse files Browse the repository at this point in the history
ros2/rmw#124 url on rmw.

The patch enables setting log severity from userland applications. The parameter
passed is defined inside rmw/include/types.h

Signed-off-by: Sriram Raghunathan <sriram.max@gmail.com>
  • Loading branch information
Sriram Raghunathan committed Oct 20, 2017
1 parent afae8f8 commit 465190b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions rmw_implementation/src/functions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,10 @@ RMW_INTERFACE_FN(rmw_service_server_is_available,
rmw_ret_t, RMW_RET_ERROR,
3, ARG_TYPES(const rmw_node_t *, const rmw_client_t *, bool *))

RMW_INTERFACE_FN(rmw_set_log_severity,
rmw_ret_t, RMW_RET_ERROR,
1, ARG_TYPES(const rmw_log_severity_t *))

#define GET_SYMBOL(x) symbol_ ## x = get_symbol(#x);

void prefetch_symbols(void)
Expand Down

0 comments on commit 465190b

Please sign in to comment.