Classes | Namespaces | Defines | Functions | Variables
acoustic_vr.cpp File Reference
#include <iostream>
#include <fmod/fmod.hpp>
#include <fmod/fmod_errors.h>
#include <fmod/fmod_event.hpp>
#include <fmod/fmod_event_net.hpp>
#include <boost/algorithm/string.hpp>
#include <GL/glut.h>
#include <SOIL/SOIL.h>
#include <math.h>
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <stack>
#include <string>
#include <fstream>
#include <sstream>
#include <time.h>
#include <ros/ros.h>
#include <boost/thread.hpp>
#include <sensor_msgs/Joy.h>
#include <auv_msgs/NavSts.h>
#include <std_msgs/Float32MultiArray.h>
#include <geometry_msgs/PointStamped.h>
#include <labust/gui/AAGui.hpp>
#include <auv_msgs/BodyForceReq.h>
Include dependency graph for acoustic_vr.cpp:

Go to the source code of this file.

Classes

class  FMOD::GlutCloseClass
struct  LABUST::JoystickData
struct  FMOD::Mesh
struct  FMOD::Object
struct  FMOD::Polygon

Namespaces

namespace  FMOD
namespace  LABUST

Defines

#define FMOD_INIT_DSOUND_HRTFFULL   0x00000800
#define GL_CLAMP_TO_EDGE   0x812F

Functions

std::vector< float > configInfo (8, 0.0)
void FMOD::display (void)
void FMOD::doGeometryMovement ()
void FMOD::doListenerMovement ()
void FMOD::doSoundMovement ()
void FMOD::doUpdateVolume ()
void FMOD::drawGeometry (Mesh &mesh)
void FMOD::drawWaterRoom ()
void FMOD::ERRCHECK (FMOD_RESULT result)
void FMOD::freeGeometry (Mesh &mesh)
void handleEstimates (const auv_msgs::NavSts::ConstPtr &estimate)
void handleManual (const sensor_msgs::Joy::ConstPtr &joy)
void handleTarget (const auv_msgs::NavSts::ConstPtr &ref)
void handleTarget2 (const geometry_msgs::PointStamped::ConstPtr &ref)
void FMOD::init (void)
void FMOD::initGeometry (const char *szFileName, Mesh &mesh, bool alter=false)
void FMOD::initObjects ()
void FMOD::inWater ()
void FMOD::keyboardFunc (unsigned char key, int x, int y)
void FMOD::keyboardUpFunc (unsigned char key, int x, int y)
GLuint FMOD::loadTexture (const char *filename)
GLuint FMOD::loadTexturePNG (const char *filename)
int main (int argc, char **argv)
void FMOD::motionFunc (int x, int y)
void FMOD::mouseFunc (int button, int state, int x, int y)
void FMOD::outputText (int x, int y, std::string text)
void FMOD::renderUiText ()
void FMOD::reshapeFunc (int w, int h)
void FMOD::specialKeyUpFunc (int key, int x, int y)
void FMOD::timerFunc (int nValue)
void FMOD::updateObjectSoundPos (Object *object)

Variables

float FMOD::accumulatedTime = 0.0f
int FMOD::ActualWPindex = 1
int FMOD::ActualWPindexOld = 1
double FMOD::Altitude = 2.5f
double FMOD::AltitudeSetPoint = 10.0f
bool FMOD::ambientVolDown = false
float FMOD::ambientVolume = 0.2f
bool FMOD::ambientVolUp = false
double FMOD::AmpDiter = 0.0f
double FMOD::aSQR = 1.0f
double FMOD::bSQR = 0.0f
double FMOD::cSQR = 0.0f
double FMOD::Depth = 0.0f
float FMOD::DirectionToTarget = 0.0f
double FMOD::DistanceToPath = 0.0f
double FMOD::Doppler = 100.0f
bool FMOD::doRotate = false
double FMOD::FiDiter [13] = {0, 15, -10, -25, 0, 5, -15, 15, -10, -3, -10, 5, 0}
FMOD::EventGroup * FMOD::fmodEventGroup = 0
FMOD::EventParameter * FMOD::fmodEventParameter = 0
FMOD::EventProject * FMOD::fmodEventProject = 0
FMOD::EventSystem * FMOD::fmodEventSystem = 0
FMOD::System * FMOD::fmodSystem = 0
double FMOD::forw = 0.0f
double FMOD::FreqDiter = 1.0f
double FMOD::frwVelVector = 0.0f
bool FMOD::fullscreen = false
GlutCloseClass FMOD::gCloseObject
FMOD::Geometry * FMOD::geometry = 0
FMOD::DSP * FMOD::global_lowpass = 0
labust::gui::AAGui::Ptr gui
int FMOD::GuidanceMode = 1
double FMOD::HE = 0.0f
double FMOD::Head
double FMOD::HeadingErr = 0.0f
double FMOD::HeadIni = 0.0f
int FMOD::height = 500
int FMOD::iDiter = 0
ros::Publisher infopub
double FMOD::InputStoh = 0.0f
int FMOD::InputStoh1 = 0
double FMOD::Integral = 0.0f
int FMOD::INTERFACE_UPDATETIME = 15
int FMOD::intMax = 32767
boost::mutex joyMux
LABUST::JoystickData joystickData
int FMOD::JoyStickMode = 1
int FMOD::KDiterTime = 1
unsigned char FMOD::key1 = 0
double FMOD::Ki = 0.0f
double FMOD::lastObjectLong = 0.0
double FMOD::lastvelAtitude = 0.0f
float FMOD::lastyRotation = 0.0f
double FMOD::latVelVector = 0.0f
float FMOD::LogData [12] = {0,0,0,0,0,0,0,0,0,0,0,0}
bool FMOD::masterVolDown = false
float FMOD::masterVolume
bool FMOD::masterVolUp = false
const int FMOD::MaxNumberOfWP = 15
bool FMOD::moveBackward = false
bool FMOD::moveDown = false
bool FMOD::moveFast = false
bool FMOD::moveForward = false
bool FMOD::moveLeft = false
bool FMOD::moveRight = false
bool FMOD::moveRotateAntiClock = false
bool FMOD::moveRotateClock = false
bool FMOD::moveUp = false
double FMOD::NonLinearCoeff = 1.0f
double FMOD::NonLinearCoeffDist = 1.0f
const int FMOD::NUM_OBJECTS = 8
int FMOD::NumberOfWP = 15
double FMOD::ObjectDepth = 20.0f
double FMOD::ObjectLat = 43.5
double FMOD::ObjectLong = 15.5
Object FMOD::objects [NUM_OBJECTS]
double FMOD::PathStartX = 10.0f
double FMOD::PathStartX1 = 0.0f
double FMOD::PathStartY = 10.0f
double FMOD::PathStartY1 = 0.0f
double FMOD::PathVelocity = 0.0f
double FMOD::PathX = 0.0f
double FMOD::PathY = 0.0f
const float FMOD::PI = 3.14159265f
int FMOD::r
double FMOD::RabbitDistance = 0.0f
double FMOD::RabbitEast = 0
double FMOD::RabbitEastOld = 0
double FMOD::RabbitNorth = 0
double FMOD::RabbitNorth1 = 0
double FMOD::RabbitNorth2 = 0
double FMOD::RabbitNorthOld = 0
GLenum FMOD::rendermode = GL_FILL
Mesh FMOD::rotatingMesh
double FMOD::ROVHeading = 0.0f
double FMOD::ROVLat = 43.5f
double FMOD::ROVLong = 15.5f
double FMOD::ROVPitch = 0.0f
double FMOD::ROVRoll = 0.0f
bool FMOD::showdebug = false
bool FMOD::showhelp = false
double FMOD::SilenceAngle = 0.00f
GLuint FMOD::skyboxTexture [6]
int FMOD::Sound = 0
int FMOD::SpeedProfile = 'C'
auv_msgs::NavSts state
auv_msgs::NavSts target
int FMOD::TaskMode = 1
double FMOD::TauK = 0.0f
double FMOD::TauM = 0.0f
double FMOD::TauN = 0.0f
double FMOD::TauX = 0.0f
double FMOD::TauY = 0.0f
double FMOD::TauZ = 0.0f
double FMOD::tDiter [13] = {10,15, 20, 25, 30, 35, 40, 45, 50, 55, 60, 65, 70}
GLuint FMOD::texture
double FMOD::ti = 0
bool FMOD::TrajectoryTracking = false
double FMOD::TransformAngle = 0.00f
double FMOD::velAtitude = 0.0f
double FMOD::VelVec = 0.0f
double FMOD::VerbalAngle = 5.00f
bool FMOD::wait = true
Mesh FMOD::walls
int FMOD::width = 500
float FMOD::WPeast [MaxNumberOfWP]
int FMOD::WPindex = 1
float FMOD::WPnorth [MaxNumberOfWP]
bool FMOD::WPupdateFlage = true
float FMOD::WPz [MaxNumberOfWP]
float FMOD::xListenerPos = 0.0f
float FMOD::xListenerPosRel = 0.0f
int FMOD::xMouse = 0
float FMOD::xRotation = 0.0f
float FMOD::yListenerPos = 50.0f
int FMOD::yMouse = 0
float FMOD::yRotation = 0.0f
float FMOD::zListenerPos = 20.0f
float FMOD::zListenerPosRel = 0.0f
double FMOD::zPos = 0.0
float FMOD::zRotation = 0.0f
double FMOD::zVelVector = 0.0f

Define Documentation

#define FMOD_INIT_DSOUND_HRTFFULL   0x00000800

Definition at line 63 of file acoustic_vr.cpp.

#define GL_CLAMP_TO_EDGE   0x812F

Definition at line 62 of file acoustic_vr.cpp.


Function Documentation

std::vector<float> configInfo ( ,
0.  0 
)
void handleEstimates ( const auv_msgs::NavSts::ConstPtr &  estimate)

Definition at line 2150 of file acoustic_vr.cpp.

void handleManual ( const sensor_msgs::Joy::ConstPtr &  joy)

Definition at line 2128 of file acoustic_vr.cpp.

void handleTarget ( const auv_msgs::NavSts::ConstPtr &  ref)

Definition at line 2136 of file acoustic_vr.cpp.

void handleTarget2 ( const geometry_msgs::PointStamped::ConstPtr &  ref)

Definition at line 2142 of file acoustic_vr.cpp.

int main ( int  argc,
char **  argv 
)

Definition at line 2175 of file acoustic_vr.cpp.


Variable Documentation

Definition at line 53 of file acoustic_vr.cpp.

Definition at line 55 of file acoustic_vr.cpp.

boost::mutex joyMux

Definition at line 46 of file acoustic_vr.cpp.

Definition at line 50 of file acoustic_vr.cpp.

auv_msgs::NavSts state

Definition at line 52 of file acoustic_vr.cpp.

auv_msgs::NavSts target

Definition at line 52 of file acoustic_vr.cpp.



acoustic_vr
Author(s):
autogenerated on Fri Feb 7 2014 11:37:09