#include <ros/ros.h>
Go to the source code of this file.
Classes | |
struct | CommsParams |
struct | FirmwareParams |
struct | NodeParams |
Macros | |
#define | MOTOR_CONTROL_CMD "motor_control" |
#define | MOTOR_CONTROL_DISABLE "disable" |
#define | MOTOR_CONTROL_ENABLE "enable" |
#define | MOTOR_SPEED_CONTROL_CMD "speed_control" |
#define | ROS_TOPIC_SYSTEM_CONTROL "system_control" |
#define | WHEEL_GEAR_RATIO_1 ((double)(4.294)) |
#define | WHEEL_GEAR_RATIO_2 ((double)(5.170)) |
Functions | |
template<typename T > | |
T | getParamOrDefault (ros::NodeHandle nh, std::string parameter_name, T default_val) |
#define MOTOR_CONTROL_CMD "motor_control" |
Definition at line 38 of file motor_parameters.h.
#define MOTOR_CONTROL_DISABLE "disable" |
Definition at line 40 of file motor_parameters.h.
#define MOTOR_CONTROL_ENABLE "enable" |
Definition at line 39 of file motor_parameters.h.
#define MOTOR_SPEED_CONTROL_CMD "speed_control" |
Definition at line 41 of file motor_parameters.h.
#define ROS_TOPIC_SYSTEM_CONTROL "system_control" |
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 37 of file motor_parameters.h.
#define WHEEL_GEAR_RATIO_1 ((double)(4.294)) |
Definition at line 44 of file motor_parameters.h.
#define WHEEL_GEAR_RATIO_2 ((double)(5.170)) |
Definition at line 45 of file motor_parameters.h.
T getParamOrDefault | ( | ros::NodeHandle | nh, |
std::string | parameter_name, | ||
T | default_val | ||
) |
Definition at line 48 of file motor_parameters.h.