#include <node_handle.h>
Public Member Functions | |
bool | advertise (Publisher &p) |
template<typename MReq , typename MRes , typename ObjT > | |
bool | advertiseService (ServiceServer< MReq, MRes, ObjT > &srv) |
virtual bool | connected () |
Hardware * | getHardware () |
bool | getParam (const char *name, int *param, int length=1, int timeout=1000) |
bool | getParam (const char *name, float *param, int length=1, int timeout=1000) |
bool | getParam (const char *name, char **param, int length=1, int timeout=1000) |
bool | getParam (const char *name, bool *param, int length=1, int timeout=1000) |
void | initNode () |
void | initNode (char *portName) |
void | logdebug (const char *msg) |
void | logerror (const char *msg) |
void | logfatal (const char *msg) |
void | loginfo (const char *msg) |
void | logwarn (const char *msg) |
void | negotiateTopics () |
NodeHandle_ () | |
Time | now () |
virtual int | publish (int id, const Msg *msg) |
void | requestSyncTime () |
template<typename MReq , typename MRes > | |
bool | serviceClient (ServiceClient< MReq, MRes > &srv) |
void | setNow (Time &new_now) |
void | setSpinTimeout (const uint32_t &timeout) |
Sets the maximum time in millisconds that spinOnce() can work. This will not effect the processing of the buffer, as spinOnce processes one byte at a time. It simply sets the maximum time that one call can process for. You can choose to clear the buffer if that is beneficial if SPIN_TIMEOUT is returned from spinOnce(). More... | |
virtual int | spinOnce () |
template<typename SubscriberT > | |
bool | subscribe (SubscriberT &s) |
void | syncTime (uint8_t *data) |
Protected Attributes | |
int | bytes_ |
int | checksum_ |
bool | configured_ |
Hardware | hardware_ |
int | index_ |
uint32_t | last_msg_timeout_time |
uint32_t | last_sync_receive_time |
uint32_t | last_sync_time |
uint8_t | message_in [INPUT_SIZE] |
uint8_t | message_out [OUTPUT_SIZE] |
int | mode_ |
uint32_t | nsec_offset |
Publisher * | publishers [MAX_PUBLISHERS] |
uint32_t | rt_time |
uint32_t | sec_offset |
uint32_t | spin_timeout_ |
Subscriber_ * | subscribers [MAX_SUBSCRIBERS] |
int | topic_ |
Private Member Functions | |
void | log (char byte, const char *msg) |
bool | requestParam (const char *name, int time_out=1000) |
Private Attributes | |
bool | param_recieved |
rosserial_msgs::RequestParamResponse | req_param_resp |
Definition at line 104 of file node_handle.h.
|
inline |
Definition at line 128 of file node_handle.h.
|
inline |
Definition at line 415 of file node_handle.h.
|
inline |
Definition at line 448 of file node_handle.h.
|
inlinevirtual |
Implements ros::NodeHandleBase_.
Definition at line 363 of file node_handle.h.
|
inline |
Definition at line 153 of file node_handle.h.
|
inline |
Definition at line 610 of file node_handle.h.
|
inline |
Definition at line 628 of file node_handle.h.
|
inline |
Definition at line 646 of file node_handle.h.
|
inline |
Definition at line 664 of file node_handle.h.
|
inline |
Definition at line 159 of file node_handle.h.
|
inline |
Definition at line 169 of file node_handle.h.
|
inlineprivate |
Definition at line 552 of file node_handle.h.
|
inline |
Definition at line 561 of file node_handle.h.
|
inline |
Definition at line 573 of file node_handle.h.
|
inline |
Definition at line 577 of file node_handle.h.
|
inline |
Definition at line 565 of file node_handle.h.
|
inline |
Definition at line 569 of file node_handle.h.
|
inline |
Definition at line 480 of file node_handle.h.
|
inline |
Definition at line 392 of file node_handle.h.
|
inlinevirtual |
Implements ros::NodeHandleBase_.
Definition at line 511 of file node_handle.h.
|
inlineprivate |
Definition at line 590 of file node_handle.h.
|
inline |
Definition at line 372 of file node_handle.h.
|
inline |
Definition at line 465 of file node_handle.h.
|
inline |
Definition at line 402 of file node_handle.h.
|
inline |
Sets the maximum time in millisconds that spinOnce() can work. This will not effect the processing of the buffer, as spinOnce processes one byte at a time. It simply sets the maximum time that one call can process for. You can choose to clear the buffer if that is beneficial if SPIN_TIMEOUT is returned from spinOnce().
timeout | The timeout in milliseconds that spinOnce will function. |
Definition at line 186 of file node_handle.h.
|
inlinevirtual |
Implements ros::NodeHandleBase_.
Definition at line 212 of file node_handle.h.
|
inline |
Definition at line 432 of file node_handle.h.
|
inline |
Definition at line 379 of file node_handle.h.
|
protected |
Definition at line 194 of file node_handle.h.
|
protected |
Definition at line 197 of file node_handle.h.
|
protected |
Definition at line 199 of file node_handle.h.
|
protected |
Definition at line 107 of file node_handle.h.
|
protected |
Definition at line 196 of file node_handle.h.
|
protected |
Definition at line 204 of file node_handle.h.
|
protected |
Definition at line 203 of file node_handle.h.
|
protected |
Definition at line 202 of file node_handle.h.
|
protected |
Definition at line 118 of file node_handle.h.
|
protected |
Definition at line 119 of file node_handle.h.
|
protected |
Definition at line 193 of file node_handle.h.
|
protected |
Definition at line 113 of file node_handle.h.
|
private |
Definition at line 587 of file node_handle.h.
|
protected |
Definition at line 121 of file node_handle.h.
|
private |
Definition at line 588 of file node_handle.h.
|
protected |
Definition at line 110 of file node_handle.h.
|
protected |
Definition at line 113 of file node_handle.h.
|
protected |
Definition at line 116 of file node_handle.h.
|
protected |
Definition at line 122 of file node_handle.h.
|
protected |
Definition at line 195 of file node_handle.h.