Public Member Functions | Private Attributes | List of all members
novatel_oem7_driver::Oem7ConfigNodelet Class Reference
Inheritance diagram for novatel_oem7_driver::Oem7ConfigNodelet:
Inheritance graph

Public Member Functions

bool executeInternalCommand (const std::string &cmd)
void issueConfigCmd (const std::string &cmd)
void onInit ()
void serviceLoopCb (const ros::TimerEvent &event)
- Public Member Functions inherited from nodelet::Nodelet
void init (const std::string &name, const M_string &remapping_args, const V_string &my_argv, ros::CallbackQueueInterface *st_queue=NULL, ros::CallbackQueueInterface *mt_queue=NULL)
 Nodelet ()
virtual ~Nodelet ()

Private Attributes

ros::ServiceClient client_
ros::Timer serviceCbTimer_

Additional Inherited Members

- Protected Member Functions inherited from nodelet::Nodelet
ros::CallbackQueueInterfacegetMTCallbackQueue () const
ros::NodeHandlegetMTNodeHandle () const
ros::NodeHandlegetMTPrivateNodeHandle () const
const V_stringgetMyArgv () const
const std::string & getName () const
ros::NodeHandlegetNodeHandle () const
ros::NodeHandlegetPrivateNodeHandle () const
const M_stringgetRemappingArgs () const
ros::CallbackQueueInterfacegetSTCallbackQueue () const
std::string getSuffixedName (const std::string &suffix) const

Detailed Description

Nodelet which configures Oem7 receiver. Sends Oem7 commands using 'Oem7Cmd' service. The commands are obtained from Global parameters.

Definition at line 53 of file oem7_config_nodelet.cpp.

Member Function Documentation

bool novatel_oem7_driver::Oem7ConfigNodelet::executeInternalCommand ( const std::string &  cmd)

Executes Driver-specific command, like PAUSE.

true when the provided command is a recongized internal command.

Definition at line 105 of file oem7_config_nodelet.cpp.

void novatel_oem7_driver::Oem7ConfigNodelet::issueConfigCmd ( const std::string &  cmd)

Issues Oem7 configuration command

cmdThe command to issue

Definition at line 137 of file oem7_config_nodelet.cpp.

void novatel_oem7_driver::Oem7ConfigNodelet::onInit ( )

Oem7Cmd service Initializes the Config nodelet: Connects to Oem7 Cmd service and launches the configuration.

Implements nodelet::Nodelet.

Definition at line 63 of file oem7_config_nodelet.cpp.

void novatel_oem7_driver::Oem7ConfigNodelet::serviceLoopCb ( const ros::TimerEvent event)

Service loop, obtains and sends the configuration commands sequentially, waiting for a response from a previous command before sending the next one.

Definition at line 76 of file oem7_config_nodelet.cpp.

Member Data Documentation

ros::ServiceClient novatel_oem7_driver::Oem7ConfigNodelet::client_

Definition at line 56 of file oem7_config_nodelet.cpp.

ros::Timer novatel_oem7_driver::Oem7ConfigNodelet::serviceCbTimer_

Timer used to execute main service callback.

Definition at line 55 of file oem7_config_nodelet.cpp.

The documentation for this class was generated from the following file:

autogenerated on Tue Mar 9 2021 03:48:00