#include <assert.h>
#include <unistd.h>
#include <stdio.h>
#include <math.h>
#include "ros/ros.h"
#include <art/pid2.h>
#include <float.h>
#include <string>
#include <vector>
#include <ostream>
#include "ros/serialization.h"
#include "ros/builtin_message_traits.h"
#include "ros/message.h"
#include "ros/time.h"
#include "ros/message_operations.h"
#include "std_msgs/Header.h"
#include <stdint.h>
#include "../servo.h"
#include "model_brake.h"
Go to the source code of this file.
Defines | |
#define | NODE "brake" |
ART brake servo driver. | |
Functions | |
int | GetParameters (void) |
int | main (int argc, char **argv) |
float | PollDevice (void) |
void | ProcessCommand (const art_msgs::BrakeCommand::ConstPtr &cmd) |
int | Setup () |
int | Shutdown () |
Variables | |
ros::Subscriber | brake_cmd |
ros::Publisher | brake_state |
ROS driver for the ART brake servo controller.
Definition in file brake.cc.
#define NODE "brake" |
ART brake servo driver.
This driver provides a brake node interface to the brake servo for the ART robot vehicle.
Publishes
Commands
Sets the desired brake position. Position 1.0 is fully on, 0.0 is fully off. There are both absolute and relative versions of this command.
Parameters
Training mode collects data while a human driver operates the vehicle.
describe initial calibration values
use ROS diagnostic_updater package
void ProcessCommand | ( | const art_msgs::BrakeCommand::ConstPtr & | cmd | ) |
ros::Publisher brake_state |