Classes | Typedefs | Functions
roboteq Namespace Reference

Classes

struct  _motor_status
 
struct  _status_fault
 
struct  _status_flag
 
struct  joint
 
class  Motor
 
class  Roboteq
 
class  serial_controller
 

Typedefs

typedef function< void(string data) > callback_data_t
 Read complete callback - Array of callback. More...
 
typedef struct roboteq::joint joint_t
 
typedef struct roboteq::_motor_status motor_status_t
 
typedef struct roboteq::_status_fault status_fault_t
 
typedef struct roboteq::_status_flag status_flag_t
 

Functions

const std::string eol ("\r")
 
const size_t max_line_length (128)
 
const std::regex rgx_cmd ("(\\+|-)\r")
 
const std::regex rgx_query ("(.+)=(.+)\r")
 

Detailed Description

Copyright (C) 2017, Raffaello Bonghi raffa.nosp@m.ello.nosp@m.@rnex.nosp@m.t.it All rights reserved

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Typedef Documentation

typedef function<void (string data) > roboteq::callback_data_t

Read complete callback - Array of callback.

Definition at line 47 of file serial_controller.h.

Function Documentation

const std::string roboteq::eol ( "\r"  )
const size_t roboteq::max_line_length ( 128  )
const std::regex roboteq::rgx_cmd ( "(\\+|-)\r"  )
const std::regex roboteq::rgx_query ( )


roboteq_control
Author(s): Raffaello Bonghi
autogenerated on Wed Jan 3 2018 03:48:23