Returns "success" if boolean variable in blackboard is true, otherwise returns "failure".
Params:
var_name (string): name of boolean variable in blackboard
BoolVarNot
Returns "failure" if boolean variable in blackboard is true, otherwise returns "success".
Params:
var_name (string): name of boolean variable in blackboard
Odometry Conditionals
ReachedPosition
Returns "success" if the position of the robot given by the /odom topic is close within error to the provided goal position variable
Params:
goal_pos_var_name (string): Name of the blackboard variable holding an array of the x,y goal coordinates.
error (float): Tolerated error for reaching the goal position
LaserScan Conditionals
ClearAhead
action_nodes.md
Basic Movement
LinearAngularStatic
LinearAngularDynamic
Stop
Publishes a Twist message on the topic /cmd_vel with a linear and angular velocity defined in the node JSON
Params:
lin_vel (float): Linear x velocity for Twist msg
ang_vel (float): Angular z velocity for Twist msg
Publishes a twist message on the topic /cmd_vel with a linear and angular velocity provided by variables in the blackboard
Params:
linear_var_name (string): Name of the blackboard variable holding the linear x velocity to add to Twist msg
angular_var_name (string): Name of the blackboard variable holding the angular z velocity to add to Twist msg
Publishes a Twist msg on /cmd_vel with all velocity values set to 0
included_nodes.md
##Documentation for included nodes
Action Nodes
Basic Movement
The 3 nodes classified as "basic movement" nodes are the fundamental building blocks needed in order to make a robotics behavior tree application.