hawonlee / Conductor-Software

This software uses the Robot Operating System to coordinate four independent modules that compose the Virtual Dosimeter.
1 stars 0 forks source link

Data structures to share between processes #1

Closed andreubs closed 3 years ago

andreubs commented 3 years ago

Data to be sent from the Virtual Console module to the Conductor:

struct source_data_t
{   
  float source_position[3];
  float source_direction[3];
  float source_aperture[2];
  float mAs;  
  float shield_Euler_angles[3];
  float shield_translation[3];
  float shield_size[3];
  float shield_attCoef;  
  string energy_spectrum_file;
  string timestamp;    // ("string" == char*)
}

Data to be sent from the Tracking module to the Conductor:

struct kinect_data_t
{
  float origin[3];
  float head[3];
  float leftShoulder[3];
  float rightShoulder[3];
  float hipTorso[3];  
  string timestamp;
}
hawonlee commented 3 years ago

I have implemented the data structures into the code.