ROS Serial C client library
|
00001 00018 #ifndef __ROS_OS_H__ 00019 #define __ROS_OS_H__ 00020 /* usage hint */ 00021 #ifndef ROS_USE_OS 00022 #error "If you want to use an OS you have to define ROS_USE_OS first." 00023 #endif 00024 /* ROS includes */ 00025 #include "ros_types.h" 00031 rosReturnCode_t osInit(); 00037 rosReturnCode_t osLockCritical(); 00043 rosReturnCode_t osUnlockCritical(); 00051 void osMSleep(uint32_t ms); 00059 void osUSleep(uint32_t us); 00072 void osDelayUntil(uint32_t* last_wake_time, uint32_t time_increment); 00080 rosReturnCode_t osStartNode(osROSNode_t* node); 00081 00082 #endif