#include <openrover.hpp>
Public Member Functions | |
bool | openComs () |
OpenRover (ros::NodeHandle &nh, ros::NodeHandle &nh_priv) | |
void | robotDataFastCB (const ros::WallTimerEvent &e) |
void | robotDataMediumCB (const ros::WallTimerEvent &e) |
void | robotDataSlowCB (const ros::WallTimerEvent &e) |
void | serialManager () |
bool | setupRobotParams () |
bool | start () |
void | timeoutCB (const ros::WallTimerEvent &e) |
void | updateMeasuredVelocities () |
Public Attributes | |
bool | closed_loop_control_on_ |
bool | e_stop_on_ |
OdomControl | left_controller_ |
PidGains | pidGains_ |
bool | publish_fast_rate_values_ |
bool | publish_med_rate_values_ |
bool | publish_slow_rate_values_ |
OdomControl | right_controller_ |
Private Member Functions | |
void | cmdVelCB (const geometry_msgs::TwistStamped::ConstPtr &msg) |
void | fanSpeedCB (const std_msgs::Int32::ConstPtr &msg) |
int | getParameterData (int parameter) |
void | publishFastRateData () |
void | publishMedRateData () |
void | publishMotorSpeeds () |
void | publishOdometry (float left_vel, float right_vel) |
void | publishSlowRateData () |
void | publishWheelVels () |
int | readCommand () |
bool | sendCommand (int param1, int param2) |
bool | setParameterData (int param1, int param2) |
void | updateRobotData (int parameter) |
Definition at line 23 of file openrover.hpp.
openrover::OpenRover::OpenRover | ( | ros::NodeHandle & | nh, |
ros::NodeHandle & | nh_priv | ||
) |
Definition at line 30 of file openrover_basic.cpp.
|
private |
Definition at line 302 of file openrover_basic.cpp.
|
private |
Definition at line 292 of file openrover_basic.cpp.
|
private |
Definition at line 835 of file openrover_basic.cpp.
bool openrover::OpenRover::openComs | ( | ) |
Definition at line 861 of file openrover_basic.cpp.
|
private |
Definition at line 437 of file openrover_basic.cpp.
|
private |
Definition at line 452 of file openrover_basic.cpp.
|
private |
Definition at line 539 of file openrover_basic.cpp.
|
private |
Definition at line 346 of file openrover_basic.cpp.
|
private |
Definition at line 508 of file openrover_basic.cpp.
|
private |
Definition at line 415 of file openrover_basic.cpp.
|
private |
Definition at line 767 of file openrover_basic.cpp.
void openrover::OpenRover::robotDataFastCB | ( | const ros::WallTimerEvent & | e | ) |
Definition at line 265 of file openrover_basic.cpp.
void openrover::OpenRover::robotDataMediumCB | ( | const ros::WallTimerEvent & | e | ) |
Definition at line 252 of file openrover_basic.cpp.
void openrover::OpenRover::robotDataSlowCB | ( | const ros::WallTimerEvent & | e | ) |
Definition at line 239 of file openrover_basic.cpp.
|
private |
Definition at line 733 of file openrover_basic.cpp.
void openrover::OpenRover::serialManager | ( | ) |
Definition at line 551 of file openrover_basic.cpp.
|
private |
Definition at line 817 of file openrover_basic.cpp.
bool openrover::OpenRover::setupRobotParams | ( | ) |
Definition at line 105 of file openrover_basic.cpp.
bool openrover::OpenRover::start | ( | ) |
Definition at line 64 of file openrover_basic.cpp.
void openrover::OpenRover::timeoutCB | ( | const ros::WallTimerEvent & | e | ) |
Definition at line 284 of file openrover_basic.cpp.
void openrover::OpenRover::updateMeasuredVelocities | ( | ) |
Definition at line 668 of file openrover_basic.cpp.
|
private |
Definition at line 712 of file openrover_basic.cpp.
|
private |
Definition at line 73 of file openrover.hpp.
|
private |
Definition at line 81 of file openrover.hpp.
|
private |
Definition at line 81 of file openrover.hpp.
bool openrover::OpenRover::closed_loop_control_on_ |
Definition at line 48 of file openrover.hpp.
|
private |
Definition at line 123 of file openrover.hpp.
|
private |
Definition at line 83 of file openrover.hpp.
|
private |
Definition at line 57 of file openrover.hpp.
bool openrover::OpenRover::e_stop_on_ |
Definition at line 49 of file openrover.hpp.
|
private |
Definition at line 84 of file openrover.hpp.
|
private |
Definition at line 96 of file openrover.hpp.
|
private |
Definition at line 78 of file openrover.hpp.
|
private |
Definition at line 66 of file openrover.hpp.
|
private |
Definition at line 94 of file openrover.hpp.
|
private |
Definition at line 53 of file openrover.hpp.
|
private |
Definition at line 90 of file openrover.hpp.
|
private |
Definition at line 74 of file openrover.hpp.
|
private |
Definition at line 95 of file openrover.hpp.
OdomControl openrover::OpenRover::left_controller_ |
Definition at line 28 of file openrover.hpp.
|
private |
Definition at line 92 of file openrover.hpp.
|
private |
Definition at line 109 of file openrover.hpp.
|
private |
Definition at line 113 of file openrover.hpp.
|
private |
Definition at line 111 of file openrover.hpp.
|
private |
Definition at line 97 of file openrover.hpp.
|
private |
Definition at line 79 of file openrover.hpp.
|
private |
Definition at line 67 of file openrover.hpp.
|
private |
Definition at line 117 of file openrover.hpp.
|
private |
Definition at line 119 of file openrover.hpp.
|
private |
Definition at line 118 of file openrover.hpp.
|
private |
Definition at line 116 of file openrover.hpp.
|
private |
Definition at line 91 of file openrover.hpp.
|
private |
Definition at line 75 of file openrover.hpp.
|
private |
Definition at line 62 of file openrover.hpp.
|
private |
Definition at line 63 of file openrover.hpp.
|
private |
Definition at line 103 of file openrover.hpp.
|
private |
Definition at line 102 of file openrover.hpp.
|
private |
Definition at line 105 of file openrover.hpp.
|
private |
Definition at line 106 of file openrover.hpp.
|
private |
Definition at line 72 of file openrover.hpp.
|
private |
Definition at line 101 of file openrover.hpp.
|
private |
Definition at line 104 of file openrover.hpp.
PidGains openrover::OpenRover::pidGains_ |
Definition at line 31 of file openrover.hpp.
|
private |
Definition at line 56 of file openrover.hpp.
bool openrover::OpenRover::publish_fast_rate_values_ |
Definition at line 45 of file openrover.hpp.
bool openrover::OpenRover::publish_med_rate_values_ |
Definition at line 46 of file openrover.hpp.
bool openrover::OpenRover::publish_slow_rate_values_ |
Definition at line 47 of file openrover.hpp.
OdomControl openrover::OpenRover::right_controller_ |
Definition at line 29 of file openrover.hpp.
|
private |
Definition at line 93 of file openrover.hpp.
|
private |
Definition at line 110 of file openrover.hpp.
|
private |
Definition at line 114 of file openrover.hpp.
|
private |
Definition at line 112 of file openrover.hpp.
|
private |
Definition at line 89 of file openrover.hpp.
|
private |
Definition at line 87 of file openrover.hpp.
|
private |
Definition at line 128 of file openrover.hpp.
|
private |
Definition at line 125 of file openrover.hpp.
|
private |
Definition at line 126 of file openrover.hpp.
|
private |
Definition at line 88 of file openrover.hpp.
|
private |
Definition at line 127 of file openrover.hpp.
|
private |
Definition at line 98 of file openrover.hpp.
|
private |
Definition at line 80 of file openrover.hpp.
|
private |
Definition at line 68 of file openrover.hpp.
|
private |
Definition at line 59 of file openrover.hpp.
|
private |
Definition at line 69 of file openrover.hpp.
|
private |
Definition at line 121 of file openrover.hpp.
|
private |
Definition at line 76 of file openrover.hpp.