ModalAI Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    java support and examples

    VOXL Flight Deck
    3
    4
    263
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Zeev MindaliZ
      Zeev Mindali
      last edited by

      dear all,

      where I before purchase the voxl flight deck with camera for testing.
      I looking for a solution for a major project that I need.

      where I can find some examples written in java.
      the main goal is to use it on android based machine
      or with web application, using java spring and react.

      thanks in advance
      zeev.

      1 Reply Last reply Reply Quote 0
      • modaltbM
        modaltb ModalAI Team
        last edited by

        Hi Zeev,

        We have no Java based references at this time. We have a pretty easy to use interface (basically, you can read from files, named pipes to be more exact).

        Here's some ideas:
        https://docs.modalai.com/mpa-services/

        Say you want to get IMU data? Ready from a file:
        https://docs.modalai.com/voxl-imu-server/#output-type

        /run/mpa/imu0 and /run/mpa/imu1

        Where the interface, for this data type, looks like:

        typedef struct imu_data_t{
        	uint32_t magic_number;  ///< Set to IMU_IMAGE_MAGIC_NUMBER for frame syncing
        	float accl_ms2[3];      ///< XYZ acceleration in m/s^2
        	float gyro_rad[3];      ///< XYZ gyro rotation in rad/s
        	float temp_c;           ///< temp in C, IMU_INVALID_TEMPERATURE_VALUE if no thermometer present
        	uint64_t timestamp_ns;  ///< timestamp in nanoseconds, uses system clock_monotonic
        } __attribute__((packed)) imu_data_t;
        
        1 Reply Last reply Reply Quote 0
        • Zeev MindaliZ
          Zeev Mindali
          last edited by

          Hi modaltb,

          I have written MAVLink commands interface for java (working on ap and px4)
          is there a way in your system (with or without MAVLink commands) to tell the drone move 2m left , 2m up, and so on?

          if it have, I can put a purchase for one development kit for testing and development and then to a large number of it.

          1 Reply Last reply Reply Quote 0
          • Chad SweetC
            Chad Sweet ModalAI Team
            last edited by

            There is MAVROS and MAVSDK which might help with what you are looking for
            https://docs.modalai.com/mavros
            https://docs.modalai.com/mavsdk

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Powered by NodeBB | Contributors