View Source Rclex (Rclex v0.8.1)

Defines functions to manage ROS client resources.

Link to this section Summary

Functions

Return a properly initialized allocator with default values.

Initialize Rclex, return initialized context.

Shutdown Rclex, this function does not have to be called on exit, but does have to be called making a repeat call to rclexinit.

ユーザのタスク終了入力を受け付けるAPI. 0を入力するとchildに渡されたPIDのタスクを終了する

Link to this section Functions

@spec get_default_allocator() :: Rclex.Nifs.rcl_allocator()

Return a properly initialized allocator with default values.

@spec rclexinit() :: Rclex.Nifs.rcl_context()

Initialize Rclex, return initialized context.

@spec shutdown(context :: reference()) :: {:ok, Rclex.Nifs.rcl_ret()}

Shutdown Rclex, this function does not have to be called on exit, but does have to be called making a repeat call to rclexinit.

Link to this function

waiting_input(sv, child)

View Source

ユーザのタスク終了入力を受け付けるAPI. 0を入力するとchildに渡されたPIDのタスクを終了する