ModalAI Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Home
    2. Syed Omair
    3. Posts
    • Profile
    • Following 0
    • Followers 0
    • Topics 9
    • Posts 23
    • Best 0
    • Controversial 0
    • Groups 0

    Posts made by Syed Omair

    • help with pip installing opencv

      hello,

      i am trying to run this command in my m500 drone "pip3 install opencv-python" inside the provided ubuntu docker container from modal ai. i was able to simply do a pip3 install numpy and pip3 install pandas. but pip3 -v install opencv-python is becoming a very lengthy process taking almost 3 hours before failing with an error. i can understand from the debugger output that it is building the library somehow.

      "ERROR: Could not build wheels for opencv-python which use PEP 517 and cannot be installed directly"

      no matter what I try it won't install. is there an easy solution to get opencv working in the docker container ? i am working with is python 3.5.2 and pip 20.3.4

      i consulted this stackoverflow question for solutions

      https://stackoverflow.com/questions/63732353/error-could-not-build-wheels-for-opencv-python-which-use-pep-517-and-cannot-be

      thank you,
      omair

      posted in Ask your questions right here!
      Syed OmairS
      Syed Omair
    • how can i have a more recent version of ubuntu using docker

      hello everybody,

      i have a m500 development drone. I am following this tutorial

      https://docs.modalai.com/docker-on-voxl/

      to have docker on my drone but i kind of want to use a more recent version of ubuntu because i want a more recent version of python to work with.

      like i want to be able to install more recent versions of numpy and opencv and pandas packages and run scripts on the drone itself.

      however, installing the pip version of python3 itself on roskinetic-xenial_v1_0 docker image is something of a pain itself. and in the end it doesn't work.

      i was looking for a solution where i didn't have to deal with outdated distributions...

      someone said they were able to do ros:noetic-robot a more recent version of python and ubuntu running but when i try to do it I get an error

      here is the forum post

      https://forum.modalai.com/topic/1699/out-of-space-for-docker-load-i/4?_=1717186547613

      Screenshot 2024-05-31 at 3.18.15 PM.png

      i accidentally asked in the wrong forum (FAQs) so reposting here. any help is appreciated

      thanks,
      omair

      posted in Ask your questions right here!
      Syed OmairS
      Syed Omair
    • having a more recent version of ubuntu using docker

      hello everybody,

      i have a m500 development drone. I am following this tutorial

      https://docs.modalai.com/docker-on-voxl/

      to have docker on my drone but i kind of want to use a more recent version of ubuntu because i want a more recent version of python to work with.

      like i want to be able to install more recent versions of numpy and opencv and pandas packages and run scripts on the drone itself.

      however, installing the pip version of python3 itself on roskinetic-xenial_v1_0 docker image is something of a pain itself. and in the end it doesn't work.

      i was looking for a solution where i didn't have to deal with outdated distributions...

      someone said they were able to do ros:noetic-robot a more recent version of python and ubuntu running but when i try to do it I get an error

      the forum post

      Screenshot 2024-05-30 at 1.54.02 PM.png

      any help would be appreciated

      thanks,
      omair

      posted in FAQs
      Syed OmairS
      Syed Omair
    • RE: Out of space for docker load -i

      @tpavlic

      heyyy... i do agree that using roskinetic and xenial is kind of a dumb thing... could you help me with something ? are you using the m500 drone with voxl 1 here to do the "docker pull ros:noetic-robot" command? if you are i do get an error saying

      Error: Status 410 trying to pull repository library/ros: "<html>\r\n<head><title>410 Gone</title></head>\r\n<body>\r\n<center><h1>410 Gone</h1></center>\r\n<hr><center>openresty</center>\r\n</body>\r\n</html>\r\n"

      i really kind of want to use the higher versions of python and a more recent ubuntu distribution.

      any tips or suggestions ?

      posted in VOXL m500 Reference Drone
      Syed OmairS
      Syed Omair
    • m500: export sensor data as a json file

      Hello everyone,

      I have a m500 drone and after a flight I would like to export all the sensor data from the drone to a json file. looking at the docs, couldn't find much help. could someone point me in the direction? I basically want to gather all the data provided by all the voxl-inspect-* commands like voxl-inspect-cpu voxl-inspect-gps etc. ideally i'd prefer python but I see some C libraries involved on this page here

      posted in Ask your questions right here!
      Syed OmairS
      Syed Omair
    • RE: m500 camera stream

      @Alex-Kushleyev

      I apologize for being late. I am aware of the voxl-portal for debugging purposes but no that's not what I want for now. like I want to be able to read the data frame by frame using a python script which reads from a rtsp "live" link. I think its just configuring the voxl-streamer server to something else ? idk I am lost on what to do her

      two more questions

      1. is there a way for me to also in real time read the point cloud data ? I can view one the being generated in the voxl-portal section "pointcloud" but I want to read the actual pointcloud dataset in real time so I can do some other visualizations with it.

      2. I would love if you could let me know how i can read quaternion data in real time as well..

      Thank you

      posted in Ask your questions right here!
      Syed OmairS
      Syed Omair
    • m500 camera stream

      can someone tell me how I can stream video from a different camera than the hi res camera ? like I want to be able to see all of these

      cameras

      I followed steps on this site but was only able to get hires

      https://docs.modalai.com/voxl-streamer-0_9/

      thank you

      posted in Ask your questions right here!
      Syed OmairS
      Syed Omair
    • RE: px4 disconnected from uart

      @Dobry-Kolacz thanksss!!!

      posted in Ask your questions right here!
      Syed OmairS
      Syed Omair
    • RE: px4 disconnected from uart

      @Adrian-Hidalgo thank you so much. I am sorry I saw this so late

      posted in Ask your questions right here!
      Syed OmairS
      Syed Omair
    • RE: px4 disconnected from uart

      @tom hey tom. Thanks it worked. I just had to resrt TELEM1 to default settings through qgroundcontrol and then run voxl-configure-mavlink-server and reset the mavlink server to default settings and after that it connected wirelessly automatically.

      But on a side note, can you also help me in pairing a taranis x7 transmitter to the m500 drone. I ordered the drone with the frsky transmitter but is it supposed to be on the drone somewhere or does it come separate like shown in the documentation??

      like so https://www.youtube.com/watch?v=1IYg5mQdLVI

      I am unable to find it on the drone anywhere. thank you.

      posted in Ask your questions right here!
      Syed OmairS
      Syed Omair
    • RE: px4 disconnected from uart

      @tom I’ll be in touch once I get the cable and test it out

      posted in Ask your questions right here!
      Syed OmairS
      Syed Omair
    • RE: px4 disconnected from uart

      @tom apologies I saw this so late.

      I cannot connect to qgroundcontrol since the error started showing. it used to automatically connect but it doesn't anymore. I have the correct ip address and everything. I try to initiate a connection from qgroundcontrol but this is what i get.

      Screenshot 2023-09-07 at 8.32.50 PM.png

      also external_fc was disabled (false) so i made it true.

      posted in Ask your questions right here!
      Syed OmairS
      Syed Omair
    • RE: px4 disconnected from uart

      @tom said in px4 disconnected from uart:

      Reply Quote 0

      I believe its all in one board. i have pictures.

      drone1.jpeg
      drone2.jpeg

      and thanks for the quick reply !!!

      posted in Ask your questions right here!
      Syed OmairS
      Syed Omair
    • RE: px4 disconnected from uart

      @Syed-Omair I tried the voxl-uart-loopback tests and I fail all 4 of them. can someone please help!!!!

      Screenshot 2023-09-06 at 6.14.40 PM.png

      posted in Ask your questions right here!
      Syed OmairS
      Syed Omair
    • px4 disconnected from uart

      I have the m500 drone. I get error PX4 DISCONNECTED FROM UART. can someone help ???

      posted in Ask your questions right here!
      Syed OmairS
      Syed Omair
    • RE: can't connect m500 drone to qgroundcontrol

      for anyone who has the voxl-qvio issue where it says state FAIL, just try centering (using your fingers and wiggling) the voxl board and it will work. I think it just needs to be centered.

      posted in Ask your questions right here!
      Syed OmairS
      Syed Omair
    • can't connect m500 drone to qgroundcontrol

      I have seen multiple posts on this forum with the same issue and tried multiple solutions but none of them seem to work

      Screenshot 2023-07-18 at 12.37.38 AM.png

      some of the things I have tried.

      • changing sdk versions (tldr: upgraded from 0.9.4 -> 0.9.5, it wasn't working.)
        voxl upgrade guide
        "connected to voxl-mavlink-server but no messages from PX4"

      • checked and "external_fc" is false
        "Connected to voxl-mavlink-server but no messages from PX4" again 🙂

      • tried monitoring if mavlink is sending messages. and nothing works.
        mavlink monitoring
        Screenshot 2023-07-18 at 1.09.42 AM.png

      • something that is potentially interesting. this down here wasn't the case before.
        Screenshot 2023-07-18 at 1.03.16 AM.png
        below is the output to voxl-qvio-server
        Screenshot 2023-07-18 at 1.22.11 AM.png

      • followed this guide.
        Connect m500 to PX4

      • checked for loose connections. unplugged and plugged everything back in
        loose connection

      • I want to try this solution but I can't get a wired connection to qgroundcontrol. any help with that would be appreciated
        wired connection to qgc solution

      Thank you for your time and help,
      Omair

      posted in Ask your questions right here!
      Syed OmairS
      Syed Omair