$search

netft_example_controllers::NetFTExampleController Class Reference

#include <netft_example_controller.h>

Inheritance diagram for netft_example_controllers::NetFTExampleController:
Inheritance graph
[legend]

List of all members.

Public Member Functions

bool init (pr2_mechanism_model::RobotState *robot, ros::NodeHandle &nh)
 NetFTExampleController ()
void starting ()
void update ()
 ~NetFTExampleController ()

Private Attributes

pr2_hardware_interface::AnalogInanalog_in_
 Point to AnalogIn struct that provide force-torque data.
double max_force_
 Keep track of max force magnitude seen by sensor.
double max_torque_
 Keep track of max torque magnitude seen by sensor.
realtime_tools::RealtimePublisher
< netft_example_controllers::ForceTorqueStats
pub_
 realtime publisher for max_force value
int pub_cycle_count_
 publish max_force values every X realtime cycles
bool should_publish_

Detailed Description

Definition at line 43 of file netft_example_controller.h.


Constructor & Destructor Documentation

netft_example_controllers::NetFTExampleController::NetFTExampleController (  ) 

Definition at line 48 of file netft_example_controller.cpp.

netft_example_controllers::NetFTExampleController::~NetFTExampleController (  ) 

Definition at line 59 of file netft_example_controller.cpp.


Member Function Documentation

bool netft_example_controllers::NetFTExampleController::init ( pr2_mechanism_model::RobotState robot,
ros::NodeHandle nh 
) [virtual]

Implements pr2_controller_interface::Controller.

Definition at line 65 of file netft_example_controller.cpp.

void netft_example_controllers::NetFTExampleController::starting (  )  [virtual]

Reimplemented from pr2_controller_interface::Controller.

Definition at line 99 of file netft_example_controller.cpp.

void netft_example_controllers::NetFTExampleController::update ( void   )  [virtual]

Member Data Documentation

Point to AnalogIn struct that provide force-torque data.

Definition at line 59 of file netft_example_controller.h.

Keep track of max force magnitude seen by sensor.

Definition at line 54 of file netft_example_controller.h.

Keep track of max torque magnitude seen by sensor.

Definition at line 56 of file netft_example_controller.h.

realtime publisher for max_force value

Definition at line 62 of file netft_example_controller.h.

publish max_force values every X realtime cycles

Definition at line 65 of file netft_example_controller.h.

Definition at line 66 of file netft_example_controller.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends


netft_example_controllers
Author(s): DerekKing
autogenerated on Fri Mar 1 16:12:15 2013