Functions | Variables
test_encoders.cpp File Reference
#include <unity.h>
#include <ros.h>
#include "diffbot_base_config.h"
#include "encoder_diffbot.h"
Include dependency graph for test_encoders.cpp:

Go to the source code of this file.

Functions

void loop ()
 
void setup ()
 

Variables

diffbot::Encoder encoderLeft (nh, ENCODER_LEFT_H1, ENCODER_LEFT_H2, ENCODER_RESOLUTION)
 
diffbot::Encoder encoderRight (nh, ENCODER_RIGHT_H1, ENCODER_RIGHT_H2, ENCODER_RESOLUTION)
 
ros::NodeHandle nh
 
long positionLeft = -999
 
long positionRight = -999
 
int test_max_time = 8000
 
int test_start_time = millis()
 

Function Documentation

◆ loop()

void loop ( )

Definition at line 41 of file test_encoders.cpp.

◆ setup()

void setup ( )

Definition at line 29 of file test_encoders.cpp.

Variable Documentation

◆ encoderLeft

◆ encoderRight

◆ nh

Definition at line 18 of file test_encoders.cpp.

◆ positionLeft

long positionLeft = -999

Definition at line 35 of file test_encoders.cpp.

◆ positionRight

long positionRight = -999

Definition at line 36 of file test_encoders.cpp.

◆ test_max_time

int test_max_time = 8000

Definition at line 39 of file test_encoders.cpp.

◆ test_start_time

int test_start_time = millis()

Definition at line 38 of file test_encoders.cpp.



diffbot_base
Author(s):
autogenerated on Thu Sep 7 2023 02:35:23