#include <iostream>#include <cstdio>#include <cstdlib>#include <string>#include <cassert>#include <cmath>#include <HD/hd.h>#include <HDU/hduVector.h>#include <HDU/hduMatrix.h>#include <HDU/hduError.h>#include <ros/ros.h>#include <std_msgs/Float64.h>#include <sensor_msgs/JointState.h>#include <vrep_common/JointSetStateData.h>#include <vrep_common/ForceSensorData.h>#include <vrep_common/ObjectGroupData.h>#include <vrep_common/simRosGetObjectHandle.h>#include <phantom_dual/conio.h>
Go to the source code of this file.
Classes | |
| struct | omni_state |
Functions | |
| void | jointsCallback (const sensor_msgs::JointState &msg) |
| int | main (int argc, char **argv) |
| void | objectHandles () |
| void | sensorsCallback (const vrep_common::ObjectGroupData &msg) |
| HDCallbackCode HDCALLBACK | ServoSchedulerCallback (void *pUserData) |
| void | setJointValue () |
Variables | |
| HDdouble | base_torque [3] |
| ros::Publisher | command_joints_position_pub |
| HDSchedulerHandle | gCallbackHandle = HD_INVALID_HANDLE |
| vrep_common::JointSetStateData | joint_target |
| int | left_sensor1Handle |
| int | left_sensor2Handle |
| int | left_sensor3Handle |
| int | left_sensor4Handle |
| vrep_common::simRosGetObjectHandle | object_handles |
| ros::ServiceClient | object_handles_srv |
| omni_state | omni |
| int | right_joint1Handle |
| int | right_joint2Handle |
| int | right_joint3Handle |
| int | right_joint4Handle |
| int | right_joint5Handle |
| int | right_joint6Handle |
| int | right_sensor1Handle |
| void jointsCallback | ( | const sensor_msgs::JointState & | msg | ) |
Definition at line 189 of file phantom_B.cpp.
| int main | ( | int | argc, | |
| char ** | argv | |||
| ) |
Definition at line 226 of file phantom_B.cpp.
| void objectHandles | ( | ) |
Definition at line 81 of file phantom_B.cpp.
| void sensorsCallback | ( | const vrep_common::ObjectGroupData & | msg | ) |
Definition at line 213 of file phantom_B.cpp.
| HDCallbackCode HDCALLBACK ServoSchedulerCallback | ( | void * | pUserData | ) |
Definition at line 57 of file phantom_B.cpp.
| void setJointValue | ( | ) |
Definition at line 159 of file phantom_B.cpp.
| HDdouble base_torque[3] |
Definition at line 54 of file phantom_B.cpp.
| ros::Publisher command_joints_position_pub |
Definition at line 37 of file phantom_B.cpp.
| HDSchedulerHandle gCallbackHandle = HD_INVALID_HANDLE |
Definition at line 52 of file phantom_B.cpp.
| vrep_common::JointSetStateData joint_target |
Definition at line 33 of file phantom_B.cpp.
Definition at line 46 of file phantom_B.cpp.
Definition at line 47 of file phantom_B.cpp.
Definition at line 48 of file phantom_B.cpp.
Definition at line 49 of file phantom_B.cpp.
| vrep_common::simRosGetObjectHandle object_handles |
Definition at line 34 of file phantom_B.cpp.
| ros::ServiceClient object_handles_srv |
Definition at line 36 of file phantom_B.cpp.
Definition at line 31 of file phantom_B.cpp.
Definition at line 39 of file phantom_B.cpp.
Definition at line 40 of file phantom_B.cpp.
Definition at line 41 of file phantom_B.cpp.
Definition at line 42 of file phantom_B.cpp.
Definition at line 43 of file phantom_B.cpp.
Definition at line 44 of file phantom_B.cpp.
Definition at line 50 of file phantom_B.cpp.