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

    SYS_AUTOSTART param missing, shown in QGC, after flashing the flight deck with voxl2_SDK_1.4.1

    Ask your questions right here!
    2
    11
    74
    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.
    • W
      will.huang.oksi
      last edited by 20 days ago

      To whom it may concern,

      When flashing the flight deck with voxl2_SDK_1.4.1,
      here are my steps

      Step 1
      PLEASE SELECT WHICH KERNEL TO FLASH

      1. M0054-1 -> QRB5165M, Starling (D0005), Sentinel (D0006), FPV (D0008), D0010, PX4 Dev Kit (D0011)

      Step 2
      VOXL is not yet configured for a particular SKU.
      Please select the new desired product family:
      16) flight-deck

      Step 3
      4) voxl2

      Step 4
      If you would like to select a special camera config that differs
      from the default for your product family, please select an option.
      Simply hit ENTER to use the default
      ENTER

      family code: MDK-F0001 (flight-deck)
      compute board: 4 (voxl2)
      hw version: 1
      cam config: 3
      modem config: 0 (none)
      tx config: 0 (none)
      extras config: 0 (none)
      SKU: MDK-F0001-4-V1-C3-T0-M0-X0

      Step 5
      Station mode is for connecting to a normal wifi network.

      1. leave as-is

      Step 6
      To work with the Taoglas GPS "Classic" M9N w/IST8308 - M10034 which is connected to the J19 port,
      and see the connection in the QGC,
      I made the following changes:

      in /etc/modalai/voxl-px4.conf,
      GPS=AUTODETECT

      in /etc/modalai/voxl-mavlink-server.conf,
      "primary_static_gcs_ip": "192.168.110.205",
      "primary_static_gcs_port": 14550,
      "secondary_static_gcs_ip": "0.0.0.0",
      "secondary_static_gcs_port": 14550,

      ==========
      Then
      1.
      I saw
      19877232-357f-499a-8bbb-a95b55889ee8-image.png

      fix type is always NO GPS even in the outdoor condition in which GPS is 3D fixed before updating to voxl2_SDK_1.4.1

      ==========
      Any suggestions to investigate/fix the issues above?

      Thank you for your precious time on this matter.

      E 2 Replies Last reply 19 days ago Reply Quote 0
      • E
        Eric Katzfey ModalAI Team @will.huang.oksi
        last edited by 19 days ago

        @will-huang-oksi Don't worry about the missing parameter warning in QGC. VOXL 2 is slightly different in it's operation from standard microcontroller based boards and it doesn't use all of the same parameters which confuses QGC a bit.

        W 1 Reply Last reply 19 days ago Reply Quote 0
        • E
          Eric Katzfey ModalAI Team @will.huang.oksi
          last edited by 19 days ago

          @will-huang-oksi Can you share a px4 flight log? How do you have the parameter SYS_HAS_GPS set?

          W 1 Reply Last reply 19 days ago Reply Quote 0
          • W
            will.huang.oksi @Eric Katzfey
            last edited by 19 days ago

            @Eric-Katzfey

            As shown below, many sections are in red.

            9f8df5d7-97cb-4a53-b825-b435e33d79e2-image.png

            Are they not related to the missing parameter?
            If not, how to resolve this issue after updating to voxl2_SDK_1.4.1?

            1 Reply Last reply Reply Quote 0
            • W
              will.huang.oksi @Eric Katzfey
              last edited by 19 days ago

              @Eric-Katzfey

              Because having the missing parameter issue and a lot of sections are in red,
              the VOXL flight deck is never armed and therefore there is no px4 log.

              Thank you for your precious time on this matter, and please let me know any other log/file will be helpful.

              E 2 Replies Last reply 19 days ago Reply Quote 0
              • E
                Eric Katzfey ModalAI Team @will.huang.oksi
                last edited by 19 days ago

                @will-huang-oksi You need to set some parameters, calibrate sensors, etc. to properly setup PX4 for flight. If that hasn't been done then QGC will show those tabs in red indicating that you need to address something. If you set SYS_AUTOSTART to 4001 does that make the Airframe tab change from red?

                1 Reply Last reply Reply Quote 0
                • E
                  Eric Katzfey ModalAI Team @will.huang.oksi
                  last edited by 19 days ago

                  @will-huang-oksi We have setup routines to do all of this on our drones. But if you are making your own drone then you have to know how to set those values up yourself.

                  W 1 Reply Last reply 19 days ago Reply Quote 0
                  • W
                    will.huang.oksi @Eric Katzfey
                    last edited by will.huang.oksi 19 days ago 19 days ago

                    @Eric-Katzfey

                    Thank you for the feedback.

                    Before your response, I added "-w" to re-flash the VOXL and resolved the SYS_AUTOSTART issue

                    ./install.sh -w

                    Now I can calibrate the VOXL 2 flight deck.

                    If you need the flashing process log, let me know since I don't have privilege to upload any file yet.

                    NOW the remaining issue I have is no GPS fix.
                    The output from voxl-inspect-gps is

                    dt(ms) |fix type|Sats|Latitude(deg)|Longitude(deg)| Alt(m) |Vel(m/s)|HorErr(m)|AltErr(m)|
                    124.9 | NO GPS | 0 | 0.0000000 | 0.0000000 | -17.0 | 0.00 | 4294967.295 | 3794659.840 |^C

                    In voxl-px4.conf
                    I tried GPS=AUTODETECT and GPS=MRO, but none of them works.
                    I connect Taoglas GPS "Classic" M9N w/IST8308 - M10034 to the J19 port.

                    Here is the full configuration in the voxl-px4.conf

                    AIRFRAME=MULTICOPTER
                    GPS=AUTODETECT
                    RC=CRSF_RAW
                    ESC=VOXL_ESC
                    POWER_MANAGER=VOXLPM
                    AIRSPEED_SENSOR=NONE
                    DISTANCE_SENSOR=NONE
                    OSD=DISABLE
                    DAEMON_MODE=ENABLE
                    SENSOR_CAL=ACTUAL
                    ARTIFACT_MODE=DISABLE
                    EXTRA_STEPS=()

                    Also there is no output from
                    cat /dev/ttyHS0
                    cat /dev/ttyHS1
                    cat /dev/ttyHS2
                    cat /dev/ttyHS3

                    And this is what I have from journalctl -u voxl-px4 -n 100

                    -- Logs begin at Thu 2023-03-02 12:58:02 UTC, end at Thu 2023-03-02 13:35:18 UTC. --
                    Mar 02 13:31:54 m0054 voxl-px4[4783]: INFO [uORB] Advertising remote topic takeoff_status
                    Mar 02 13:31:54 m0054 voxl-px4[4783]: INFO [muorb] SLPI: Ok executing command: mc_pos_control start
                    Mar 02 13:31:54 m0054 voxl-px4[4783]: INFO [muorb] SLPI: Marking DeviceNode(qshell_req) as advertised in process_remote_topic
                    Mar 02 13:31:54 m0054 voxl-px4[4783]: INFO [muorb] SLPI: qshell gotten: mc_att_control start
                    Mar 02 13:31:54 m0054 voxl-px4[4783]: INFO [muorb] SLPI: arg0 = 'mc_att_control'
                    Mar 02 13:31:54 m0054 voxl-px4[4783]: INFO [muorb] SLPI: arg1 = 'start'
                    Mar 02 13:31:54 m0054 voxl-px4[4783]: INFO [muorb] SLPI: Ok executing command: mc_att_control start
                    Mar 02 13:31:54 m0054 voxl-px4[4783]: INFO [muorb] SLPI: Marking DeviceNode(qshell_req) as advertised in process_remote_topic
                    Mar 02 13:31:54 m0054 voxl-px4[4783]: INFO [muorb] SLPI: qshell gotten: mc_rate_control start
                    Mar 02 13:31:54 m0054 voxl-px4[4783]: INFO [muorb] SLPI: arg0 = 'mc_rate_controINFO [qshell] Send cmd: 'mc_rate_control start'
                    Mar 02 13:31:54 m0054 voxl-px4[4783]: INFO [qshell] qshell return value timestamp: 2036903088, local time: 2036905841
                    Mar 02 13:31:54 m0054 voxl-px4[4783]: INFO [qshell] Send cmd: 'mc_hover_thrust_estimator start'
                    Mar 02 13:31:54 m0054 voxl-px4[4783]: INFO [qshell] qshell return value timestamp: 2036964219, local time: 2036966402
                    Mar 02 13:31:54 m0054 voxl-px4[4783]: INFO [qshell] Send cmd: 'mc_autotune_attitude_control start'
                    Mar 02 13:31:54 m0054 voxl-px4[4783]: INFO [qshell] qshell return value timestamp: 2037021853, local time: 2037025239
                    Mar 02 13:31:54 m0054 voxl-px4[4783]: INFO [qshell] Send cmd: 'land_detector start multicopter'
                    Mar 02 13:31:54 m0054 voxl-px4[4783]: INFO [qshell] qshell return value timestamp: 2037083571, local time: 2037085728
                    Mar 02 13:31:54 m0054 voxl-px4[4783]: INFO [qshell] Send cmd: 'manual_control start'
                    Mar 02 13:31:54 m0054 voxl-px4[4783]: INFO [qshell] qshell return value timestamp: 2037144972, local time: 2037146917

                    Any suggestions or any information you need?

                    Thank you for helping.

                    W 1 Reply Last reply 19 days ago Reply Quote 0
                    • W
                      will.huang.oksi @will.huang.oksi
                      last edited by will.huang.oksi 19 days ago 19 days ago

                      @will-huang-oksi said in SYS_AUTOSTART param missing, shown in QGC, after flashing the flight deck with voxl2_SDK_1.4.1:

                      @Eric-Katzfey

                      Thank you for the feedback.

                      Before your response, I added "-w" to re-flash the VOXL and resolved the SYS_AUTOSTART issue

                      ./install.sh -w

                      Now I can calibrate the VOXL 2 flight deck.

                      If you need the flashing process log, let me know since I don't have privilege to upload any file yet.

                      NOW the remaining issue I have is no GPS fix.
                      The output from voxl-inspect-gps is

                      dt(ms) |fix type|Sats|Latitude(deg)|Longitude(deg)| Alt(m) |Vel(m/s)|HorErr(m)|AltErr(m)|
                      124.9 | NO GPS | 0 | 0.0000000 | 0.0000000 | -17.0 | 0.00 | 4294967.295 | 3794659.840 |^C

                      In voxl-px4.conf
                      I tried GPS=AUTODETECT and GPS=MRO, but none of them works.
                      I connect Taoglas GPS "Classic" M9N w/IST8308 - M10034 to the J19 port.

                      Here is the full configuration in the voxl-px4.conf

                      AIRFRAME=MULTICOPTER
                      GPS=AUTODETECT
                      RC=CRSF_RAW
                      ESC=VOXL_ESC
                      POWER_MANAGER=VOXLPM
                      AIRSPEED_SENSOR=NONE
                      DISTANCE_SENSOR=NONE
                      OSD=DISABLE
                      DAEMON_MODE=ENABLE
                      SENSOR_CAL=ACTUAL
                      ARTIFACT_MODE=DISABLE
                      EXTRA_STEPS=()

                      Also there is no output from
                      cat /dev/ttyHS0
                      cat /dev/ttyHS1
                      cat /dev/ttyHS2
                      cat /dev/ttyHS3

                      And this is what I have from journalctl -u voxl-px4 -n 100

                      -- Logs begin at Thu 2023-03-02 12:58:02 UTC, end at Thu 2023-03-02 13:35:18 UTC. --
                      Mar 02 13:31:54 m0054 voxl-px4[4783]: INFO [uORB] Advertising remote topic takeoff_status
                      Mar 02 13:31:54 m0054 voxl-px4[4783]: INFO [muorb] SLPI: Ok executing command: mc_pos_control start
                      Mar 02 13:31:54 m0054 voxl-px4[4783]: INFO [muorb] SLPI: Marking DeviceNode(qshell_req) as advertised in process_remote_topic
                      Mar 02 13:31:54 m0054 voxl-px4[4783]: INFO [muorb] SLPI: qshell gotten: mc_att_control start
                      Mar 02 13:31:54 m0054 voxl-px4[4783]: INFO [muorb] SLPI: arg0 = 'mc_att_control'
                      Mar 02 13:31:54 m0054 voxl-px4[4783]: INFO [muorb] SLPI: arg1 = 'start'
                      Mar 02 13:31:54 m0054 voxl-px4[4783]: INFO [muorb] SLPI: Ok executing command: mc_att_control start
                      Mar 02 13:31:54 m0054 voxl-px4[4783]: INFO [muorb] SLPI: Marking DeviceNode(qshell_req) as advertised in process_remote_topic
                      Mar 02 13:31:54 m0054 voxl-px4[4783]: INFO [muorb] SLPI: qshell gotten: mc_rate_control start
                      Mar 02 13:31:54 m0054 voxl-px4[4783]: INFO [muorb] SLPI: arg0 = 'mc_rate_controINFO [qshell] Send cmd: 'mc_rate_control start'
                      Mar 02 13:31:54 m0054 voxl-px4[4783]: INFO [qshell] qshell return value timestamp: 2036903088, local time: 2036905841
                      Mar 02 13:31:54 m0054 voxl-px4[4783]: INFO [qshell] Send cmd: 'mc_hover_thrust_estimator start'
                      Mar 02 13:31:54 m0054 voxl-px4[4783]: INFO [qshell] qshell return value timestamp: 2036964219, local time: 2036966402
                      Mar 02 13:31:54 m0054 voxl-px4[4783]: INFO [qshell] Send cmd: 'mc_autotune_attitude_control start'
                      Mar 02 13:31:54 m0054 voxl-px4[4783]: INFO [qshell] qshell return value timestamp: 2037021853, local time: 2037025239
                      Mar 02 13:31:54 m0054 voxl-px4[4783]: INFO [qshell] Send cmd: 'land_detector start multicopter'
                      Mar 02 13:31:54 m0054 voxl-px4[4783]: INFO [qshell] qshell return value timestamp: 2037083571, local time: 2037085728
                      Mar 02 13:31:54 m0054 voxl-px4[4783]: INFO [qshell] Send cmd: 'manual_control start'
                      Mar 02 13:31:54 m0054 voxl-px4[4783]: INFO [qshell] qshell return value timestamp: 2037144972, local time: 2037146917

                      Any suggestions or any information you need?

                      Thank you for helping.

                      I found a mistake
                      Previously I select flight-deck when re-flash.
                      This time with -w I select voxl2 flight-deck
                      Sorry for confusion.

                      So the only issue I have now is the GPS issue.
                      Please let me know if any questions or suggestions.

                      E 1 Reply Last reply 18 days ago Reply Quote 0
                      • E
                        Eric Katzfey ModalAI Team @will.huang.oksi
                        last edited by 18 days ago

                        @will-huang-oksi On VOXL 2, if you enter the command px4-listener sensor_gps what do you get? (Try it a few times)

                        W 1 Reply Last reply 18 days ago Reply Quote 0
                        • W
                          will.huang.oksi @Eric Katzfey
                          last edited by will.huang.oksi 18 days ago 18 days ago

                          @Eric-Katzfey

                          From other discussion,
                          I add

                          qshell gps start -d 7 -b 115200
                          

                          and get the GPS now.

                          Here is my setting and please let me know if any questions.
                          Thank you for your precious time on this matter.

                          AIRFRAME=MULTICOPTER
                          GPS=AUTODETECT
                          RC=CRSF_RAW
                          ESC=VOXL_ESC
                          POWER_MANAGER=VOXLPM
                          AIRSPEED_SENSOR=NONE
                          DISTANCE_SENSOR=NONE
                          OSD=DISABLE
                          DAEMON_MODE=ENABLE
                          SENSOR_CAL=ACTUAL
                          ARTIFACT_MODE=DISABLE
                          EXTRA_STEPS=(
                          qshell gps start -d 7 -b 115200
                          )

                          1 Reply Last reply Reply Quote 0
                          1 out of 11
                          • First post
                            1/11
                            Last post
                          Powered by NodeBB | Contributors