Public Member Functions | Public Attributes | List of all members
MotorDiagnostics Struct Reference

#include <motor_hardware.h>

Public Member Functions

void battery_status (diagnostic_updater::DiagnosticStatusWrapper &stat)
 
void firmware_date_status (diagnostic_updater::DiagnosticStatusWrapper &stat)
 
void firmware_options_status (diagnostic_updater::DiagnosticStatusWrapper &stat)
 
void firmware_status (diagnostic_updater::DiagnosticStatusWrapper &stat)
 
void limit_status (diagnostic_updater::DiagnosticStatusWrapper &stat)
 
void motor_power_status (diagnostic_updater::DiagnosticStatusWrapper &stat)
 
 MotorDiagnostics ()
 

Public Attributes

float battery_voltage = 0.0
 
bool estop_motor_power_off = false
 
int firmware_date = 0
 
int firmware_options = 0
 
int firmware_version = 0
 
bool left_integral_limit = false
 
bool left_max_speed_limit = false
 
bool left_pwm_limit = false
 
double odom_max_freq = 1000
 
double odom_min_freq = 50
 
diagnostic_updater::FrequencyStatus odom_update_status
 
bool param_limit_in_firmware = false
 
bool right_integral_limit = false
 
bool right_max_speed_limit = false
 
bool right_pwm_limit = false
 

Detailed Description

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 53 of file motor_hardware.h.

Constructor & Destructor Documentation

◆ MotorDiagnostics()

MotorDiagnostics::MotorDiagnostics ( )
inline

Definition at line 54 of file motor_hardware.h.

Member Function Documentation

◆ battery_status()

void MotorDiagnostics::battery_status ( diagnostic_updater::DiagnosticStatusWrapper stat)

Definition at line 643 of file motor_hardware.cc.

◆ firmware_date_status()

void MotorDiagnostics::firmware_date_status ( diagnostic_updater::DiagnosticStatusWrapper stat)

Definition at line 595 of file motor_hardware.cc.

◆ firmware_options_status()

void MotorDiagnostics::firmware_options_status ( diagnostic_updater::DiagnosticStatusWrapper stat)

Definition at line 665 of file motor_hardware.cc.

◆ firmware_status()

void MotorDiagnostics::firmware_status ( diagnostic_updater::DiagnosticStatusWrapper stat)

Definition at line 582 of file motor_hardware.cc.

◆ limit_status()

void MotorDiagnostics::limit_status ( diagnostic_updater::DiagnosticStatusWrapper stat)

Definition at line 610 of file motor_hardware.cc.

◆ motor_power_status()

void MotorDiagnostics::motor_power_status ( diagnostic_updater::DiagnosticStatusWrapper stat)

Definition at line 655 of file motor_hardware.cc.

Member Data Documentation

◆ battery_voltage

float MotorDiagnostics::battery_voltage = 0.0

Definition at line 76 of file motor_hardware.h.

◆ estop_motor_power_off

bool MotorDiagnostics::estop_motor_power_off = false

Definition at line 88 of file motor_hardware.h.

◆ firmware_date

int MotorDiagnostics::firmware_date = 0

Definition at line 59 of file motor_hardware.h.

◆ firmware_options

int MotorDiagnostics::firmware_options = 0

Definition at line 60 of file motor_hardware.h.

◆ firmware_version

int MotorDiagnostics::firmware_version = 0

Definition at line 58 of file motor_hardware.h.

◆ left_integral_limit

bool MotorDiagnostics::left_integral_limit = false

Definition at line 69 of file motor_hardware.h.

◆ left_max_speed_limit

bool MotorDiagnostics::left_max_speed_limit = false

Definition at line 71 of file motor_hardware.h.

◆ left_pwm_limit

bool MotorDiagnostics::left_pwm_limit = false

Definition at line 67 of file motor_hardware.h.

◆ odom_max_freq

double MotorDiagnostics::odom_max_freq = 1000

Definition at line 62 of file motor_hardware.h.

◆ odom_min_freq

double MotorDiagnostics::odom_min_freq = 50

Definition at line 63 of file motor_hardware.h.

◆ odom_update_status

diagnostic_updater::FrequencyStatus MotorDiagnostics::odom_update_status

Definition at line 64 of file motor_hardware.h.

◆ param_limit_in_firmware

bool MotorDiagnostics::param_limit_in_firmware = false

Definition at line 73 of file motor_hardware.h.

◆ right_integral_limit

bool MotorDiagnostics::right_integral_limit = false

Definition at line 70 of file motor_hardware.h.

◆ right_max_speed_limit

bool MotorDiagnostics::right_max_speed_limit = false

Definition at line 72 of file motor_hardware.h.

◆ right_pwm_limit

bool MotorDiagnostics::right_pwm_limit = false

Definition at line 68 of file motor_hardware.h.


The documentation for this struct was generated from the following files:


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