Classes | Functions | Variables
led_control_server.cpp File Reference
#include <unistd.h>
#include <signal.h>
#include <actionlib/server/simple_action_server.h>
#include "ledcom.h"
#include "bwi_msgs/LEDClear.h"
#include "bwi_msgs/LEDSetStatus.h"
#include "bwi_msgs/LEDTestStrip.h"
#include "bwi_msgs/LEDControlAction.h"
#include "bwi_msgs/LEDActionResult.h"
#include "bwi_msgs/LEDAnimations.h"
#include "bwi_msgs/LEDStatus.h"
#include "bwi_msgs/LEDTestType.h"
Include dependency graph for led_control_server.cpp:

Go to the source code of this file.

Classes

class  LEDControlAction

Functions

void check_camera_status ()
void check_run_status ()
bool clear_strip (bwi_msgs::LEDClear::Request &req, bwi_msgs::LEDClear::Response &res)
void connect (string port, int baud)
void ledSigintHandler (int sig)
int main (int argc, char **argv)
bool set_status (bwi_msgs::LEDSetStatus::Request &req, bwi_msgs::LEDSetStatus::Response &res)
bool test_strip (bwi_msgs::LEDTestStrip::Request &req, bwi_msgs::LEDTestStrip::Response &res)

Variables

int back_center_end
int back_center_left_end
int back_center_left_start
int back_center_right_end
int back_center_right_start
int back_center_start
int back_left_beam_end
int back_left_beam_start
int back_right_beam_end
int back_right_beam_start
int camera_indicator_end
int camera_indicator_start
bool camera_on = false
int circular_u_end
int circular_u_start
bool connected = false
int front_center_left_end
int front_center_left_start
int front_center_right_end
int front_center_right_start
int front_left_beam_end
int front_left_beam_start
int front_right_beam_end
int front_right_beam_start
int led_count
LedCOM leds
bool run_on = false
string serial_port
int top_of_u_end
int top_of_u_start

Function Documentation

Definition at line 110 of file led_control_server.cpp.

void check_run_status ( )

Definition at line 89 of file led_control_server.cpp.

bool clear_strip ( bwi_msgs::LEDClear::Request &  req,
bwi_msgs::LEDClear::Response &  res 
)

Definition at line 1366 of file led_control_server.cpp.

void connect ( string  port,
int  baud 
)

Definition at line 131 of file led_control_server.cpp.

void ledSigintHandler ( int  sig)

Definition at line 168 of file led_control_server.cpp.

int main ( int  argc,
char **  argv 
)

Definition at line 1548 of file led_control_server.cpp.

bool set_status ( bwi_msgs::LEDSetStatus::Request &  req,
bwi_msgs::LEDSetStatus::Response &  res 
)

Definition at line 1485 of file led_control_server.cpp.

bool test_strip ( bwi_msgs::LEDTestStrip::Request &  req,
bwi_msgs::LEDTestStrip::Response &  res 
)

Definition at line 1389 of file led_control_server.cpp.


Variable Documentation

Definition at line 76 of file led_control_server.cpp.

Definition at line 55 of file led_control_server.cpp.

Definition at line 54 of file led_control_server.cpp.

Definition at line 58 of file led_control_server.cpp.

Definition at line 57 of file led_control_server.cpp.

Definition at line 75 of file led_control_server.cpp.

Definition at line 67 of file led_control_server.cpp.

Definition at line 66 of file led_control_server.cpp.

Definition at line 70 of file led_control_server.cpp.

Definition at line 69 of file led_control_server.cpp.

Definition at line 73 of file led_control_server.cpp.

Definition at line 72 of file led_control_server.cpp.

bool camera_on = false

Definition at line 44 of file led_control_server.cpp.

Definition at line 79 of file led_control_server.cpp.

Definition at line 78 of file led_control_server.cpp.

bool connected = false

Definition at line 45 of file led_control_server.cpp.

Definition at line 49 of file led_control_server.cpp.

Definition at line 48 of file led_control_server.cpp.

Definition at line 52 of file led_control_server.cpp.

Definition at line 51 of file led_control_server.cpp.

Definition at line 61 of file led_control_server.cpp.

Definition at line 60 of file led_control_server.cpp.

Definition at line 64 of file led_control_server.cpp.

Definition at line 63 of file led_control_server.cpp.

int led_count

Definition at line 41 of file led_control_server.cpp.

Definition at line 40 of file led_control_server.cpp.

bool run_on = false

Definition at line 43 of file led_control_server.cpp.

string serial_port

Definition at line 42 of file led_control_server.cpp.

Definition at line 82 of file led_control_server.cpp.

Definition at line 81 of file led_control_server.cpp.



segbot_led
Author(s): Pato Lankenau , Rolando Fernandez
autogenerated on Thu Jun 6 2019 21:37:07