Guest User

Untitled

a guest
Aug 20th, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.23 KB | None | 0 0
  1. package multibeamlcm;
  2.  
  3. struct ping_t {
  4. int64_t time;
  5.  
  6. string sonar_id; // sonar id, e.g.: "DIDSON", "MB2250", ...
  7.  
  8. // platform/vehicle pose in the world frame
  9. double platform_origin[3]; // x y z (North, East, Down) [m]
  10. double platform_orientation[4]; // w + xi + yj + zk (eigen conv)
  11.  
  12. // sensor pose in the platform frame
  13. double sensor_origin[3]; // x y z (FWD, STB, DOWN) [m]
  14. double sensor_orientation[4]; // w + xi + yj + zk (eigen conv)
  15.  
  16. double hfov; // the horizontal (in-plane) field of view [rad]
  17. double vfov; // the vertical (out-of-plane) field of view [rad]
  18.  
  19. int32_t num_beams; // number of (virtual) beams
  20. double beam_hfov; // in-plane beam width (3dB down) [rad]
  21. double beam_vfov; // out-of-plane beam width (3dB down) [rad]
  22. double azi[num_beams]; // nominal beam azimuth [rad]
  23.  
  24. int32_t num_bins; // number of range bins
  25. double min_range; // [m]
  26. double max_range; // [m]
  27. double range[num_bins];
  28. double focus; // [m]
  29.  
  30. double rx_gain; // [dB]
  31. double tx_gain; // [dB]
  32. double tvg[num_bins];
  33.  
  34. double water_temperature; // [deg C]
  35. double center_frequency; // [Hz]
  36. double sound_speed; // [m/s]
  37.  
  38. int32_t width;
  39. int32_t height;
  40. int32_t size;
  41. int16_t image[size];
  42. }
Add Comment
Please, Sign In to add comment