#include "ros/ros.h"
#include <iostream>
#include "komodo_batteries_monitor/batteries_monitor.h"
#include "std_msgs/Float32.h"
#include "dynamixel_msgs/MotorStateList.h"
#include "dynamixel_msgs/MotorState.h"
Go to the source code of this file.
Functions | |
void | arm_bat_Callback (const dynamixel_msgs::MotorStateList::ConstPtr &bat) |
void | arm_timerCallback (const ros::TimerEvent &) |
int | main (int argc, char **argv) |
void | pc_bat_Callback (const std_msgs::Float32::ConstPtr &bat) |
void | pc_timerCallback (const ros::TimerEvent &) |
void | rover_bat_Callback (const std_msgs::Float32::ConstPtr &bat) |
void | rover_timerCallback (const ros::TimerEvent &) |
Variables | |
double | arm_bat_max_voltage |
double | arm_bat_min_voltage |
bool | arm_first = true |
ros::Timer | arm_timer |
bool | arm_timer_running = true |
komodo_batteries_monitor::batteries_monitor | bat_array |
ros::Publisher | batteries_pub |
int | countdown = 29 |
double | pc_bat_max_voltage |
double | pc_bat_min_voltage |
double | pc_bat_voltage_divider |
bool | pc_first = true |
ros::Timer | pc_timer |
bool | pc_timer_running = true |
double | rover_bat_max_voltage |
double | rover_bat_min_voltage |
bool | rover_first = true |
ros::Timer | rover_timer |
bool | rover_timer_running = true |
bool | turn_off_enable = true |
void arm_bat_Callback | ( | const dynamixel_msgs::MotorStateList::ConstPtr & | bat | ) |
Definition at line 154 of file batteries_monitor.cpp.
void arm_timerCallback | ( | const ros::TimerEvent & | ) |
Definition at line 36 of file batteries_monitor.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 189 of file batteries_monitor.cpp.
void pc_bat_Callback | ( | const std_msgs::Float32::ConstPtr & | bat | ) |
Definition at line 83 of file batteries_monitor.cpp.
void pc_timerCallback | ( | const ros::TimerEvent & | ) |
Definition at line 44 of file batteries_monitor.cpp.
void rover_bat_Callback | ( | const std_msgs::Float32::ConstPtr & | bat | ) |
Definition at line 122 of file batteries_monitor.cpp.
void rover_timerCallback | ( | const ros::TimerEvent & | ) |
Definition at line 28 of file batteries_monitor.cpp.
double arm_bat_max_voltage |
Definition at line 22 of file batteries_monitor.cpp.
double arm_bat_min_voltage |
Definition at line 22 of file batteries_monitor.cpp.
bool arm_first = true |
Definition at line 18 of file batteries_monitor.cpp.
Definition at line 13 of file batteries_monitor.cpp.
bool arm_timer_running = true |
Definition at line 14 of file batteries_monitor.cpp.
Definition at line 20 of file batteries_monitor.cpp.
Definition at line 8 of file batteries_monitor.cpp.
int countdown = 29 |
Definition at line 26 of file batteries_monitor.cpp.
double pc_bat_max_voltage |
Definition at line 22 of file batteries_monitor.cpp.
double pc_bat_min_voltage |
Definition at line 22 of file batteries_monitor.cpp.
double pc_bat_voltage_divider |
Definition at line 22 of file batteries_monitor.cpp.
bool pc_first = true |
Definition at line 18 of file batteries_monitor.cpp.
Definition at line 16 of file batteries_monitor.cpp.
bool pc_timer_running = true |
Definition at line 17 of file batteries_monitor.cpp.
double rover_bat_max_voltage |
Definition at line 22 of file batteries_monitor.cpp.
double rover_bat_min_voltage |
Definition at line 22 of file batteries_monitor.cpp.
bool rover_first = true |
Definition at line 18 of file batteries_monitor.cpp.
Definition at line 10 of file batteries_monitor.cpp.
bool rover_timer_running = true |
Definition at line 11 of file batteries_monitor.cpp.
bool turn_off_enable = true |
Definition at line 25 of file batteries_monitor.cpp.