Public Member Functions | Private Attributes
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

Definition at line 48 of file netft_example_controller.cpp.

Definition at line 59 of file netft_example_controller.cpp.


Member Function Documentation

Implements pr2_controller_interface::Controller.

Definition at line 65 of file netft_example_controller.cpp.

Reimplemented from pr2_controller_interface::Controller.

Definition at line 99 of file netft_example_controller.cpp.


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:


netft_example_controllers
Author(s): DerekKing
autogenerated on Tue Apr 22 2014 19:18:00