As we talk under Sinamics topic I would like to run a new discussion to get help how to run Pixhawk with PI model 3. At the beginning let me list parts that I own already and next I will try to clarify what I would like to achieve.
Current configuration :
- DJI F450 frame with ECS 420 lite + 2312E motors;
- Naza v2 flying controller;
- Android mini PC with small UVC camera for preview and clone of SJ4000 for recording ( it can work as UVC camera )
- Platinet LTE 4 USB modem with Wi-Fi ( details )
- more ...less important parts
Target configuration:
- stay and keep DJI F450 frame with ECS 420 lite incl. 2312E motors
- update flying controller from Naza to Pixhawk ( I have already bought a clone from Radiolink company radiolink
- RPI 3 + small* UVC camera for preview and clone of SJ4000** for recording ( it works aslo as UVC camera )
- Platinet LTE 4 USB modem with Wi-Fi
- small UAV camera : TITANIUM - after removing it from plastic box it very small and cheap USB 2.0 camera module forever sc200 (sj4000 clone)
At the beginning I would like to connect small camera with PI3 only to check this part of configuration (using local area network). Next add pixhawk and modem and replace those part on my frame. Then I will be thinking about full telemetry but those 2 basic steps are the most important for me.
As I wrote in previous post I did install UAV package on my PI and following error appear in gstreamer log:
After initial run I have following code available in gstreamer log:
mmal: mmal_vc_component_create: failed to create component 'vc.ril.camera' (1:ENOMEM)
mmal: mmal_component_create_core: could not create component 'vc.ril.camera' (1)
mmal: Failed to create camera component mmal: main: Failed to create camera component
mmal: Camera is not detected. Please check carefully the camera module is installed correctly
Setting pipeline to PAUSED ... Pipeline is PREROLLING ...
ERROR: from element /GstPipeline:pipeline0/GstH264Parse:h264parse0: No valid frames
found before end of stream Additional debug info: gstbaseparse.c(1155):
gst_base_parse_sink_event_default (): /GstPipeline:pipeline0/GstH264Parse:h264parse0
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ... Freeing pipeline ...
My camera works very well with Cheese in UVC mode and additionally I did test it with android platform with various software.
Camera works perfect in UVC mode with Cheese application on and same RPI and additionally it works well with android also. Can you help and let me know what should I do to run gstreamer related part at the beginning ?
Radiolink Pixhawk PIX Flight Controller
Has anyone tested this version of Pixhawk ?http://radiolink.com.cn/doce/product-detail-116.html
Read more...