ModalAI Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Home
    2. Tjark
    3. Topics
    • Profile
    • Following 0
    • Followers 1
    • Topics 8
    • Posts 24
    • Best 0
    • Controversial 0
    • Groups 0

    Topics created by Tjark

    • TjarkT

      voxl_esc tone bug and question

      PX4 Autonomy Developer Kit
      • • • Tjark
      8
      0
      Votes
      8
      Posts
      281
      Views

      TjarkT

      @Alex-Kushleyev I tested it and it works nice (I didn't test the 255 but I expect that should work). I already figured that the frequencies are now multiples of 10Hz with some minimum value (I don't know which one but at least below -p 10 I don't hear the frequency drop anymore). So it ranges up to 2550Hz. And I think you also adjusted the duration to be multiples of 10ms to match with the format of the ESC parameters?

      Regarding the usage change, I understand if you don't want to create a breaking change. But I think it would be good when the print_usage matches with the actual use. It took me some trial and error to get it working. Maybe also an idea to use -f for the frequency because -p refers to period which is not correct anymore and it is now already changing the functionality of the tone generation (you could even let -p in it to keep it backwards compatible but that maybe makes it unnecessarily complicated). And also good to allow the ESC mapping to go up to 15.

      For us it is sufficient to use the startup tone. But I played around a little bit with the tone generation and if you use it using the qshell commands you need to wait the duration of the tone to send a new tone (as the qshell command immediately returns and it doesn't accept a command while the sound is still playing) which makes it difficult to get the timing right in playing a tune. I don't know what the end goal should be of this but if it is playing custom tunes using the commands this is something to keep in mind I think. I had some fun trying to play the Imperial March on the ESCs which kind of works but not as smooth as the startup sound can play.

    • TjarkT

      Possible bug in libmodal_pipe server.c

      Modal Pipe Architecture (MPA)
      • • • Tjark
      6
      0
      Votes
      6
      Posts
      551
      Views

      TjarkT

      @James-Strawson Thanks for your reply! It made me realise what the error must be. We use a locally cloned repository for libmodalpipe because we want to build our software directly on the drone. This is then used in the build and link process of our software. This happened to be on the 'master' branch and not the 'SDK-1.0.0' branch. So the pipe clients use a different version than the pipe servers which is likely the cause of our errors.

    • TjarkT

      Connect RC controller with SDK 1.0.0/PX4 1.14

      VOXL 2
      • • • Tjark
      4
      0
      Votes
      4
      Posts
      268
      Views

      Eric KatzfeyE

      @Tjark I would estimate 2 months although we may do an intermediate release that only supports RC options (Not PWM) on the IO board in about a month.

    • TjarkT

      voxl_vision_hub.h missing

      Software Development
      • • • Tjark
      2
      0
      Votes
      2
      Posts
      226
      Views

      James StrawsonJ

      @Tjark

      Thanks for pointing this out! I applied your fix in voxl-vision-hub v1.6.7 which is now up on the staging repository and will be included in SDK 1.0.1

      Best Regards,
      James

    • TjarkT

      Can't install ros-melodic-tf2-geometry-msgs with voxl-suite 1.0.0

      ROS
      • • • Tjark
      2
      0
      Votes
      2
      Posts
      286
      Views

      TjarkT

      @ModalAI could you answer this question?

    • TjarkT

      Random PX4 Mavlink Disconnected

      VOXL 2
      • • • Tjark
      3
      0
      Votes
      3
      Posts
      239
      Views

      TjarkT

      @tom Yes, thanks! That is a good idea. I will do that.
      I was looking at the release page of the system image and saw this line with 1.5.3 internal release:

      HLOS Added service file that changes SLPI restart level to avoid board crash when SLPI crashes

      What is SLPI and could you describe a little bit more what kind of issues you saw when SLPI crashed?
      I also sometimes saw px4io io_reg_get(4,0,15): data error -5 in the logging so maybe that could be related?

    • TjarkT

      PX4 firmware version

      Ask your questions right here!
      • • • Tjark
      3
      0
      Votes
      3
      Posts
      257
      Views

      TjarkT

      Thanks, I will try that

    • TjarkT

      'ERROR failed to set scheduler' after restart of voxl-qvio-server

      GPS-denied Navigation (VIO)
      • • • Tjark
      5
      0
      Votes
      5
      Posts
      418
      Views

      ?

      Hi,

      We're still not sure what caused the scheduler issue, it was a new feature we were hoping to integrate into the stack when you found this bug but aren't able to right now. In the meantime we've pushed updated packages with these calls removed so that all of the packages can run as intended. If you update the packages via OPKG to latest there should be no issues with the scheduler.