Address not mapped
-
Re: Address not mapped
I am having similar issue. Please help me to fix thisvoxl2:/$ voxl-configure-cameras 4 Camera Configuration: 4 enabling and starting voxl-camera-server Done Configuring Cameras voxl2:/$ voxl-camera-server -d 0 existing instance of voxl-camera-server found, attempting to stop it No secondary id found for camera: tracking, assuming mono No secondary id found for camera: hires, assuming mono ------ voxl-camera-server: Starting camera server Attempting to open the hal module SUCCESS: Camera module opened on attempt 0 ----------- Number of cameras: 1 Cam idx: 0, Cam slot: 2, Slave Address: 0x00C0, Sensor Id: 0x7750 Successfully found configuration match for camera 0: 640x480 Allocating Buffer: 640x480 : HAL_PIXEL_FORMAT_YCBCR_420_888 Allocating Buffer: 640x480 : HAL_PIXEL_FORMAT_YCBCR_420_888 Allocating Buffer: 640x480 : HAL_PIXEL_FORMAT_YCBCR_420_888 Allocating Buffer: 640x480 : HAL_PIXEL_FORMAT_YCBCR_420_888 Allocating Buffer: 640x480 : HAL_PIXEL_FORMAT_YCBCR_420_888 Allocating Buffer: 640x480 : HAL_PIXEL_FORMAT_YCBCR_420_888 Allocating Buffer: 640x480 : HAL_PIXEL_FORMAT_YCBCR_420_888 Allocating Buffer: 640x480 : HAL_PIXEL_FORMAT_YCBCR_420_888 Allocating Buffer: 640x480 : HAL_PIXEL_FORMAT_YCBCR_420_888 Allocating Buffer: 640x480 : HAL_PIXEL_FORMAT_YCBCR_420_888 Allocating Buffer: 640x480 : HAL_PIXEL_FORMAT_YCBCR_420_888 Allocating Buffer: 640x480 : HAL_PIXEL_FORMAT_YCBCR_420_888 Allocating Buffer: 640x480 : HAL_PIXEL_FORMAT_YCBCR_420_888 Allocating Buffer: 640x480 : HAL_PIXEL_FORMAT_YCBCR_420_888 Allocating Buffer: 640x480 : HAL_PIXEL_FORMAT_YCBCR_420_888 Allocating Buffer: 640x480 : HAL_PIXEL_FORMAT_YCBCR_420_888 Entered thread: cam0-request(tid: 21393) Started Camera: tracking Entered thread: cam0-result(tid: 21394) Segmentation fault: Fault thread: voxl-camera-ser(tid: 21362) Fault address: 0x566016f321 Address not mapped. Segmentation fault voxl2:/$ voxl-camera-server -d 0 No secondary id found for camera: tracking, assuming mono No secondary id found for camera: hires, assuming mono ------ voxl-camera-server: Starting camera server Attempting to open the hal module SUCCESS: Camera module opened on attempt 0 ----------- Number of cameras: 2 Cam idx: 0, Cam slot: 0, Slave Address: 0x007A, Sensor Id: 0x003D Cam idx: 1, Cam slot: 2, Slave Address: 0x00C0, Sensor Id: 0x7750 ERROR: Camera 0 failed to find supported preview config: 640x480 ERROR: Failed to start camera: tracking, exiting voxl2:/$ voxl-camera-server -d 0 No secondary id found for camera: tracking, assuming mono No secondary id found for camera: hires, assuming mono ------ voxl-camera-server: Starting camera server Attempting to open the hal module SUCCESS: Camera module opened on attempt 0 ----------- Number of cameras: 2 Cam idx: 0, Cam slot: 0, Slave Address: 0x007A, Sensor Id: 0x003D Cam idx: 1, Cam slot: 2, Slave Address: 0x00C0, Sensor Id: 0x7750 ERROR: Camera 0 failed to find supported preview config: 640x480 ERROR: Failed to start camera: tracking, exiting voxl2:/$ -
Sensor ID 0x003D is a ToF right?
Seems like you have a Tof and Tracking, but you are trying to use a configuration for tracking and hires (4).
https://docs.modalai.com/voxl2-camera-configs/#c4---tracking-and-hires-only
Reading along? Create a free ModalAI Forum account to join in.
With an account you can reply, ask your own question, get an email when a ModalAI engineer answers, and mark the reply that solved it. Your place in each thread is saved between visits.
Questions about VOXL, Flight Core, ESCs and ModalAI drones are answered here by the engineers who build them.
Register Login