#includerl::plan::CAction action; action.apply(); // execute the action
#includeIn this example, we set the end effector to a gripper and set its position to (0,0,0) before executing the action. Overall, CAction provides a convenient way to specify and execute robot actions in a motion planning and control context.rl::plan::CAction action; action.endEffector = "gripper"; // set the end effector to use action.setPosition(0, 0, 0); // set the position of the end effector action.apply(); // execute the action