text: /****************************************************************************
   *
   *   Copyright (C) 2013-2016 PX4 Development Team. All rights reserved.
   *
   * Redistribution and use in source and binary forms, with or without
   * modification, are permitted provided that the following conditions
   * are met:
   *
   * 1. Redistributions of source code must retain the above copyright
   *    notice, this list of conditions and the following disclaimer.
   * 2. Redistributions in binary form must reproduce the above copyright
   *    notice, this list of conditions and the following disclaimer in
   *    the documentation and/or other materials provided with the
   *    distribution.
   * 3. Neither the name PX4 nor the names of its contributors may be
   *    used to endorse or promote products derived from this software
   *    without specific prior written permission.
   *
   * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
   * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
   * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
   * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
   * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
   * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
   * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
   * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
   * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
   * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
   * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
   * POSSIBILITY OF SUCH DAMAGE.
   *
   ****************************************************************************/
  
  /* Auto-generated by genmsg_cpp from file gps_inject_data.msg */
  
  
  #include <inttypes.h>
  #include <px4_log.h>
  #include <px4_defines.h>
  #include <uORB/topics/gps_inject_data.h>
  #include <drivers/drv_hrt.h>
  #include <lib/drivers/device/Device.hpp>
  
  constexpr char __orb_gps_inject_data_fields[] = "uint64_t timestamp;uint8_t len;uint8_t flags;uint8_t[182] data;";
  
  ORB_DEFINE(gps_inject_data, struct gps_inject_data_s, 192, __orb_gps_inject_data_fields);
  
  
  void print_message(const gps_inject_data_s& message)
  {
  	PX4_INFO_RAW(" gps_inject_data_s\n");
  	if (message.timestamp != 0) {
  		PX4_INFO_RAW("\ttimestamp: %" PRIu64 "  (%.6f seconds ago)\n", message.timestamp, hrt_elapsed_time(&message.timestamp) / 1e6);
  	} else {
  		PX4_INFO_RAW("\n");
  	}
  	PX4_INFO_RAW("\tlen: %u\n", message.len);
  	PX4_INFO_RAW("\tflags: %u\n", message.flags);
  	PX4_INFO_RAW("\tdata: [%u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u, %u]\n", message.data[0], message.data[1], message.data[2], message.data[3], message.data[4], message.data[5], message.data[6], message.data[7], message.data[8], message.data[9], message.data[10], message.data[11], message.data[12], message.data[13], message.data[14], message.data[15], message.data[16], message.data[17], message.data[18], message.data[19], message.data[20], message.data[21], message.data[22], message.data[23], message.data[24], message.data[25], message.data[26], message.data[27], message.data[28], message.data[29], message.data[30], message.data[31], message.data[32], message.data[33], message.data[34], message.data[35], message.data[36], message.data[37], message.data[38], message.data[39], message.data[40], message.data[41], message.data[42], message.data[43], message.data[44], message.data[45], message.data[46], message.data[47], message.data[48], message.data[49], message.data[50], message.data[51], message.data[52], message.data[53], message.data[54], message.data[55], message.data[56], message.data[57], message.data[58], message.data[59], message.data[60], message.data[61], message.data[62], message.data[63], message.data[64], message.data[65], message.data[66], message.data[67], message.data[68], message.data[69], message.data[70], message.data[71], message.data[72], message.data[73], message.data[74], message.data[75], message.data[76], message.data[77], message.data[78], message.data[79], message.data[80], message.data[81], message.data[82], message.data[83], message.data[84], message.data[85], message.data[86], message.data[87], message.data[88], message.data[89], message.data[90], message.data[91], message.data[92], message.data[93], message.data[94], message.data[95], message.data[96], message.data[97], message.data[98], message.data[99], message.data[100], message.data[101], message.data[102], message.data[103], message.data[104], message.data[105], message.data[106], message.data[107], message.data[108], message.data[109], message.data[110], message.data[111], message.data[112], message.data[113], message.data[114], message.data[115], message.data[116], message.data[117], message.data[118], message.data[119], message.data[120], message.data[121], message.data[122], message.data[123], message.data[124], message.data[125], message.data[126], message.data[127], message.data[128], message.data[129], message.data[130], message.data[131], message.data[132], message.data[133], message.data[134], message.data[135], message.data[136], message.data[137], message.data[138], message.data[139], message.data[140], message.data[141], message.data[142], message.data[143], message.data[144], message.data[145], message.data[146], message.data[147], message.data[148], message.data[149], message.data[150], message.data[151], message.data[152], message.data[153], message.data[154], message.data[155], message.data[156], message.data[157], message.data[158], message.data[159], message.data[160], message.data[161], message.data[162], message.data[163], message.data[164], message.data[165], message.data[166], message.data[167], message.data[168], message.data[169], message.data[170], message.data[171], message.data[172], message.data[173], message.data[174], message.data[175], message.data[176], message.data[177], message.data[178], message.data[179], message.data[180], message.data[181]);
  
  }
  