17 int main(
int argc,
char *argv[])
19 ros::init(argc, argv,
"pacmod_gamepad_control");
31 priv.
getParam(
"pacmod_board_rev", board_rev);
34 std::unique_ptr<PublishControl> board;
40 catch (
const std::invalid_argument& ia)
42 ROS_ERROR(
"Invalid PACMod Board Version received. Board requested was %d", board_rev);
ROSCPP_DECL void init(int &argc, char **argv, const std::string &name, uint32_t options=0)
bool run_startup_checks_error(ros::NodeHandle *nodeH)
int main(int argc, char *argv[])
static std::unique_ptr< PublishControl > create(int board_rev)
bool getParam(const std::string &key, std::string &s) const
ROSCPP_DECL void waitForShutdown()