Calculates the COP of both feet. More...
#include <ros/ros.h>
#include <stdlib.h>
#include <string>
#include <iostream>
#include <cmath>
#include <stdexcept>
#include "duration.h"
#include <boost/math/special_functions/round.hpp>
#include "rostime_decl.h"
#include <sys/time.h>
#include "ros/time.h"
#include <cstdio>
#include <sstream>
#include <cstdarg>
#include <log4cxx/logger.h>
#include "ros/console.h"
#include <boost/static_assert.hpp>
#include <ros/platform.h>
#include <stdint.h>
#include <assert.h>
#include <stddef.h>
#include "ros/assert.h"
#include <vector>
#include <map>
#include <set>
#include <list>
#include <boost/shared_ptr.hpp>
#include <boost/weak_ptr.hpp>
#include <boost/function.hpp>
#include <ros/macros.h>
#include "yaml-cpp/mark.h"
#include "yaml-cpp/traits.h"
#include "roscpp_serialization_macros.h"
#include <boost/shared_array.hpp>
#include "ros/forwards.h"
#include "ros/common.h"
#include <string.h>
#include <boost/array.hpp>
#include <ros/types.h>
#include "serialized_message.h"
#include "message_forward.h"
#include <boost/utility/enable_if.hpp>
#include <boost/type_traits/remove_const.hpp>
#include <boost/type_traits/remove_reference.hpp>
#include "message_traits.h"
#include "ros/exception.h"
#include <boost/call_traits.hpp>
#include <boost/mpl/and.hpp>
#include <boost/mpl/or.hpp>
#include <boost/mpl/not.hpp>
#include <cstring>
#include <boost/bind.hpp>
#include "common.h"
#include <typeinfo>
#include <ros/message_traits.h>
#include <boost/type_traits/is_void.hpp>
#include <boost/type_traits/is_base_of.hpp>
#include <boost/type_traits/is_const.hpp>
#include <boost/type_traits/add_const.hpp>
#include <boost/make_shared.hpp>
#include <ros/static_assert.h>
#include "ros/builtin_message_traits.h"
#include "ros/serialization.h"
#include "ros/message_event.h"
#include "forwards.h"
#include "timer_options.h"
#include "ros/rate.h"
#include "wall_timer_options.h"
#include "ros/message.h"
#include "ros/service_traits.h"
#include <boost/lexical_cast.hpp>
#include "subscription_callback_helper.h"
#include "ros/spinner.h"
#include <time.h>
#include "ros/publisher.h"
#include <boost/utility.hpp>
#include "ros/service_server.h"
#include "ros/subscriber.h"
#include "ros/node_handle.h"
#include "ros/init.h"
#include "XmlRpcValue.h"
#include "node_handle.h"
#include "ros/names.h"
#include <ostream>
#include "ros/message_operations.h"
#include "std_msgs/Header.h"
#include "geometry_msgs/Point.h"
#include "std_msgs/ColorRGBA.h"
#include "geometry_msgs/Vector3.h"
#include "geometry_msgs/Quaternion.h"
#include <iomanip>
#include <boost/thread/mutex.hpp>
#include "geometry_msgs/PointStamped.h"
#include "geometry_msgs/TransformStamped.h"
#include "geometry_msgs/Pose.h"
#include "btMatrix3x3.h"
#include "tf/exceptions.h"
#include "LinearMath/btTransform.h"
#include <boost/unordered_map.hpp>
#include <boost/signals.hpp>
#include "ros/ros.h"
#include <boost/thread/shared_mutex.hpp>
#include <boost/thread/condition_variable.hpp>
#include <boost/thread/tss.hpp>
#include <deque>
#include "boost/thread.hpp"
#include <sys/types.h>
#include <unistd.h>
#include <stdio.h>
#include <pressure_cells/SenVal.h>
#include <pressure_cells/Cop.h>
#include <pressure_cells/arduino.h>
Go to the source code of this file.
Functions | |
int | main (int argc, char **argv) |
vector < geometry_msgs::PointStamped > | p_origins_l (4) |
vector < geometry_msgs::PointStamped > | p_origins_r (4) |
void | SenVal1CallBk (const pressure_cells::SenVal &senval) |
void | SenVal2CallBk (const pressure_cells::SenVal &senval) |
Variables | |
pressure_cells::Cop | COP |
pressure_cells::Cop | COP1 |
pressure_cells::Cop | COP2 |
bool | g_lev = 0 |
double | g_sen1 [4] |
double | g_sen2 [4] |
bool | g_viz = 0 |
bool | ok1 |
bool | ok2 |
ros::Publisher | pub_cop |
ros::Publisher | pub_cop1 |
ros::Publisher | pub_cop2 |
ros::Publisher | pub_viz |
string | tf_feet_l |
string | tf_feet_r |
Calculates the COP of both feet.
Definition in file force_cop.cpp.
int main | ( | int | argc, | |
char ** | argv | |||
) |
Main
Definition at line 191 of file force_cop.cpp.
vector< geometry_msgs::PointStamped > p_origins_l | ( | 4 | ) |
vector< geometry_msgs::PointStamped > p_origins_r | ( | 4 | ) |
void SenVal1CallBk | ( | const pressure_cells::SenVal & | senval | ) |
Callback function fot subscriber of the 1st group of Load Cells
a | vector w/ the values of the Load Cells |
Definition at line 70 of file force_cop.cpp.
void SenVal2CallBk | ( | const pressure_cells::SenVal & | senval | ) |
Callback function fot subscriber of the 2nd group of Load Cells
a | vector w/ the values of the Load Cells |
Definition at line 132 of file force_cop.cpp.
pressure_cells::Cop COP |
Definition at line 55 of file force_cop.cpp.
pressure_cells::Cop COP1 |
Definition at line 55 of file force_cop.cpp.
pressure_cells::Cop COP2 |
Definition at line 55 of file force_cop.cpp.
bool g_lev = 0 |
Definition at line 59 of file force_cop.cpp.
double g_sen1[4] |
Definition at line 56 of file force_cop.cpp.
double g_sen2[4] |
Definition at line 56 of file force_cop.cpp.
bool g_viz = 0 |
Definition at line 59 of file force_cop.cpp.
bool ok1 |
Definition at line 53 of file force_cop.cpp.
bool ok2 |
Definition at line 53 of file force_cop.cpp.
ros::Publisher pub_cop |
Definition at line 58 of file force_cop.cpp.
ros::Publisher pub_cop1 |
Definition at line 54 of file force_cop.cpp.
ros::Publisher pub_cop2 |
Definition at line 54 of file force_cop.cpp.
ros::Publisher pub_viz |
Definition at line 57 of file force_cop.cpp.
string tf_feet_l |
Definition at line 60 of file force_cop.cpp.
string tf_feet_r |
Definition at line 61 of file force_cop.cpp.