rayvburn / hubero

HuBeRo - a Framework to Simulate Human Behaviour in Robot Research
https://github.com/rayvburn/hubero
BSD 3-Clause "New" or "Revised" License
3 stars 0 forks source link

extend ROS API with `spinUntil(TaskFeedbackType)` #29

Open rayvburn opened 2 years ago

rayvburn commented 2 years ago

Currently, in the scenario code one must call

while(ros::ok() && <TaskFeedbackType> == <EXPECTED_FEEDBACK>) {
    std::this_thread::sleep_for(std::chrono::milliseconds(1));
    ros::spinOnce();
}