nav_msgs.go 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. package pjisuv_msgs
  2. import (
  3. "github.com/bluenviron/goroslib/v2/pkg/msg"
  4. "github.com/bluenviron/goroslib/v2/pkg/msgs/actionlib_msgs"
  5. "github.com/bluenviron/goroslib/v2/pkg/msgs/geometry_msgs"
  6. "github.com/bluenviron/goroslib/v2/pkg/msgs/std_msgs"
  7. "time"
  8. )
  9. type GetMapAction struct {
  10. msg.Package `ros:"nav_msgs"`
  11. ActionGoal GetMapActionGoal
  12. ActionResult GetMapActionResult
  13. ActionFeedback GetMapActionFeedback
  14. }
  15. type GetMapActionFeedback struct {
  16. msg.Package `ros:"nav_msgs"`
  17. Header std_msgs.Header
  18. Status actionlib_msgs.GoalStatus
  19. Feedback GetMapFeedback
  20. }
  21. type GetMapActionGoal struct {
  22. msg.Package `ros:"nav_msgs"`
  23. Header std_msgs.Header
  24. GoalId actionlib_msgs.GoalID
  25. Goal GetMapGoal
  26. }
  27. type GetMapActionResult struct {
  28. msg.Package `ros:"nav_msgs"`
  29. Header std_msgs.Header
  30. Status actionlib_msgs.GoalStatus
  31. Result GetMapResult
  32. }
  33. type GetMapFeedback struct {
  34. msg.Package `ros:"nav_msgs"`
  35. }
  36. type GetMapGoal struct {
  37. msg.Package `ros:"nav_msgs"`
  38. }
  39. type GetMapResult struct {
  40. msg.Package `ros:"nav_msgs"`
  41. Map OccupancyGrid
  42. }
  43. type GridCells struct {
  44. msg.Package `ros:"nav_msgs"`
  45. Header std_msgs.Header
  46. CellWidth float32
  47. CellHeight float32
  48. Cells []geometry_msgs.Point
  49. }
  50. type MapMetaData struct {
  51. msg.Package `ros:"nav_msgs"`
  52. MapLoadTime time.Time
  53. Resolution float32
  54. Width uint32
  55. Height uint32
  56. Origin geometry_msgs.Pose
  57. }
  58. type OccupancyGrid struct {
  59. msg.Package `ros:"nav_msgs"`
  60. Header std_msgs.Header
  61. Info MapMetaData
  62. Data []int8
  63. }
  64. type Odometry struct {
  65. msg.Package `ros:"nav_msgs"`
  66. Header std_msgs.Header
  67. ChildFrameId string
  68. Pose geometry_msgs.PoseWithCovariance
  69. Twist geometry_msgs.TwistWithCovariance
  70. }
  71. type Path struct {
  72. msg.Package `ros:"nav_msgs"`
  73. Header std_msgs.Header
  74. Poses []geometry_msgs.PoseStamped
  75. }