ROS Serial C client library
|
ROS Serial C nodehandle spinner implementation. More...
Enumerations | |
enum | SPINNER_STATES { SYNC = 0, TOPIC, LENGTH, DATA, CHECKSUM } |
enum | TOPIC_INFO { ID_PUBLISHER = 0, ID_SUBSCRIBER = 1, ID_SERVICE_SERVER = 2, ID_SERVICE_CLIENT = 4, ID_PARAMETER_REQUEST = 6, ID_LOG = 7, ID_TIME = 10, ID_PUBLISHER = 0, ID_SUBSCRIBER = 1, ID_SERVICE_SERVER = 2, ID_SERVICE_CLIENT = 4, ID_PARAMETER_REQUEST = 6, ID_LOG = 7, ID_TIME = 10 } |
Functions | |
void | requestTopicNegotiation (rosNodeHandle_t *nodehandle) |
void | responseTopicNegotiation (rosNodeHandle_t *nodehandle) |
void | requestSyncTime (rosNodeHandle_t *nodehandle) |
void | responseSyncTime (rosNodeHandle_t *nodehandle) |
rosReturnCode_t | slaveSpinner (rosNodeHandle_t *nodehandle) |
rosReturnCode_t | masterSpinner (rosNodeHandle_t *nodehandle) |
Variables | |
uint32_t | g_sync_request_time |
uint32_t | g_sec_offset |
uint32_t | g_nsec_offset |
uint32_t | g_last_sync_time |
uint32_t | g_last_sync_receive_time |
uint32_t | g_last_msg_timeout_time |
ROS Serial C nodehandle spinner implementation.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.