Imposes a force controlled by the user. More...
#include <ros/ros.h>
#include <std_msgs/String.h>
#include <visualization_msgs/Marker.h>
#include <geometry_msgs/Point.h>
#include <vector>
#include <algorithm>
#include <math.h>
#include <sstream>
#include <iostream>
#include <cmath>
#include <sys/types.h>
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
#include <phantom_control/State.h>
#include <phantom_control/Force.h>
Go to the source code of this file.
Functions | |
int | main (int argc, char **argv) |
void | PhantomCallBk (const phantom_control::State &phantom_state) |
void | Torque (Point temp, double fx, double fy, double fz, Point temp2) |
Variables | |
phantom_control::Force | force |
double | forcex |
double | forcey |
double | forcez |
ros::Publisher | pub_force |
double | tq1 |
double | tq2 |
double | tq3 |
Imposes a force controlled by the user.
Definition in file force_gen.cpp.
int main | ( | int | argc, | |
char ** | argv | |||
) |
Definition at line 142 of file force_gen.cpp.
void PhantomCallBk | ( | const phantom_control::State & | phantom_state | ) |
Definition at line 60 of file force_gen.cpp.
void Torque | ( | Point | temp, | |
double | fx, | |||
double | fy, | |||
double | fz, | |||
Point | temp2 | |||
) |
Definition at line 83 of file force_gen.cpp.
phantom_control::Force force |
Definition at line 53 of file force_gen.cpp.
double forcex |
Definition at line 55 of file force_gen.cpp.
double forcey |
Definition at line 55 of file force_gen.cpp.
double forcez |
Definition at line 55 of file force_gen.cpp.
ros::Publisher pub_force |
Definition at line 59 of file force_gen.cpp.
double tq1 |
Definition at line 54 of file force_gen.cpp.
double tq2 |
Definition at line 54 of file force_gen.cpp.
double tq3 |
Definition at line 54 of file force_gen.cpp.