ROS2 foxy not working on the voxl.
-
After following install instructions, I keep getting this error when running the voxl_mpa_to_ros2_node
terminate called after throwing an instance of 'std::bad_alloc' -
Hello, could you describe your setup a bit? What version of voxl-suite are you using? If you could send me the output of
voxl-versionthat would be really helpful -
Hello, could you describe your setup a bit? What version of voxl-suite are you using? If you could send me the output of
voxl-versionthat would be really helpful@ApoorvThapliyal
Hello,I am using 1.6.3. Here is my attached output. Thank you!
starling2-max (D0012):~$ voxl-version ──────────────────────────────────────────────────────────────────────────────── system-image: 1.8.06-M0054-14.1a-perf kernel: #1 SMP PREEMPT Wed Oct 22 04:29:38 UTC 2025 4.19.125 ──────────────────────────────────────────────────────────────────────────────── hw platform: M0054 mach.var: 1.2.1 SKU: MRB-D0012-4-V2-C29-T8-M36-X0 ──────────────────────────────────────────────────────────────────────────────── voxl-suite: 1.6.3 ──────────────────────────────────────────────────────────────────────────────── Packages: Repo: http://voxl-packages.modalai.com/ qrb5165 stable Last Updated: 2026-07-22 18:10:26 List: libfc-sensor 1.0.9 libmodal-cv 0.6.0 libmodal-exposure 0.1.4 libmodal-flow 1.0.3 libmodal-journal 0.2.7 libmodal-json 0.4.8 libmodal-pipe 2.14.11 libqrb5165-io 0.6.3 libvoxl-cci-direct 0.3.3 libvoxl-codec 0.0.2 libvoxl-cutils 0.1.6 modalai-slpi 1.2.2 mv-voxl 0.1-r0 qrb5165-bind 0.1-r0 qrb5165-dfs-server 0.2.0 qrb5165-mini-tof-server 0.2.2 qrb5165-rangefinder-server 0.1.6 qrb5165-slpi-test-sig 01-r0 qrb5165-tflite 2.17.2 voxl-bind-spektrum 0.1.1 voxl-camera-calibration 0.6.1 voxl-camera-server 2.2.19 voxl-ceres-solver 2:2.0.0-2 voxl-configurator 1.1.5 voxl-cpu-monitor 0.7.7 voxl-docker-support 1.3.1 voxl-elrs 1.1.0 voxl-esc 1.5.7 voxl-esptool 0.2.0 voxl-feature-tracker 0.5.2 voxl-flow-server 0.3.6 voxl-gphoto2-server 0.0.10 voxl-imu-server 2.0.1 voxl-io-server 0.0.8 voxl-jpeg-turbo 2.1.3-7 voxl-lepton-server 1.3.3 voxl-lepton-tracker 0.0.4 voxl-libgeographic 1.0.0 voxl-libgphoto2 0.0.4 voxl-libuvc 1.0.7 voxl-logger 0.6.1 voxl-mapper 0.2.4 voxl-mavcam-manager 0.6.0 voxl-mavlink 0.1.6 voxl-mavlink-server 1.4.14 voxl-microdds-agent 3.0.0-0 voxl-modem 1.2.3 voxl-mongoose 7.19.0 voxl-mpa-to-ros 0.3.9 voxl-mpa-to-ros2 0.0.7 voxl-mpa-tools 1.5.6 voxl-nano-tracker 0.1.7 voxl-nlopt 2.5.0-5 voxl-open-vins-server 0.6.0 voxl-opencv 4.5.5-3 voxl-osd 0.3.8 voxl-portal 0.8.7 voxl-px4 1.15.3-2.0.88-202606042017 voxl-px4-params 0.9.0 voxl-qvio-server 1.2.3 voxl-remote-id 0.0.9 voxl-reset-slpi 0.0.1 voxl-ros2-foxy 0.0.1 voxl-state-estimator 0.0.6 voxl-streamer 0.8.0 voxl-suite 1.6.3 voxl-tag-detector 0.1.0 voxl-tflite-server 0.5.1 voxl-utils 2.0.2 voxl-uvc-server 0.1.7 voxl-vision-hub 1.9.21 voxl-voxblox 1.1.5 voxl-vtx 2.0.2 voxl-wavemux 0.0.3 voxl2-io 0.0.3 voxl2-security-hardening-utls 1.0-r0 voxl2-system-image 1.8.06-r0 voxl2-wlan 1.0-r0 ──────────────────────────────────────────────────────────────────────────────── -
Hello @jbiscan21
I have not been able to reproduce this.
What is your camera config? I am guessing the mpa to ros2 node is bridging both camera and IMU?
-
Hello @jbiscan21
I have not been able to reproduce this.
What is your camera config? I am guessing the mpa to ros2 node is bridging both camera and IMU?
@brahim Hm, after a few reboots and trying again a few days later it is working. Do you know where this package lives so I can inspect the source code? I am not sure what the ros2 node is doing but I do see topics relating to imu and camera data.
I have the Starling2 Max C29 config in regards to sensors.
ing2-max (D0012):~$ ros2 run voxl_mpa_to_ros2 voxl_mpa_to_ros2_node Found new interface: yolo11_tflite_data 2026-07-28 21:25:30.085 [SUBSCRIBER Error] Deserialization of data failed -> Function deserialize_change Found new interface: hires_front_large_color 2026-07-28 21:25:36.819 [SUBSCRIBER Error] Deserialization of data failed -> Function deserialize_change Found new interface: hires_front_large_encoded Found new interface: hires_front_large_grey Found new interface: hires_front_small_color Found new interface: hires_front_small_encoded Found new interface: hires_front_small_grey Found new interface: hires_front_snapshot Found new interface: tof_conf Found new interface: tof_depth Found new interface: tof_ir Found new interface: tracking_down Found new interface: tracking_down_bayer Found new interface: tracking_down_misp_encoded Found new interface: tracking_down_misp_grey Found new interface: tracking_down_misp_norm Found new interface: tracking_front Found new interface: tracking_front_bayer Found new interface: tracking_front_misp_encoded Found new interface: tracking_front_misp_grey Found new interface: tracking_front_misp_norm Found new interface: yolo11_tflite Found new interface: imu_apps Found new interface: imu_apps_body Found new interface: imu_apps_notemp Found new interface: imu_apps_raw Found new interface: imu_mavlink Found new interface: tof_pc Found new interface: voa_pc_out Found new interface: voxl_mapper_aligned_ptcloud Found new interface: vvhub_body_wrt_fixed Found new interface: vvhub_body_wrt_local Found new interface: ov Found new interface: vvhub_aligned_vio
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login