Macros | Variables
motor_hardware.cc File Reference
#include <ubiquity_motor/motor_hardware.h>
#include <ubiquity_motor/motor_message.h>
#include <boost/assign.hpp>
#include <boost/math/special_functions/round.hpp>
Include dependency graph for motor_hardware.cc:

Go to the source code of this file.

Macros

#define LOWEST_FIRMWARE_VERSION   28
 
#define QTICKS_PER_RADIAN   (ticks_per_radian*4)
 
#define TICKS_PER_RADIAN_ENC_3_STATE   (20.50251516)
 
#define VELOCITY_READ_PER_SECOND   10.0
 

Variables

int32_t g_odomEvent = 0
 
int32_t g_odomLeft = 0
 
int32_t g_odomRight = 0
 

Macro Definition Documentation

◆ LOWEST_FIRMWARE_VERSION

#define LOWEST_FIRMWARE_VERSION   28

Definition at line 49 of file motor_hardware.cc.

◆ QTICKS_PER_RADIAN

#define QTICKS_PER_RADIAN   (ticks_per_radian*4)

Definition at line 45 of file motor_hardware.cc.

◆ TICKS_PER_RADIAN_ENC_3_STATE

#define TICKS_PER_RADIAN_ENC_3_STATE   (20.50251516)

Copyright (c) 2016, Ubiquity Robotics All rights reserved.

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

Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

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.

Neither the name of ubiquity_motor 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.

Definition at line 44 of file motor_hardware.cc.

◆ VELOCITY_READ_PER_SECOND

#define VELOCITY_READ_PER_SECOND   10.0

Definition at line 47 of file motor_hardware.cc.

Variable Documentation

◆ g_odomEvent

int32_t g_odomEvent = 0

Definition at line 54 of file motor_hardware.cc.

◆ g_odomLeft

int32_t g_odomLeft = 0

Definition at line 52 of file motor_hardware.cc.

◆ g_odomRight

int32_t g_odomRight = 0

Definition at line 53 of file motor_hardware.cc.



ubiquity_motor
Author(s):
autogenerated on Mon Feb 28 2022 23:57:06