Functions | Variables
sr_tactile_rviz_marker.cpp File Reference

see README More...

#include <ros/ros.h>
#include <string>
#include <boost/thread/mutex.hpp>
#include <std_msgs/Float64.h>
#include <visualization_msgs/Marker.h>
Include dependency graph for sr_tactile_rviz_marker.cpp:

Go to the source code of this file.

Functions

void callback_ff (const std_msgs::Float64ConstPtr &msg)
 
void callback_lf (const std_msgs::Float64ConstPtr &msg)
 
void callback_mf (const std_msgs::Float64ConstPtr &msg)
 
void callback_rf (const std_msgs::Float64ConstPtr &msg)
 
void callback_th (const std_msgs::Float64ConstPtr &msg)
 
int main (int argc, char **argv)
 
void publish_marker (unsigned int id, std::string framesuffix, float force)
 

Variables

std_msgs::Float64::_data_type data [5]
 
ros::Publisher marker_pub
 
float reduction_factor = 10
 
uint32_t shape = visualization_msgs::Marker::ARROW
 
ros::Subscriber sub [5]
 
boost::mutex update_mutex
 

Detailed Description

see README

Author
Ugo Cupcic ugo@s.nosp@m.hado.nosp@m.wrobo.nosp@m.t.co.nosp@m.m, softw.nosp@m.are@.nosp@m.shado.nosp@m.wrob.nosp@m.ot.co.nosp@m.m

Definition in file sr_tactile_rviz_marker.cpp.

Function Documentation

◆ callback_ff()

void callback_ff ( const std_msgs::Float64ConstPtr &  msg)

Definition at line 98 of file sr_tactile_rviz_marker.cpp.

◆ callback_lf()

void callback_lf ( const std_msgs::Float64ConstPtr &  msg)

Definition at line 122 of file sr_tactile_rviz_marker.cpp.

◆ callback_mf()

void callback_mf ( const std_msgs::Float64ConstPtr &  msg)

Definition at line 106 of file sr_tactile_rviz_marker.cpp.

◆ callback_rf()

void callback_rf ( const std_msgs::Float64ConstPtr &  msg)

Definition at line 114 of file sr_tactile_rviz_marker.cpp.

◆ callback_th()

void callback_th ( const std_msgs::Float64ConstPtr &  msg)

Definition at line 130 of file sr_tactile_rviz_marker.cpp.

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 138 of file sr_tactile_rviz_marker.cpp.

◆ publish_marker()

void publish_marker ( unsigned int  id,
std::string  framesuffix,
float  force 
)

Definition at line 44 of file sr_tactile_rviz_marker.cpp.

Variable Documentation

◆ data

std_msgs::Float64::_data_type data[5]

Definition at line 37 of file sr_tactile_rviz_marker.cpp.

◆ marker_pub

ros::Publisher marker_pub

Definition at line 36 of file sr_tactile_rviz_marker.cpp.

◆ reduction_factor

float reduction_factor = 10

Definition at line 39 of file sr_tactile_rviz_marker.cpp.

◆ shape

uint32_t shape = visualization_msgs::Marker::ARROW

Definition at line 41 of file sr_tactile_rviz_marker.cpp.

◆ sub

Definition at line 35 of file sr_tactile_rviz_marker.cpp.

◆ update_mutex

boost::mutex update_mutex

Definition at line 38 of file sr_tactile_rviz_marker.cpp.



sr_tactile_sensors
Author(s): Ugo Cupcic
autogenerated on Mon Feb 28 2022 23:52:14