ModalAI Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Home
    2. cguzikowski
    3. Posts
    C
    • Profile
    • Following 0
    • Followers 0
    • Topics 4
    • Posts 13
    • Best 0
    • Controversial 0
    • Groups 0

    Posts made by cguzikowski

    • RE: Issues with M9N GPS and Ardupilot

      @Eric-Katzfey okay a little weird but I opened QGC to test something else out today and both the M9N and M10S work just fine with ardupilot... Not sure what is going on there.

      posted in VOXL 2
      C
      cguzikowski
    • RE: Issues with M9N GPS and Ardupilot

      @Eric-Katzfey On a fresh voxl I am getting the same behavior unfortunately. Any other troubleshooting tips?

      posted in VOXL 2
      C
      cguzikowski
    • RE: voxl_mpa_to_ros2 only publishes left stereo camera

      @teddy-zaremba Nevermind, I was able to separate the images by modifying the voxl-camera-server.conf file to treat each camera as separate and it seems to be working now

      posted in ROS
      C
      cguzikowski
    • RE: voxl_mpa_to_ros2 only publishes left stereo camera

      @teddy-zaremba Unfortunately we can't connect them to separate ports. I recorded a bag on the topic "/stereo" and playing the bag back I only see one of the images. All messages are mono8 of size 480x640, so I don't see how they could be stacked on each other. Do I need to separate the images before recording?

      posted in ROS
      C
      cguzikowski
    • RE: Issues with M9N GPS and Ardupilot

      @Eric-Katzfey Updated to 1.5.0 and the issue still persists - exact same behavior as before. Is it possible I am having an issue with my specific board? Our other board is currently in use but I can probably borrow it if necessary.

      posted in VOXL 2
      C
      cguzikowski
    • RE: Issues with M9N GPS and Ardupilot

      @Eric-Katzfey I just had m0015 cameras connected to the J6 connected via a m0076 connector, which I have unplugged and the behavior still persists. I also have a 5G Modem Carrier Board connected with a doodle labs radio, can't unplug this though or else there is no connection to QGC. Yes, I am connected to the standard GPS pins on J19 which I believe to be connected properly, as QGC can detect the compass properly. I have tried swapping the TX and RX pin connections, but this resulted in the GPS to not even work with px4. The current configuration works just fine with PX4.

      posted in VOXL 2
      C
      cguzikowski
    • RE: Issues with M9N GPS and Ardupilot

      @Eric-Katzfey I see the GPS_RAW_INT message come in, but all of the fields are zeroed out and there is no cursor on the map:
      26f5ccaf-5981-4f23-bd1d-47524fb4c41f-image.png

      I tested it with PX4 and I was getting reasonable lat/lon positions along with all of the other data fields being filled out.

      posted in VOXL 2
      C
      cguzikowski
    • voxl_mpa_to_ros2 only publishes left stereo camera

      Hello, I am currently trying to use stereo cameras (m0015) within a custom ROS2 application using the voxl_mpa_to_ros2 (version 0.0.6) package on the VOXL2 (SDK 1.4.0), but I am only able to see left stereo camera when running the mpa to ros converter. Here is the output of ros2 topic list:

      /imu_apps
      /parameter_events
      /rosout
      /stereo
      /stereo_disparity
      /stereo_disparity_scaled
      /stereo_pc
      /voa_pc_out
      /vvhub_aligned_vio
      /vvhub_body_wrt_fixed
      /vvhub_body_wrt_local
      

      According to the docs, I should expect something along the lines of /stereo/left and /stereo/right. Recording the topic /stereo and then playing it back confirms that only the left camera is being recorded. Here is the output of /etc/modalai/voxl-camera-server.conf, which was created by running voxl-configure-cameras 10

      {
      	"version":	0.1,
      	"fsync_en":	false,
      	"fsync_gpio":	109,
      	"cameras":	[{
      			"type":	"ov7251",
      			"name":	"stereo",
      			"enabled":	true,
      			"camera_id":	0,
      			"camera_id_second":	1,
      			"independent_exposure":	false,
      			"fps":	30,
      			"en_rotate":	false,
      			"en_rotate_second":	false,
      			"en_preview":	true,
      			"preview_width":	640,
      			"preview_height":	480,
      			"en_raw_preview":	true,
      			"ae_mode":	"lme_msv",
      			"gain_min":	54,
      			"gain_max":	8000,
      			"ae_desired_msv":	60,
      			"exposure_min_us":	20,
      			"exposure_max_us":	33000,
      			"exposure_soft_min_us":	5000,
      			"ae_filter_alpha":	0.600000023841858,
      			"ae_ignore_fraction":	0.20000000298023224,
      			"ae_slope":	0.05000000074505806,
      			"ae_exposure_period":	1,
      			"ae_gain_period":	1
      		}]
      }
      

      Both cameras are fully functional when viewing from the portal.

      How can I get data from both of the cameras?

      posted in ROS
      C
      cguzikowski
    • RE: Issues with M9N GPS and Ardupilot

      @Eric-Katzfey We just got the m10s gps that you linked and are still having some trouble. Again when running px4 the gps works as expected, but running ardupilot seems to cause some issues. Getting the same behavior as the m9n, where running voxl-inspect-gps has no output:
      963eabaf-45fc-4853-b457-8c2ef98cdae7-image.png

      Any ideas on what to try next?

      posted in VOXL 2
      C
      cguzikowski
    • RE: Issues with M9N GPS and Ardupilot

      @Eric-Katzfey Thank you for the response, we don't have that GPS and would like to try to get the M9N to work if possible. Is there any troubleshooting we can try before purchasing a new unit? PX4 has a .conf file in /etc/modalai, I don't see one for Ardupilot, could this be an issue? I have also tried to tweak the parameters in the file /data/APM/defaults.parm and also through QGC, but have had no luck.

      posted in VOXL 2
      C
      cguzikowski
    • Issues with M9N GPS and Ardupilot

      Hi,
      I am currently using a voxl 2 (SDK 1.4.0) running ardupilot version 4.7.0-4803bc14. I have attached a Holybro M9N GPS micro via the J19 connector. When using px4, I am seeing the GPS reading on the map for QGC, and the command voxl-inspect-gps gives out the expected readings. We are trying to use ardupilot, and for some reason when disabling px4 and enabling ardupilot, I lose the ability to see the GPS in QGC and running voxl-inspect-gps shows nothing - however the voxl still connects to QGC. In the documentation, most of the GPS information is linked to when using px4, can GPS be used with ardupilot? If so, how?

      posted in VOXL 2
      C
      cguzikowski
    • OV9782, M0113 Front stereo camera support in SDK 1.4.0+ on VOXL2

      I found an issue when trying to use the front stereo setup with 2 OV9782 sensors (camera configuration 12) on a newer SDK (1.4.0+) version. On a fresh install, I ran the command: voxl-configure-cameras 12 and then rebooted. Then when running voxl-camera-server, the following errors and warnings pop up and flood the terminal:

      WARNING: preview buffer pool for Cam(stereo), Frame(16) has 0 free, skipping request
      ERROR in pipe_server_get_num_clients, channel should be between 0 & 31
      

      Then when trying to view the image previews in the portal, no image appears. Running one camera at a time worked, but

      I do not believe this is a hardware issue, as without touching anything, I installed a fresh 1.3.5 image on the system, ran voxl-configure-cameras 12, rebooted, ran voxl-camera-server with no errors, and the image appears just fine in the portal.

      One thing that I did notice was that even though there were no images in the 1.4.0 and 1.4.1 portal instances, there were more boxes to check for different image viewings. In the 1.3.5 portal, there was only the option to see 'stereo_grey'

      posted in VOXL SDK
      C
      cguzikowski