├── .github └── workflows │ └── quic-organization-repolinter.yml ├── CODE-OF-CONDUCT.md ├── CONTRIBUTING.md ├── Docs └── images │ ├── Logo_QIC_vertical_rgb.png │ ├── button-docs.png │ ├── button-forums.png │ ├── button-install.png │ ├── button-overview.png │ ├── button-whats-new.png │ ├── button_aimet-on-github-pages.png │ ├── button_discussion-forums.png │ ├── footer-icon.png │ ├── logo-quic-on@h68.png │ ├── logo-quic.png │ └── white-space.png ├── LICENSE ├── RB1RB2 ├── AI-ML-apps │ ├── snpe_classification │ │ ├── LICENSE │ │ ├── Makefile │ │ ├── README.md │ │ ├── snpe_classification.c │ │ └── snpe_classification.config │ ├── snpe_detection │ │ ├── LICENSE │ │ ├── Makefile │ │ ├── README.md │ │ ├── coco_labels.txt │ │ ├── mle_snpe.config │ │ └── snpe_detection.c │ ├── tflite_classification │ │ ├── LICENSE │ │ ├── Makefile │ │ ├── README.md │ │ └── tflite_classification.c │ ├── tflite_posenet │ │ ├── LICENSE │ │ ├── Makefile │ │ ├── README.md │ │ └── tflite_posenet.c │ └── tflite_segmentation │ │ ├── LICENSE │ │ ├── Makefile │ │ ├── README.md │ │ └── tflite_segmentation.c ├── Codec2-Video │ ├── LICENSE │ ├── README.md │ ├── app │ │ └── src │ │ │ └── gst-codec2_h264.c │ ├── image │ │ ├── 01_make.png │ │ ├── 02_encode.png │ │ └── 03_decode.png │ └── makefile ├── GStreamer-apps │ └── cpp │ │ ├── LICENSE │ │ ├── Makefile │ │ ├── README.md │ │ ├── gst_alsa │ │ ├── HWConfig │ │ │ ├── install.sh │ │ │ ├── qc-alsa-restore.service │ │ │ └── qc_alsa_restore.sh │ │ ├── LICENSE │ │ ├── README.md │ │ ├── image │ │ │ ├── 01_playback.png │ │ │ ├── 03_capture.png │ │ │ ├── 04_capture_playback.png │ │ │ └── 05_init_service.png │ │ └── src │ │ │ ├── Makefile │ │ │ └── gst_audio_sample.c │ │ ├── gst_audio │ │ ├── Makefile │ │ ├── README.md │ │ ├── audio_playback.c │ │ └── audio_record.c │ │ ├── gst_camera │ │ ├── Makefile │ │ ├── README.md │ │ ├── ispcam_display.c │ │ └── usbcam_display.c │ │ ├── gst_encode_decode │ │ ├── Makefile │ │ ├── README.md │ │ ├── ispcam_encode_mp4.c │ │ └── mp4_decode_playback.c │ │ ├── gst_streaming │ │ ├── Makefile │ │ ├── README.md │ │ └── tcp_server.c │ │ ├── gst_tflite │ │ ├── LICENSE │ │ ├── Makefile │ │ ├── README.md │ │ └── tflite_classification.c │ │ ├── gst_transform │ │ ├── Makefile │ │ ├── README.md │ │ └── transform_display.c │ │ └── weston.sh ├── LICENSE ├── ROS-apps │ ├── ROS-Caffe │ │ ├── CMakeLists.patch │ │ ├── LICENSE │ │ ├── README.md │ │ ├── data │ │ │ ├── cat.jpg │ │ │ ├── deploy.prototxt │ │ │ ├── imagenet_mean.binaryproto │ │ │ └── synset_words.txt │ │ ├── image │ │ │ ├── 1.png │ │ │ ├── 2.png │ │ │ ├── 3.1.png │ │ │ ├── 3.png │ │ │ ├── 4.png │ │ │ ├── 5.png │ │ │ ├── 6.png │ │ │ ├── 7.png │ │ │ └── 8.png │ │ ├── io.patch │ │ └── window_data_layer.patch │ └── ROS-TFLite │ │ ├── LICENSE │ │ ├── README.md │ │ └── image │ │ ├── 1_apt-get_update_error.png │ │ ├── 2_apt-get_update_success.png │ │ ├── 3_install-ros-melodic-desktop.png │ │ ├── 4_compile_the+workspace.png │ │ ├── 5_set_device.png │ │ └── 6_target_detection_result.png ├── peripheral-devices │ ├── OpenCL-Application │ │ ├── Benchmark │ │ │ └── 0001-OpenCL-Sample-App-Benchmark.patch │ │ ├── FFT │ │ │ └── 0001-OpenCL-Sample-App-FFT.patch │ │ ├── LICENSE │ │ ├── README.md │ │ └── matrix_multiply │ │ │ ├── Makefile │ │ │ ├── Matrix multiply.cl │ │ │ └── matrix_multiply.cpp │ └── camera-hal3-sample │ │ ├── LICENSE │ │ ├── README.md │ │ └── src │ │ ├── CameraHAL3Buffer.cpp │ │ ├── CameraHAL3Buffer.h │ │ ├── CameraHAL3Config.cpp │ │ ├── CameraHAL3Config.h │ │ ├── CameraHAL3Device.cpp │ │ ├── CameraHAL3Device.h │ │ ├── CameraHAL3Main.cpp │ │ ├── CameraHAL3Snapshot.cpp │ │ ├── CameraHAL3Snapshot.h │ │ ├── Makefile │ │ └── create_so_link.sh └── platform-bringup │ ├── Device-info │ ├── LICENSE │ ├── README.md │ ├── image │ │ ├── Device-info-snapshot-1.png │ │ ├── Device-info-snapshot-2.png │ │ └── Device-info-snapshot-3.png │ └── src │ │ ├── Makefile │ │ └── qrbx210_info.c │ ├── GPIO-samples │ ├── LICENSE │ ├── README.md │ ├── image │ │ ├── qrbx210-platform-snapshot-01.png │ │ ├── qrbx210-platform-snapshot-02.png │ │ └── qrbx210-platform-snapshot-03.png │ └── src │ │ ├── Makefile │ │ └── qrbx210_platform.c │ ├── WIFI-OnBoarding │ ├── LICENSE │ ├── README.md │ ├── image │ │ ├── ap_connect.png │ │ ├── ap_off.png │ │ ├── ap_on.png │ │ ├── fail_get_sta.png │ │ ├── input_1.png │ │ ├── new_get_ap.png │ │ ├── new_get_sta.png │ │ ├── new_menu.png │ │ ├── new_scan.png │ │ ├── new_set_ap.png │ │ ├── new_set_sta.png │ │ ├── rm_all_sta.png │ │ ├── rm_save_sta.png │ │ ├── set_same_sta.png │ │ ├── sta_off.png │ │ ├── sta_on.png │ │ ├── wifi_off.png │ │ └── wifi_on.png │ └── wifi │ │ ├── ap_switch.sh │ │ ├── get_sta.sh │ │ ├── rm_sta.sh │ │ ├── set_ap.sh │ │ ├── set_sta.sh │ │ ├── sta_switch.sh │ │ ├── wifi.c │ │ └── wifi_switch.sh │ └── Weston-Client-Application │ ├── LICENSE │ ├── README.md │ ├── image │ ├── blue.png │ ├── green.png │ └── red.png │ └── simple-egl.c ├── RB5 ├── linux_kernel_4_x │ ├── AI-ML-apps │ │ ├── AI_Vision_Solutions │ │ │ ├── CMake │ │ │ │ └── FindGStreamer.cmake │ │ │ ├── CMakeLists.txt │ │ │ ├── LICENSE.txt │ │ │ ├── README.md │ │ │ ├── data │ │ │ │ ├── coco_label.txt │ │ │ │ ├── config.json │ │ │ │ ├── crack_labels.txt │ │ │ │ ├── defective_labels.txt │ │ │ │ ├── fire_labels.txt │ │ │ │ ├── helmet_label.txt │ │ │ │ └── trash_labels.txt │ │ │ ├── docs │ │ │ │ ├── Build.md │ │ │ │ ├── DesignDetails.md │ │ │ │ ├── ModelPreperation.md │ │ │ │ └── SetupDevice.md │ │ │ ├── inc │ │ │ │ ├── Configuration.h │ │ │ │ ├── DecodeQueue.h │ │ │ │ ├── Detection.h │ │ │ │ ├── ModelInference.h │ │ │ │ ├── SNPERuntime.h │ │ │ │ ├── StreamDecode.h │ │ │ │ ├── StreamEncode.h │ │ │ │ ├── Utils.h │ │ │ │ └── YOLOv5Snpe.h │ │ │ ├── models │ │ │ │ └── README.md │ │ │ └── src │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── Configuration.cpp │ │ │ │ ├── DecodeQueue.cpp │ │ │ │ ├── ModelInference.cpp │ │ │ │ ├── SNPERuntime.cpp │ │ │ │ ├── StreamDecode.cpp │ │ │ │ ├── StreamEncode.cpp │ │ │ │ ├── YOLOv5Snpe.cpp │ │ │ │ └── main.cpp │ │ ├── FastCV-Samples │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── fastcvArithmetic │ │ │ │ ├── Makefile │ │ │ │ ├── UbuntuARM.min │ │ │ │ ├── inc │ │ │ │ │ └── fastcv.h │ │ │ │ └── src │ │ │ │ │ └── fastcvArithmetic.cpp │ │ │ ├── fastcvcolorconversion │ │ │ │ ├── Makefile │ │ │ │ ├── UbuntuARM.min │ │ │ │ ├── inc │ │ │ │ │ └── fastcv.h │ │ │ │ └── src │ │ │ │ │ └── color_conversion.cpp │ │ │ └── fastcvdownscale │ │ │ │ ├── Makefile │ │ │ │ ├── UbuntuARM.min │ │ │ │ ├── inc │ │ │ │ └── fastcv.h │ │ │ │ └── src │ │ │ │ └── fastcvdownscale.cpp │ │ ├── HexgonSDK-Image-classification │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ └── image │ │ │ │ ├── 01_Set_ENV.png │ │ │ │ ├── 02_make.png │ │ │ │ ├── 04_elfsigner.png │ │ │ │ ├── 05_libhexagon_nn_skel.png │ │ │ │ ├── 06_Download-TensorFlow.png │ │ │ │ ├── 07_install_Bazel.png │ │ │ │ ├── 08_make_Bazel.png │ │ │ │ ├── 11_download_patch.png │ │ │ │ ├── 12_make.png │ │ │ │ └── wayland-screenshot.png │ │ ├── gst_mle_oss │ │ │ ├── README.md │ │ │ ├── gst_snpe │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── README.txt │ │ │ │ ├── config.h.in │ │ │ │ ├── mle_engine │ │ │ │ │ ├── CMakeLists.txt │ │ │ │ │ ├── common_utils.h │ │ │ │ │ ├── ml_engine_impl.cc │ │ │ │ │ ├── ml_engine_intf.h │ │ │ │ │ ├── snpe_base.cc │ │ │ │ │ ├── snpe_base.h │ │ │ │ │ ├── snpe_detection.cc │ │ │ │ │ ├── snpe_detection.h │ │ │ │ │ ├── snpe_segmentation.cc │ │ │ │ │ ├── snpe_segmentation.h │ │ │ │ │ ├── snpe_single_ssd.cc │ │ │ │ │ └── snpe_single_ssd.h │ │ │ │ └── mle_gst_snpe │ │ │ │ │ ├── CMakeLists.txt │ │ │ │ │ ├── mle_snpe.cc │ │ │ │ │ ├── mle_snpe.config │ │ │ │ │ └── mle_snpe.h │ │ │ └── gst_tflite │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── README.txt │ │ │ │ ├── config.h.in │ │ │ │ ├── mle_engine │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── common_utils.h │ │ │ │ ├── ml_engine_impl.cc │ │ │ │ ├── ml_engine_intf.h │ │ │ │ ├── tflite_base.cc │ │ │ │ ├── tflite_base.h │ │ │ │ ├── tflite_posenet.cc │ │ │ │ ├── tflite_posenet.h │ │ │ │ ├── tflite_segmentation.cc │ │ │ │ └── tflite_segmentation.h │ │ │ │ └── mle_gst_tflite │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── mle_tflite.cc │ │ │ │ ├── mle_tflite.config │ │ │ │ └── mle_tflite.h │ │ ├── snpe_classification │ │ │ ├── LICENSE │ │ │ ├── Makefile │ │ │ ├── README.md │ │ │ ├── imagenet_slim_labels.txt │ │ │ ├── install.sh │ │ │ ├── snpe_classification.c │ │ │ ├── snpe_classification.config │ │ │ └── weston.sh │ │ ├── snpe_detection │ │ │ ├── LICENSE │ │ │ ├── Makefile │ │ │ ├── README.md │ │ │ ├── coco_labels.txt │ │ │ ├── install.sh │ │ │ ├── mle_snpe.config │ │ │ ├── snpe_detection.c │ │ │ └── weston.sh │ │ ├── tflite_posenet │ │ │ ├── LICENSE │ │ │ ├── Makefile │ │ │ ├── README.md │ │ │ ├── install.sh │ │ │ ├── tflite_posenet.c │ │ │ └── weston.sh │ │ └── tflite_segmentation │ │ │ ├── LICENSE │ │ │ ├── Makefile │ │ │ ├── README.md │ │ │ ├── install.sh │ │ │ ├── tflite_segmentation.c │ │ │ └── weston.sh │ ├── AWS-Samples │ │ ├── AWS-Robomaker │ │ │ ├── AWS-Robomaker-Deployement │ │ │ │ └── Readme.md │ │ │ └── Green-Grass-Installation │ │ │ │ ├── Images │ │ │ │ ├── colorschememapping.xml │ │ │ │ ├── filelist.xml │ │ │ │ ├── image001.jpg │ │ │ │ ├── image002.jpg │ │ │ │ ├── image003.jpg │ │ │ │ ├── image004.jpg │ │ │ │ ├── image005.png │ │ │ │ ├── image006.jpg │ │ │ │ ├── image007.png │ │ │ │ ├── image008.jpg │ │ │ │ ├── image009.png │ │ │ │ ├── image010.jpg │ │ │ │ ├── image011.png │ │ │ │ ├── image012.jpg │ │ │ │ ├── image013.png │ │ │ │ ├── image014.jpg │ │ │ │ ├── image015.png │ │ │ │ ├── image016.jpg │ │ │ │ ├── image017.png │ │ │ │ ├── image018.jpg │ │ │ │ ├── image019.png │ │ │ │ ├── image020.png │ │ │ │ ├── image021.png │ │ │ │ ├── image022.png │ │ │ │ ├── image023.jpg │ │ │ │ ├── image024.jpg │ │ │ │ ├── image025.jpg │ │ │ │ ├── image026.jpg │ │ │ │ ├── image027.png │ │ │ │ ├── image028.png │ │ │ │ ├── image029.jpg │ │ │ │ ├── image030.jpg │ │ │ │ ├── image031.png │ │ │ │ ├── image032.jpg │ │ │ │ ├── image033.png │ │ │ │ ├── image034.jpg │ │ │ │ ├── image035.png │ │ │ │ ├── image036.png │ │ │ │ ├── image037.jpg │ │ │ │ ├── image038.jpg │ │ │ │ ├── image039.png │ │ │ │ ├── image040.jpg │ │ │ │ ├── image041.jpg │ │ │ │ ├── image042.jpg │ │ │ │ ├── image043.png │ │ │ │ ├── image044.png │ │ │ │ ├── image045.jpg │ │ │ │ ├── image046.jpg │ │ │ │ ├── item0001.xml │ │ │ │ ├── item0003.xml │ │ │ │ ├── item0005.xml │ │ │ │ ├── props002.xml │ │ │ │ ├── props004.xml │ │ │ │ ├── props006.xml │ │ │ │ └── themedata.thmx │ │ │ │ └── README.md │ │ └── AWS-Sample-Applications │ │ │ ├── CloudwatchLogs-ros2 │ │ │ ├── README.md │ │ │ └── image │ │ │ │ ├── CloudwatchLog_Screenshot_1.PNG │ │ │ │ ├── CloudwatchLog_Screenshot_2.PNG │ │ │ │ └── CloudwatchLog_Screenshot_3.PNG │ │ │ ├── CloudwatchMetrics-ros2 │ │ │ ├── README.md │ │ │ └── image │ │ │ │ ├── CloudwatchMetrics_Screenshot_1.PNG │ │ │ │ ├── CloudwatchMetrics_Screenshot_2.PNG │ │ │ │ ├── CloudwatchMetrics_Screenshot_3.PNG │ │ │ │ └── CloudwatchMetrics_Screenshot_4.PNG │ │ │ ├── README.md │ │ │ ├── image │ │ │ ├── AWS-CLI-1.png │ │ │ ├── AWS-CLI-2.png │ │ │ ├── AWS-CLI-3.png │ │ │ └── AWS-CLI-4.png │ │ │ ├── kinesisvideo-ros2 │ │ │ ├── README.md │ │ │ └── image │ │ │ │ ├── KinesisVideo_Screenshot_1.PNG │ │ │ │ ├── KinesisVideo_Screenshot_2.PNG │ │ │ │ ├── KinesisVideo_Screenshot_3.PNG │ │ │ │ ├── KinesisVideo_Screenshot_4.PNG │ │ │ │ └── KinesisVideo_Screenshot_5.PNG │ │ │ ├── lex-ros2 │ │ │ ├── README.md │ │ │ └── image │ │ │ │ ├── Lex_Screenshot_1.PNG │ │ │ │ ├── Lex_Screenshot_2.PNG │ │ │ │ └── Lex_Screenshot_3.PNG │ │ │ ├── mqtt-bridge │ │ │ ├── README.md │ │ │ └── image │ │ │ │ ├── Mqtt_Screenshot_1.PNG │ │ │ │ ├── Mqtt_Screenshot_2.PNG │ │ │ │ ├── Mqtt_Screenshot_3.PNG │ │ │ │ ├── Mqtt_Screenshot_4.PNG │ │ │ │ ├── Mqtt_Screenshot_5.png │ │ │ │ └── Mqtt_Screenshot_6.png │ │ │ ├── tts-ros2 │ │ │ ├── README.md │ │ │ └── image │ │ │ │ ├── TTS_Screenshot_1.PNG │ │ │ │ └── TTS_Screenshot_2.PNG │ │ │ ├── utils-commons │ │ │ ├── README.md │ │ │ └── image │ │ │ │ └── UtilsCommon_Screenshot_1.PNG │ │ │ └── utils-ros2 │ │ │ ├── README.md │ │ │ └── image │ │ │ └── Utils_Screenshot_1.PNG │ ├── C2D-Samples │ │ ├── LICENSE │ │ ├── README.md │ │ ├── image │ │ │ ├── choose.png │ │ │ ├── color_format_dst.png │ │ │ └── rotate_scale_dst.png │ │ └── src │ │ │ ├── C2DColorConverter.h │ │ │ ├── Makefile │ │ │ ├── c2d_test.cpp │ │ │ ├── demo.yuv │ │ │ └── set_env.sh │ ├── GStreamer-apps │ │ ├── cpp │ │ │ ├── LICENSE │ │ │ ├── Makefile │ │ │ ├── README.md │ │ │ ├── gst_alsa │ │ │ │ ├── HWConfig │ │ │ │ │ ├── install.sh │ │ │ │ │ ├── qc-alsa-restore.service │ │ │ │ │ └── qc_alsa_restore.sh │ │ │ │ ├── README.md │ │ │ │ ├── image │ │ │ │ │ ├── 01_make.png │ │ │ │ │ ├── 02_speaker_connect.png │ │ │ │ │ ├── 03_playback.png │ │ │ │ │ ├── 04_enable_dmic.png │ │ │ │ │ ├── 05_capture_playback.png │ │ │ │ │ └── 06_init_service.png │ │ │ │ └── src │ │ │ │ │ ├── Makefile │ │ │ │ │ └── gst_audio_sample.c │ │ │ ├── gst_audio │ │ │ │ ├── Makefile │ │ │ │ ├── README.md │ │ │ │ ├── audio_playback.c │ │ │ │ └── audio_record.c │ │ │ ├── gst_camera │ │ │ │ ├── Makefile │ │ │ │ ├── README.md │ │ │ │ ├── image │ │ │ │ │ ├── ispCamera_display_weston.png │ │ │ │ │ └── usbCamera_display_weston.png │ │ │ │ ├── ispcam_display.c │ │ │ │ └── usbcam_display.c │ │ │ ├── gst_encode_decode │ │ │ │ ├── Makefile │ │ │ │ ├── README.md │ │ │ │ ├── ispcam_encode_mp4.c │ │ │ │ ├── mp4_decode_playback.c │ │ │ │ └── usbcam_encode_mp4.c │ │ │ ├── gst_gui_app │ │ │ │ ├── README.md │ │ │ │ ├── gui_app.pro │ │ │ │ ├── image │ │ │ │ │ └── gui-app-snapshot.png │ │ │ │ ├── main.cpp │ │ │ │ ├── qgstpipeline.cpp │ │ │ │ ├── qgstpipeline.h │ │ │ │ ├── qgstthreadcontroller.cpp │ │ │ │ ├── qgstthreadcontroller.h │ │ │ │ ├── window.cpp │ │ │ │ └── window.h │ │ │ ├── gst_streaming │ │ │ │ ├── Makefile │ │ │ │ ├── README.md │ │ │ │ └── tcp_server.c │ │ │ ├── gst_tflite │ │ │ │ ├── README.md │ │ │ │ ├── detect.tflite │ │ │ │ ├── image │ │ │ │ │ └── gst-tflite2.png │ │ │ │ ├── install.sh │ │ │ │ ├── labelmap.txt │ │ │ │ ├── src │ │ │ │ │ ├── Makefile │ │ │ │ │ └── tflite_object_detection.c │ │ │ │ └── weston.sh │ │ │ ├── gst_transform │ │ │ │ ├── Makefile │ │ │ │ ├── README.md │ │ │ │ ├── image │ │ │ │ │ ├── gst-transform-flip-crop.png │ │ │ │ │ ├── gst-transform-flip-h.png │ │ │ │ │ ├── gst-transform-flip-rotate2.png │ │ │ │ │ └── gst-transform-flip-v.png │ │ │ │ └── transform_display.c │ │ │ └── weston.sh │ │ └── python │ │ │ ├── README.md │ │ │ ├── gst_alsa │ │ │ ├── README.md │ │ │ ├── alsa.py │ │ │ └── image │ │ │ │ ├── capture.png │ │ │ │ └── playback.png │ │ │ ├── gst_audio │ │ │ ├── README.md │ │ │ ├── audio_playback.py │ │ │ └── audio_record.py │ │ │ ├── gst_camera │ │ │ ├── README.md │ │ │ ├── image │ │ │ │ ├── ispcam_display_weston.png │ │ │ │ └── usbcam_display_weston.png │ │ │ ├── ispcam_display.py │ │ │ └── usbcam_display.py │ │ │ ├── gst_encode_decode │ │ │ ├── README.md │ │ │ ├── ispcam_encode_mpeg.py │ │ │ ├── mp4_decode_playback.py │ │ │ └── usbcam_encode_mpeg.py │ │ │ ├── gst_gui_app │ │ │ ├── README.md │ │ │ ├── gui_app.py │ │ │ └── image │ │ │ │ └── gui-app-snapshot.png │ │ │ ├── gst_streaming │ │ │ ├── README.md │ │ │ └── tcp_server.py │ │ │ ├── gst_tflite │ │ │ ├── README.md │ │ │ ├── image │ │ │ │ └── tflite_one.png │ │ │ ├── install.sh │ │ │ └── src │ │ │ │ └── tflite_object_detection.py │ │ │ ├── gst_transform │ │ │ ├── README.md │ │ │ ├── image │ │ │ │ ├── crop.png │ │ │ │ ├── flip_h.png │ │ │ │ ├── flip_v.png │ │ │ │ └── rotate.png │ │ │ └── transform_display.py │ │ │ └── weston.sh │ ├── People-Detection-YoloV5 │ │ ├── LICENSE.txt │ │ ├── README.md │ │ ├── docs │ │ │ └── Install.md │ │ ├── model │ │ │ ├── coco_labels.txt │ │ │ ├── inputlist.txt │ │ │ ├── mle_snpeyolov5m_quant.config │ │ │ └── mle_snpeyolov5n_quant.config │ │ └── src │ │ │ ├── gst-plugin-mle │ │ │ ├── CMakeLists.txt │ │ │ ├── config.h.in │ │ │ ├── mle_engine │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── common_utils.h │ │ │ │ ├── ml_engine_impl.cc │ │ │ │ ├── ml_engine_intf.h │ │ │ │ ├── snpe_base.cc │ │ │ │ ├── snpe_base.h │ │ │ │ ├── snpe_detection.cc │ │ │ │ ├── snpe_detection.h │ │ │ │ ├── snpe_yolodetection.cc │ │ │ │ └── snpe_yolodetection.h │ │ │ └── mle_gst_snpe │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── mle_snpe.cc │ │ │ │ ├── mle_snpe.h │ │ │ │ └── mle_snpeyolov5n.config │ │ │ └── include │ │ │ ├── gst │ │ │ └── video │ │ │ │ ├── c2d-video-converter.h │ │ │ │ └── gstimagepool.h │ │ │ └── ml-meta │ │ │ └── ml_meta.h │ ├── ROS-apps │ │ ├── ROS-Caffe │ │ │ ├── CMakeLists.patch │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── data │ │ │ │ ├── cat.jpg │ │ │ │ ├── deploy.prototxt │ │ │ │ ├── imagenet_mean.binaryproto │ │ │ │ └── synset_words.txt │ │ │ ├── image │ │ │ │ ├── 1.png │ │ │ │ ├── 2.png │ │ │ │ ├── 3.1.png │ │ │ │ ├── 3.png │ │ │ │ ├── 4.png │ │ │ │ ├── 5.png │ │ │ │ ├── 6.png │ │ │ │ ├── 7.png │ │ │ │ └── 8.png │ │ │ ├── io.patch │ │ │ └── window_data_layer.patch │ │ └── ROS-TFLite │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ └── image │ │ │ ├── 1_apt-get_update_error.png │ │ │ ├── 2_apt-get_update_success.png │ │ │ ├── 3_install-ros-melodic-desktop.png │ │ │ ├── 4_compile_the+workspace.png │ │ │ ├── 5_set_device.png │ │ │ └── 6_target_detection_result.png │ ├── peripheral-devices │ │ ├── OpenCL-Application │ │ │ ├── Benchmark │ │ │ │ └── 0001-OpenCL-Sample-App-Benchmark.patch │ │ │ ├── FFT │ │ │ │ └── 0001-OpenCL-Sample-App-FFT.patch │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ └── matrix_multiply │ │ │ │ ├── Makefile │ │ │ │ ├── Matrix multiply.cl │ │ │ │ └── matrix_multiply.cpp │ │ ├── camera-hal3-sample │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ └── src │ │ │ │ ├── CameraHAL3Buffer.cpp │ │ │ │ ├── CameraHAL3Buffer.h │ │ │ │ ├── CameraHAL3Config.cpp │ │ │ │ ├── CameraHAL3Config.h │ │ │ │ ├── CameraHAL3Device.cpp │ │ │ │ ├── CameraHAL3Device.h │ │ │ │ ├── CameraHAL3Main.cpp │ │ │ │ ├── CameraHAL3Snapshot.cpp │ │ │ │ ├── CameraHAL3Snapshot.h │ │ │ │ ├── Makefile │ │ │ │ └── create_so_link.sh │ │ └── kernel-demo │ │ │ ├── LICENSE │ │ │ ├── Makefile │ │ │ ├── README.md │ │ │ ├── image │ │ │ ├── ledoff.png │ │ │ └── ledon.png │ │ │ └── led.c │ └── platform-bringup │ │ ├── Device-info │ │ ├── LICENSE │ │ ├── README.md │ │ ├── image │ │ │ ├── RB5-information-snapshot-01.png │ │ │ └── RB5-information-snapshot-02.png │ │ └── src │ │ │ ├── Makefile │ │ │ └── qrb5165_info.c │ │ ├── GPIO-samples │ │ ├── LICENSE │ │ ├── README.md │ │ ├── image │ │ │ ├── RB5-platform-snapshot-01.png │ │ │ ├── RB5-platform-snapshot-02.png │ │ │ └── RB5-platform-snapshot-03.png │ │ └── src │ │ │ ├── Makefile │ │ │ └── qrb5165_platform.c │ │ ├── WIFI-OnBoarding │ │ ├── LICENSE │ │ ├── README.md │ │ ├── image │ │ │ ├── ap_connect.png │ │ │ ├── ap_off.png │ │ │ ├── ap_on.png │ │ │ ├── fail_get_sta.png │ │ │ ├── input_1.png │ │ │ ├── new_get_ap.png │ │ │ ├── new_get_sta.png │ │ │ ├── new_menu.png │ │ │ ├── new_scan.png │ │ │ ├── new_set_ap.png │ │ │ ├── new_set_sta.png │ │ │ ├── rm_all_sta.png │ │ │ ├── rm_save_sta.png │ │ │ ├── set_same_sta.png │ │ │ ├── sta_off.png │ │ │ ├── sta_on.png │ │ │ ├── wifi_off.png │ │ │ └── wifi_on.png │ │ └── wifi │ │ │ ├── ap_switch.sh │ │ │ ├── get_sta.sh │ │ │ ├── rm_sta.sh │ │ │ ├── set_ap.sh │ │ │ ├── set_sta.sh │ │ │ ├── sta_switch.sh │ │ │ ├── wifi.c │ │ │ └── wifi_switch.sh │ │ ├── Weston-Client-Application │ │ ├── LICENSE │ │ ├── README.md │ │ ├── image │ │ │ ├── blue.png │ │ │ ├── green.png │ │ │ └── red.png │ │ ├── simple-egl.c │ │ └── weston.sh │ │ └── simple_http_ws_server │ │ ├── README.md │ │ ├── server.html │ │ └── server.js └── linux_kernel_5_x │ ├── AI-ML-apps │ ├── AI_Age_Gender_Emotion_Solution │ │ ├── CMake │ │ │ └── FindGStreamer.cmake │ │ ├── CMakeLists.txt │ │ ├── LICENSE │ │ ├── README.md │ │ ├── data │ │ │ └── config.json │ │ ├── docs │ │ │ ├── Build.md │ │ │ ├── DesignDetails.md │ │ │ ├── ModelPreperation.md │ │ │ └── SetupDevice.md │ │ ├── inc │ │ │ ├── CenterfaceSnpe.h │ │ │ ├── Configuration.h │ │ │ ├── DecodeQueue.h │ │ │ ├── Detection.h │ │ │ ├── FERplusSnpe.h │ │ │ ├── GendernetSnpe.h │ │ │ ├── GooglenetSnpe.h │ │ │ ├── ModelInference.h │ │ │ ├── SNPERuntime.h │ │ │ ├── StreamDecode.h │ │ │ ├── StreamEncode.h │ │ │ └── Utils.h │ │ ├── models │ │ │ └── Model.txt │ │ └── src │ │ │ ├── CMakeLists.txt │ │ │ ├── CenterfaceSnpe.cpp │ │ │ ├── Configuration.cpp │ │ │ ├── DecodeQueue.cpp │ │ │ ├── FERplusSnpe.cpp │ │ │ ├── GendernetSnpe.cpp │ │ │ ├── GooglenetSnpe.cpp │ │ │ ├── ModelInference.cpp │ │ │ ├── SNPERuntime.cpp │ │ │ ├── StreamDecode.cpp │ │ │ ├── StreamEncode.cpp │ │ │ └── main.cpp │ ├── AI_Heatmap_Solutions │ │ ├── CMake │ │ │ └── FindGStreamer.cmake │ │ ├── CMakeLists.txt │ │ ├── README.md │ │ ├── data │ │ │ ├── config.json │ │ │ └── helmet_label.txt │ │ ├── docs │ │ │ ├── Build.md │ │ │ ├── DesignDetails.md │ │ │ ├── ModelPreperation.md │ │ │ └── SetupDevice.md │ │ ├── inc │ │ │ ├── Configuration.h │ │ │ ├── DecodeQueue.h │ │ │ ├── Detection.h │ │ │ ├── ModelInference.h │ │ │ ├── SNPERuntime.h │ │ │ ├── StreamDecode.h │ │ │ ├── StreamEncode.h │ │ │ ├── Utils.h │ │ │ └── YOLOv5Snpe.h │ │ ├── models │ │ │ └── Model.txt │ │ └── src │ │ │ ├── CMakeLists.txt │ │ │ ├── Configuration.cpp │ │ │ ├── DecodeQueue.cpp │ │ │ ├── ModelInference.cpp │ │ │ ├── SNPERuntime.cpp │ │ │ ├── StreamDecode.cpp │ │ │ ├── StreamEncode.cpp │ │ │ ├── YOLOv5Snpe.cpp │ │ │ └── main.cpp │ ├── AI_Tracker_Solution │ │ ├── CMake │ │ │ └── FindGStreamer.cmake │ │ ├── CMakeLists.txt │ │ ├── LICENSE │ │ ├── README.md │ │ ├── data │ │ │ └── config.json │ │ ├── docs │ │ │ ├── Build.md │ │ │ ├── DesignDetails.md │ │ │ ├── ModelPreperation.md │ │ │ └── SetupDevice.md │ │ ├── inc │ │ │ ├── BYTETracker.h │ │ │ ├── ByteTrackSnpe.h │ │ │ ├── Configuration.h │ │ │ ├── DecodeQueue.h │ │ │ ├── Detection.h │ │ │ ├── ModelInference.h │ │ │ ├── SNPERuntime.h │ │ │ ├── STrack.h │ │ │ ├── StreamDecode.h │ │ │ ├── StreamEncode.h │ │ │ ├── Utils.h │ │ │ ├── dataType.h │ │ │ ├── kalmanFilter.h │ │ │ └── lapjv.h │ │ ├── models │ │ │ └── Model.txt │ │ └── src │ │ │ ├── BYTETracker.cpp │ │ │ ├── ByteTrackSnpe.cpp │ │ │ ├── CMakeLists.txt │ │ │ ├── Configuration.cpp │ │ │ ├── DecodeQueue.cpp │ │ │ ├── ModelInference.cpp │ │ │ ├── SNPERuntime.cpp │ │ │ ├── STrack.cpp │ │ │ ├── StreamDecode.cpp │ │ │ ├── StreamEncode.cpp │ │ │ ├── kalmanFilter.cpp │ │ │ ├── lapjv.cpp │ │ │ ├── main.cpp │ │ │ └── utils.cpp │ ├── AI_Vision_Solutions │ │ ├── CMake │ │ │ └── FindGStreamer.cmake │ │ ├── CMakeLists.txt │ │ ├── LICENSE.txt │ │ ├── README.md │ │ ├── data │ │ │ ├── coco_label.txt │ │ │ ├── config.json │ │ │ ├── crack_labels.txt │ │ │ ├── defective_labels.txt │ │ │ ├── fire_labels.txt │ │ │ ├── helmet_label.txt │ │ │ └── trash_labels.txt │ │ ├── docs │ │ │ ├── Build.md │ │ │ ├── DesignDetails.md │ │ │ ├── ModelPreperation.md │ │ │ └── SetupDevice.md │ │ ├── inc │ │ │ ├── Configuration.h │ │ │ ├── DecodeQueue.h │ │ │ ├── Detection.h │ │ │ ├── ModelInference.h │ │ │ ├── SNPERuntime.h │ │ │ ├── StreamDecode.h │ │ │ ├── StreamEncode.h │ │ │ ├── Utils.h │ │ │ └── YOLOv5Snpe.h │ │ ├── models │ │ │ └── README.md │ │ └── src │ │ │ ├── CMakeLists.txt │ │ │ ├── Configuration.cpp │ │ │ ├── DecodeQueue.cpp │ │ │ ├── ModelInference.cpp │ │ │ ├── SNPERuntime.cpp │ │ │ ├── StreamDecode.cpp │ │ │ ├── StreamEncode.cpp │ │ │ ├── YOLOv5Snpe.cpp │ │ │ └── main.cpp │ ├── snpe_classification │ │ ├── LICENSE │ │ ├── Makefile │ │ ├── README.md │ │ ├── snpe_classification.c │ │ └── snpe_classification.config │ ├── snpe_detection │ │ ├── LICENSE │ │ ├── Makefile │ │ ├── README.md │ │ ├── coco_labels.txt │ │ ├── mle_snpe.config │ │ └── snpe_detection.c │ ├── tflite_classification │ │ ├── LICENSE │ │ ├── Makefile │ │ ├── README.md │ │ └── tflite_classification.c │ ├── tflite_posenet │ │ ├── LICENSE │ │ ├── Makefile │ │ ├── README.md │ │ └── tflite_posenet.c │ └── tflite_segmentation │ │ ├── LICENSE │ │ ├── Makefile │ │ ├── README.md │ │ └── tflite_segmentation.c │ ├── CODE-OF-CONDUCT.md │ ├── CONTRIBUTING.md │ ├── Codec2-Video │ ├── LICENSE │ ├── README.md │ ├── app │ │ └── src │ │ │ └── gst-codec2_h264.c │ ├── image │ │ ├── 01_make.png │ │ ├── 02_encode.png │ │ └── 03_decode.png │ └── makefile │ ├── GStreamer-apps │ └── cpp │ │ ├── LICENSE │ │ ├── Makefile │ │ ├── README.md │ │ ├── gst_alsa │ │ ├── HWConfig │ │ │ ├── install.sh │ │ │ ├── qc-alsa-restore.service │ │ │ └── qc_alsa_restore.sh │ │ ├── LICENSE │ │ ├── README.md │ │ ├── image │ │ │ ├── 01_playback.png │ │ │ ├── 03_capture.png │ │ │ ├── 04_capture_playback.png │ │ │ └── 05_init_service.png │ │ └── src │ │ │ ├── Makefile │ │ │ └── gst_audio_sample.c │ │ ├── gst_audio │ │ ├── Makefile │ │ ├── README.md │ │ ├── audio_playback.c │ │ └── audio_record.c │ │ ├── gst_camera │ │ ├── Makefile │ │ ├── README.md │ │ ├── image │ │ │ ├── ispCamera_display_weston.png │ │ │ └── usbCamera_display_weston.png │ │ ├── ispcam_display.c │ │ └── usbcam_display.c │ │ ├── gst_encode_decode │ │ ├── Makefile │ │ ├── README.md │ │ ├── ispcam_encode_mp4.c │ │ └── mp4_decode_playback.c │ │ ├── gst_streaming │ │ ├── Makefile │ │ ├── README.md │ │ └── tcp_server.c │ │ ├── gst_tflite │ │ ├── LICENSE │ │ ├── Makefile │ │ ├── README.md │ │ ├── detect.tflite │ │ ├── image │ │ │ └── gst-tflite2.png │ │ ├── install.sh │ │ ├── labelmap.txt │ │ └── tflite_classification.c │ │ ├── gst_transform │ │ ├── Makefile │ │ ├── README.md │ │ └── transform_display.c │ │ └── weston.sh │ ├── LICENSE │ ├── OpenCL-Application │ ├── Benchmark │ │ └── 0001-OpenCL-Sample-App-Benchmark.patch │ ├── FFT │ │ └── 0001-OpenCL-Sample-App-FFT.patch │ ├── LICENSE │ ├── README.md │ └── matrix_multiply │ │ ├── Makefile │ │ ├── Matrix multiply.cl │ │ └── matrix_multiply.cpp │ ├── ROS-apps │ ├── ROS-Caffe │ │ ├── CMakeLists.patch │ │ ├── LICENSE │ │ ├── README.md │ │ ├── data │ │ │ ├── cat.jpg │ │ │ ├── deploy.prototxt │ │ │ ├── imagenet_mean.binaryproto │ │ │ └── synset_words.txt │ │ ├── image │ │ │ ├── 1.png │ │ │ ├── 2.png │ │ │ ├── 3.1.png │ │ │ ├── 3.png │ │ │ ├── 4.png │ │ │ ├── 5.png │ │ │ ├── 6.png │ │ │ ├── 7.png │ │ │ └── 8.png │ │ ├── io.patch │ │ └── window_data_layer.patch │ └── ROS-TFLite │ │ ├── LICENSE │ │ ├── README.md │ │ └── image │ │ ├── 1_apt-get_update_error.png │ │ ├── 2_apt-get_update_success.png │ │ ├── 3_install-ros-melodic-desktop.png │ │ ├── 4_compile_the+workspace.png │ │ ├── 5_set_device.png │ │ └── 6_target_detection_result.png │ └── platform-bringup │ ├── Device-info │ ├── LICENSE │ ├── README.md │ ├── image │ │ ├── Device-info-snapshot-1.png │ │ ├── Device-info-snapshot-2.png │ │ └── Device-info-snapshot-3.png │ └── src │ │ ├── Makefile │ │ └── qrb5165_info.c │ ├── GPIO-samples │ ├── LICENSE │ ├── README.md │ └── src │ │ ├── Makefile │ │ └── qrb5165_platform.c │ ├── WIFI-OnBoarding │ ├── LICENSE │ ├── README.md │ ├── image │ │ ├── ap_connect.png │ │ ├── ap_off.png │ │ ├── ap_on.png │ │ ├── fail_get_sta.png │ │ ├── input_1.png │ │ ├── new_get_ap.png │ │ ├── new_get_sta.png │ │ ├── new_menu.png │ │ ├── new_scan.png │ │ ├── new_set_ap.png │ │ ├── new_set_sta.png │ │ ├── rm_all_sta.png │ │ ├── rm_save_sta.png │ │ ├── set_same_sta.png │ │ ├── sta_off.png │ │ ├── sta_on.png │ │ ├── wifi_off.png │ │ └── wifi_on.png │ └── wifi │ │ ├── ap_switch.sh │ │ ├── get_sta.sh │ │ ├── rm_sta.sh │ │ ├── set_ap.sh │ │ ├── set_sta.sh │ │ ├── sta_switch.sh │ │ ├── wifi.c │ │ └── wifi_switch.sh │ └── Weston-Client-Application │ ├── LICENSE │ ├── README.md │ ├── image │ ├── blue.png │ ├── green.png │ └── red.png │ └── simple-egl.c ├── README.md └── ROS2-IMU ├── LICENSE ├── README.md ├── image └── imu-data.png ├── imu-ros2node ├── CMakeLists.txt ├── package.xml ├── readme.txt └── src │ ├── imu_node.cpp │ └── imu_node_test.cpp ├── sensors-client ├── Makefile.am ├── configure.ac ├── inc │ └── imu_client.hpp └── src │ ├── imu_client.cpp │ └── imu_client_test.cpp └── sensors-daemon ├── Android.bp ├── Makefile.am ├── configure.ac ├── inc ├── sns_imud_ros.h ├── ssc_connection_reference.h └── ssc_suid_util.h └── src ├── sns_client_example.cpp ├── ssc_connection_reference.cpp └── ssc_suid_util.cpp /.github/workflows/quic-organization-repolinter.yml: -------------------------------------------------------------------------------- 1 | name: QuIC Organization Repolinter 2 | 3 | on: 4 | push: 5 | branches: [ "master" ] 6 | pull_request: 7 | branches: [ "master" ] 8 | workflow_dispatch: 9 | 10 | jobs: 11 | repolinter: 12 | runs-on: ubuntu-latest 13 | steps: 14 | - name: Checkout Repo 15 | uses: actions/checkout@v4 16 | - name: Verify repolinter config file is present 17 | id: check_files 18 | uses: andstor/file-existence-action@v3 19 | with: 20 | files: "repolint.json" 21 | - name: Run Repolinter with local repolint.json 22 | if: steps.check_files.outputs.files_exists == 'true' 23 | uses: todogroup/repolinter-action@v1 24 | with: 25 | config_file: "repolint.json" 26 | - name: Run Repolinter with default ruleset 27 | if: steps.check_files.outputs.files_exists == 'false' 28 | uses: todogroup/repolinter-action@v1 29 | with: 30 | config_url: "https://raw.githubusercontent.com/quic/.github/main/repolint.json" 31 | 32 | -------------------------------------------------------------------------------- /Docs/images/Logo_QIC_vertical_rgb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/Docs/images/Logo_QIC_vertical_rgb.png -------------------------------------------------------------------------------- /Docs/images/button-docs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/Docs/images/button-docs.png -------------------------------------------------------------------------------- /Docs/images/button-forums.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/Docs/images/button-forums.png -------------------------------------------------------------------------------- /Docs/images/button-install.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/Docs/images/button-install.png -------------------------------------------------------------------------------- /Docs/images/button-overview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/Docs/images/button-overview.png -------------------------------------------------------------------------------- /Docs/images/button-whats-new.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/Docs/images/button-whats-new.png -------------------------------------------------------------------------------- /Docs/images/button_aimet-on-github-pages.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/Docs/images/button_aimet-on-github-pages.png -------------------------------------------------------------------------------- /Docs/images/button_discussion-forums.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/Docs/images/button_discussion-forums.png -------------------------------------------------------------------------------- /Docs/images/footer-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/Docs/images/footer-icon.png -------------------------------------------------------------------------------- /Docs/images/logo-quic-on@h68.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/Docs/images/logo-quic-on@h68.png -------------------------------------------------------------------------------- /Docs/images/logo-quic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/Docs/images/logo-quic.png -------------------------------------------------------------------------------- /Docs/images/white-space.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/Docs/images/white-space.png -------------------------------------------------------------------------------- /RB1RB2/AI-ML-apps/snpe_classification/Makefile: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2020, 2022 Qualcomm Innovation Center, Inc. All Rights Reserved. 2 | # SPDX-License-Identifier: BSD-3-Clause-Clear 3 | 4 | FLAGS=`pkg-config --cflags --libs gstreamer-1.0` 5 | 6 | SOURCES = \ 7 | snpe_classification.c 8 | 9 | TARGETS = $(foreach n,$(SOURCES),$(basename $(n))) 10 | 11 | all: ${TARGETS} 12 | 13 | .PHONY: ${TARGETS} 14 | 15 | ${TARGETS}: %:%.c 16 | $(CC) -Wall $< -o $@ $(FLAGS) 17 | 18 | clean: 19 | rm -f ${TARGETS} 20 | -------------------------------------------------------------------------------- /RB1RB2/AI-ML-apps/snpe_classification/README.md: -------------------------------------------------------------------------------- 1 | ## 1. Set up the environment 2 | Install RB1/2 LE SDK and source the environment 3 | Download sample code on PC 4 | 5 | ## 2. Modify & Compile the snpe demo app 6 | ``` 7 | Gstreamer App demo provides two methods, it can 8 | be used either Gstreamer command line via 9 | gst_parse_launch or GST API to build pipeline. 10 | It sets to API method by default. Switch to command line methods: 11 | $ vi snpe_classification.c 12 | 13 | +#define PARSER 14 | 15 | To Compile: 16 | $ cd snpe_classification 17 | $ make 18 | ``` 19 | 20 | ## 3. Push resources to the device 21 | ``` 22 | $ adb push snpe_classification /data 23 | $ adb push mobilenet_v1_quantaware_quantized.dlc /data 24 | $ adb push mobilenet2.labels /data 25 | ``` 26 | 27 | ## 4. Run the demo app 28 | ``` 29 | $ adb shell 30 | $ export XDG_RUNTIME_DIR=/run/user/root 31 | $ ./data/snpe_classification 32 | ``` 33 | 34 | ## License 35 | This is licensed under the BSD 3-clause-Clear “New” or “Revised” License. Check out the [LICENSE](LICENSE) for more details. 36 | -------------------------------------------------------------------------------- /RB1RB2/AI-ML-apps/snpe_classification/snpe_classification.config: -------------------------------------------------------------------------------- 1 | org.codeaurora.mle.snpe 2 | input_format = 3 3 | BlueMean = 128.0 4 | GreenMean = 128.0 5 | RedMean = 128.0 6 | BlueSigma = 128.0 7 | GreenSigma = 128.0 8 | RedSigma = 128.0 9 | UseNorm = true 10 | preprocess_type = 1 11 | confidence_threshold = 0.6 12 | runtime = 1 13 | model = "/data/misc/camera/tensorflow_mobilenet.dlc" 14 | labels = "/data/misc/camera/imagenet_slim_labels.txt" 15 | -------------------------------------------------------------------------------- /RB1RB2/AI-ML-apps/snpe_detection/Makefile: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2020, 2022 Qualcomm Innovation Center, Inc. All Rights Reserved. 2 | # SPDX-License-Identifier: BSD-3-Clause-Clear 3 | 4 | FLAGS=`pkg-config --cflags --libs gstreamer-1.0` 5 | 6 | SOURCES = \ 7 | snpe_detection.c 8 | 9 | TARGETS = $(foreach n,$(SOURCES),$(basename $(n))) 10 | 11 | all: ${TARGETS} 12 | 13 | .PHONY: ${TARGETS} 14 | 15 | ${TARGETS}: %:%.c 16 | $(CC) -Wall $< -o $@ $(FLAGS) 17 | 18 | clean: 19 | rm -f ${TARGETS} 20 | -------------------------------------------------------------------------------- /RB1RB2/AI-ML-apps/snpe_detection/README.md: -------------------------------------------------------------------------------- 1 | ## 1. Set up the environment 2 | Install RB1/2 LE SDK and source the environment 3 | Download sample code on PC 4 | 5 | ## 2. Compile the snpe demo app 6 | ``` 7 | $ cd snpe_detection/ 8 | $ make 9 | ``` 10 | 11 | ## 3. Push resources to the device 12 | ``` 13 | $ adb push snpe_detection /data 14 | $ adb push mobilenet_v1_ssd_2017_quantized.dlc /data 15 | $ adb push ssd-mobilenet.labels /data 16 | ``` 17 | 18 | ## 4. Run the demo app 19 | ``` 20 | $ adb shell 21 | $ export XDG_RUNTIME_DIR=/run/user/root 22 | $ ./data/snpe_detection 23 | ``` 24 | 25 | ## License 26 | This is licensed under the BSD 3-clause-Clear “New” or “Revised” License. Check out the [LICENSE](LICENSE) for more details. 27 | -------------------------------------------------------------------------------- /RB1RB2/AI-ML-apps/snpe_detection/mle_snpe.config: -------------------------------------------------------------------------------- 1 | org.codeaurora.mle.snpe 2 | input_format = 3 3 | BlueMean = 128.0 4 | GreenMean = 128.0 5 | RedMean = 128.0 6 | BlueSigma = 128.0 7 | GreenSigma = 128.0 8 | RedSigma = 128.0 9 | UseNorm = true 10 | preprocess_type = 1 11 | confidence_threshold = 0.6 12 | output_layers = < "add_6", "Postprocessor/BatchMultiClassNonMaxSuppression" > 13 | runtime = 1 14 | model = "/data/misc/camera/mobilenet-SSD.dlc" 15 | labels = "/data/misc/camera/coco_labels.txt" -------------------------------------------------------------------------------- /RB1RB2/AI-ML-apps/tflite_classification/Makefile: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2020, 2022 Qualcomm Innovation Center, Inc. All Rights Reserved. 2 | # SPDX-License-Identifier: BSD-3-Clause-Clear 3 | 4 | FLAGS=`pkg-config --cflags --libs gstreamer-1.0` 5 | 6 | SOURCES = \ 7 | tflite_classification.c 8 | 9 | TARGETS = $(foreach n,$(SOURCES),$(basename $(n))) 10 | 11 | all: ${TARGETS} 12 | 13 | .PHONY: ${TARGETS} 14 | 15 | ${TARGETS}: %:%.c 16 | $(CC) -Wall $< -o $@ $(FLAGS) 17 | 18 | clean: 19 | rm -f ${TARGETS} 20 | -------------------------------------------------------------------------------- /RB1RB2/AI-ML-apps/tflite_classification/README.md: -------------------------------------------------------------------------------- 1 | ## 1. Set up the environment 2 | Install RB1/2 LE SDK and source the environment 3 | Download sample code on PC 4 | 5 | ## 2. Modify & Compile the tflite demo app 6 | ``` 7 | Gstreamer App demo provides two methods, it can 8 | be used either Gstreamer command line via 9 | gst_parse_launch or GST API to build pipeline. 10 | It sets to API method by default. Switch to command line methods: 11 | $ vi tflite_classification.c 12 | 13 | +#define PARSER 14 | 15 | To Compile: 16 | $ cd tflite_classification/ 17 | $ make 18 | ``` 19 | 20 | ## 3. Push resources to the device 21 | ``` 22 | $ adb push tflite_classification /data 23 | $ adb push mobilenet_v2_1.0_224_quant_.tflite /data 24 | $ adb push mobilenet.labels /data 25 | ``` 26 | 27 | ## 4. Run the demo app 28 | ``` 29 | $ adb shell 30 | $ export XDG_RUNTIME_DIR=/run/user/root 31 | $ ./data/tflite_classification 32 | ``` 33 | 34 | ## License 35 | This is licensed under the BSD 3-clause-Clear “New” or “Revised” License. Check out the [LICENSE](LICENSE) for more details. 36 | -------------------------------------------------------------------------------- /RB1RB2/AI-ML-apps/tflite_posenet/Makefile: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2020, 2022 Qualcomm Innovation Center, Inc. All Rights Reserved. 2 | # SPDX-License-Identifier: BSD-3-Clause-Clear 3 | 4 | FLAGS=`pkg-config --cflags --libs gstreamer-1.0` 5 | 6 | SOURCES = \ 7 | tflite_posenet.c 8 | 9 | TARGETS = $(foreach n,$(SOURCES),$(basename $(n))) 10 | 11 | all: ${TARGETS} 12 | 13 | .PHONY: ${TARGETS} 14 | 15 | ${TARGETS}: %:%.c 16 | $(CC) -Wall $< -o $@ $(FLAGS) 17 | 18 | clean: 19 | rm -f ${TARGETS} 20 | -------------------------------------------------------------------------------- /RB1RB2/AI-ML-apps/tflite_posenet/README.md: -------------------------------------------------------------------------------- 1 | ## 1. Set up the environment 2 | Install RB1/2 LE SDK and source the environment 3 | Download sample code on PC 4 | 5 | ## 2. Modify & Compile the tflite demo app 6 | ``` 7 | Gstreamer App demo provides two methods, it can 8 | be used either Gstreamer command line via 9 | gst_parse_launch or GST API to build pipeline. 10 | It sets to API method by default. Switch to command line methods: 11 | $ vi tflite_posenet.c 12 | 13 | +#define PARSER 14 | 15 | To Compile: 16 | $ cd tflite_posenet/ 17 | $ make 18 | ``` 19 | 20 | ## 3. Push resources to the device 21 | ``` 22 | $ adb push tflite_posenet /data 23 | $ adb push posenet_mobilenet_v1_075_481_641_quant.tflite /data 24 | $ adb push posenet.labels /data 25 | ``` 26 | 27 | ## 4. Run the demo app 28 | ``` 29 | $ adb shell 30 | $ export XDG_RUNTIME_DIR=/run/user/root 31 | $ ./data/tflite_posenet 32 | ``` 33 | 34 | ## License 35 | This is licensed under the BSD 3-clause-Clear “New” or “Revised” License. Check out the [LICENSE](LICENSE) for more details. 36 | -------------------------------------------------------------------------------- /RB1RB2/AI-ML-apps/tflite_segmentation/Makefile: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2020, 2022 Qualcomm Innovation Center, Inc. All Rights Reserved. 2 | # SPDX-License-Identifier: BSD-3-Clause-Clear 3 | 4 | FLAGS=`pkg-config --cflags --libs gstreamer-1.0` 5 | 6 | SOURCES = \ 7 | tflite_segmentation.c 8 | 9 | TARGETS = $(foreach n,$(SOURCES),$(basename $(n))) 10 | 11 | all: ${TARGETS} 12 | 13 | .PHONY: ${TARGETS} 14 | 15 | ${TARGETS}: %:%.c 16 | $(CC) -Wall $< -o $@ $(FLAGS) 17 | 18 | clean: 19 | rm -f ${TARGETS} 20 | -------------------------------------------------------------------------------- /RB1RB2/AI-ML-apps/tflite_segmentation/README.md: -------------------------------------------------------------------------------- 1 | ## 1. Set up the environment 2 | Install RB1/2 LE SDK and source the environment 3 | Download sample code on PC 4 | 5 | ## 2. Modify & Compile the tflite demo app 6 | ``` 7 | Gstreamer App demo provides two methods, it can 8 | be used either Gstreamer command line via 9 | gst_parse_launch or GST API to build pipeline. 10 | It sets to API method by default. Switch to command line methods: 11 | $ vi tflite_segmentation.c 12 | 13 | +#define PARSER 14 | 15 | To Compile: 16 | $ cd tflite_segmentation/ 17 | $ make 18 | ``` 19 | 20 | ## 3. Push resources to the device 21 | ``` 22 | $ adb push tflite_segmentation /data 23 | $ adb push dv3_argmax_int32.tflite /data 24 | $ adb push dv3-argmax.labels /data 25 | ``` 26 | 27 | ## 4. Run the demo app 28 | ``` 29 | $ adb shell 30 | $ export XDG_RUNTIME_DIR=/run/user/root 31 | $ ./data/tflite_segmentation 32 | ``` 33 | 34 | ## License 35 | This is licensed under the BSD 3-clause-Clear “New” or “Revised” License. Check out the [LICENSE](LICENSE) for more details. 36 | -------------------------------------------------------------------------------- /RB1RB2/Codec2-Video/image/01_make.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB1RB2/Codec2-Video/image/01_make.png -------------------------------------------------------------------------------- /RB1RB2/Codec2-Video/image/02_encode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB1RB2/Codec2-Video/image/02_encode.png -------------------------------------------------------------------------------- /RB1RB2/Codec2-Video/image/03_decode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB1RB2/Codec2-Video/image/03_decode.png -------------------------------------------------------------------------------- /RB1RB2/Codec2-Video/makefile: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2020, 2022 Qualcomm Innovation Center, Inc. All Rights Reserved. 2 | # SPDX-License-Identifier: BSD-3-Clause-Clear 3 | 4 | # compiler flags 5 | CFLAGS += $(shell pkg-config --cflags --libs gstreamer-1.0) 6 | 7 | # compile 8 | gst-codec2_h264: app/src/gst-codec2_h264.c 9 | $(CC) $< -o app/src/$@ $(CFLAGS) 10 | 11 | # clean executable file 12 | clean: 13 | $(RM) app/src/gst-codec2_h264 14 | -------------------------------------------------------------------------------- /RB1RB2/GStreamer-apps/cpp/Makefile: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2020 Qualcomm Innovation Center, Inc. All Rights Reserved. 2 | # SPDX-License-Identifier: BSD-3-Clause-Clear 3 | 4 | SUBDIRS = \ 5 | audio \ 6 | camera \ 7 | encode_decode \ 8 | streaming \ 9 | transform 10 | 11 | .PHONY: all clean 12 | 13 | all: 14 | @list='$(SUBDIRS)'; for subdir in $$list; do \ 15 | $(MAKE) -C $$subdir;\ 16 | done 17 | 18 | clean: 19 | @list='$(SUBDIRS)'; for subdir in $$list; do \ 20 | $(MAKE) -C $$subdir clean;\ 21 | done 22 | -------------------------------------------------------------------------------- /RB1RB2/GStreamer-apps/cpp/gst_alsa/HWConfig/install.sh: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2020 Qualcomm Innovation Center, Inc. All Rights Reserved. 2 | # SPDX-License-Identifier: BSD-3-Clause-Clear 3 | 4 | #! /bin/bash 5 | 6 | chmod 644 qc-alsa-restore.service 7 | chmod 777 qc_alsa_restore.sh 8 | cp qc-alsa-restore.service /lib/systemd/system/ 9 | cp qc_alsa_restore.sh /usr/bin/ 10 | systemctl enable qc-alsa-restore 11 | sync 12 | -------------------------------------------------------------------------------- /RB1RB2/GStreamer-apps/cpp/gst_alsa/HWConfig/qc-alsa-restore.service: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2020 Qualcomm Innovation Center, Inc. All Rights Reserved. 2 | # SPDX-License-Identifier: BSD-3-Clause-Clear 3 | 4 | # Based on the user unit 5 | 6 | [Unit] 7 | Description=QC ALSA restore Service 8 | After=init_audio.service 9 | 10 | [Service] 11 | Type=notify 12 | ExecStartPre=/bin/sleep 10s 13 | ExecStart=/usr/bin/qc_alsa_restore.sh 14 | Restart=on-failure 15 | 16 | [Install] 17 | WantedBy=multi-user.target 18 | -------------------------------------------------------------------------------- /RB1RB2/GStreamer-apps/cpp/gst_alsa/HWConfig/qc_alsa_restore.sh: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2020 Qualcomm Innovation Center, Inc. All Rights Reserved. 2 | # SPDX-License-Identifier: BSD-3-Clause-Clear 3 | 4 | #! /bin/bash 5 | amixer -c 0 cset name="MultiMedia1 Mixer TX_CDC_DMA_TX_3" "1" 6 | amixer -c 0 cset name="TX DMIC MUX2" "DMIC1" 7 | amixer -c 0 cset name="TX_CDC_DMA_TX_3 Channels" "One" 8 | amixer -c 0 cset name="TX_AIF1_CAP Mixer DEC2" "1" 9 | amixer -c 0 cset name='RX_MACRO RX0 MUX' 'AIF1_PB' 10 | amixer -c 0 cset name='RX_CDC_DMA_RX_0 Channels' 'One' 11 | amixer -c 0 cset name='RX INT0_1 MIX1 INP0' 'RX0' 12 | amixer -c 0 cset name='RX INT0 DEM MUX' 'CLSH_DSM_OUT' 13 | amixer -c 0 cset name='LO_RDAC Switch' 1 14 | amixer -c 0 cset name='SpkrMono WSA_RDAC' 'Switch' 15 | amixer -c 0 cset name='RX_CDC_DMA_RX_0 Audio Mixer MultiMedia1' 1 16 | -------------------------------------------------------------------------------- /RB1RB2/GStreamer-apps/cpp/gst_alsa/image/01_playback.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB1RB2/GStreamer-apps/cpp/gst_alsa/image/01_playback.png -------------------------------------------------------------------------------- /RB1RB2/GStreamer-apps/cpp/gst_alsa/image/03_capture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB1RB2/GStreamer-apps/cpp/gst_alsa/image/03_capture.png -------------------------------------------------------------------------------- /RB1RB2/GStreamer-apps/cpp/gst_alsa/image/04_capture_playback.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB1RB2/GStreamer-apps/cpp/gst_alsa/image/04_capture_playback.png -------------------------------------------------------------------------------- /RB1RB2/GStreamer-apps/cpp/gst_alsa/image/05_init_service.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB1RB2/GStreamer-apps/cpp/gst_alsa/image/05_init_service.png -------------------------------------------------------------------------------- /RB1RB2/GStreamer-apps/cpp/gst_alsa/src/Makefile: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2020, 2022 Qualcomm Innovation Center, Inc. All Rights Reserved. 2 | # SPDX-License-Identifier: BSD-3-Clause-Clear 3 | 4 | #CC = gcc 5 | CFLAGS += $(shell pkg-config --cflags --libs gstreamer-1.0) 6 | 7 | TARGET = gst_audio_sample 8 | 9 | $(TARGET): $(TARGET).c 10 | $(CC) $< -o $@ $(CFLAGS) 11 | 12 | .PHONY: clean 13 | 14 | install: 15 | cp $(TARGET) /usr/bin/ 16 | 17 | clean: 18 | rm -f $(TARGET) 19 | -------------------------------------------------------------------------------- /RB1RB2/GStreamer-apps/cpp/gst_audio/Makefile: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2020, 2022 Qualcomm Innovation Center, Inc. All Rights Reserved. 2 | # SPDX-License-Identifier: BSD-3-Clause-Clear 3 | 4 | FLAGS=`pkg-config --cflags --libs gstreamer-1.0` 5 | 6 | SOURCES = \ 7 | audio_playback.c \ 8 | audio_record.c 9 | 10 | TARGETS = $(foreach n,$(SOURCES),$(basename $(n))) 11 | 12 | all: ${TARGETS} 13 | 14 | .PHONY: all clean 15 | 16 | ${TARGETS}: %:%.c 17 | $(CC) -Wall $< -o $@ $(FLAGS) 18 | 19 | clean: 20 | rm -f ${TARGETS} 21 | -------------------------------------------------------------------------------- /RB1RB2/GStreamer-apps/cpp/gst_camera/Makefile: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2020, 2022 Qualcomm Innovation Center, Inc. All Rights Reserved. 2 | # SPDX-License-Identifier: BSD-3-Clause-Clear 3 | 4 | FLAGS=`pkg-config --cflags --libs gstreamer-1.0` 5 | 6 | SOURCES = \ 7 | usbcam_display.c \ 8 | ispcam_display.c 9 | 10 | TARGETS = $(foreach n,$(SOURCES),$(basename $(n))) 11 | 12 | all: ${TARGETS} 13 | 14 | .PHONY: all clean 15 | 16 | ${TARGETS}: %:%.c 17 | $(CC) -Wall $< -o $@ $(FLAGS) 18 | 19 | clean: 20 | rm -f ${TARGETS} 21 | -------------------------------------------------------------------------------- /RB1RB2/GStreamer-apps/cpp/gst_encode_decode/Makefile: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2020, 2022 Qualcomm Innovation Center, Inc. All Rights Reserved. 2 | # SPDX-License-Identifier: BSD-3-Clause-Clear 3 | 4 | FLAGS=`pkg-config --cflags --libs gstreamer-1.0` 5 | 6 | SOURCES = \ 7 | ispcam_encode_mp4.c \ 8 | mp4_decode_playback.c 9 | 10 | TARGETS = $(foreach n,$(SOURCES),$(basename $(n))) 11 | 12 | all: ${TARGETS} 13 | 14 | .PHONY: all clean 15 | 16 | ${TARGETS}: %:%.c 17 | $(CC) -Wall $< -o $@ $(FLAGS) 18 | 19 | clean: 20 | rm -f ${TARGETS} 21 | -------------------------------------------------------------------------------- /RB1RB2/GStreamer-apps/cpp/gst_streaming/Makefile: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2020, 2022 Qualcomm Innovation Center, Inc. All Rights Reserved. 2 | # SPDX-License-Identifier: BSD-3-Clause-Clear 3 | 4 | FLAGS=`pkg-config --cflags --libs gstreamer-1.0` 5 | 6 | SOURCES = tcp_server.c 7 | 8 | TARGETS = $(foreach n,$(SOURCES),$(basename $(n))) 9 | 10 | all: ${TARGETS} 11 | 12 | .PHONY: all clean 13 | 14 | ${TARGETS}: %:%.c 15 | $(CC) -Wall $< -o $@ $(FLAGS) 16 | 17 | clean: 18 | rm -f ${TARGETS} 19 | -------------------------------------------------------------------------------- /RB1RB2/GStreamer-apps/cpp/gst_tflite/Makefile: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2020, 2022 Qualcomm Innovation Center, Inc. All Rights Reserved. 2 | # SPDX-License-Identifier: BSD-3-Clause-Clear 3 | 4 | FLAGS=`pkg-config --cflags --libs gstreamer-1.0` 5 | 6 | SOURCES = \ 7 | tflite_classification.c 8 | 9 | TARGETS = $(foreach n,$(SOURCES),$(basename $(n))) 10 | 11 | all: ${TARGETS} 12 | 13 | .PHONY: ${TARGETS} 14 | 15 | ${TARGETS}: %:%.c 16 | $(CC) -Wall $< -o $@ $(FLAGS) 17 | 18 | clean: 19 | rm -f ${TARGETS} 20 | -------------------------------------------------------------------------------- /RB1RB2/GStreamer-apps/cpp/gst_tflite/README.md: -------------------------------------------------------------------------------- 1 | ## 1. Set up the environment 2 | Install RB1/2 LE SDK and source the environment 3 | Download sample code on PC 4 | 5 | ## 2. Modify & Compile the tflite demo app 6 | ``` 7 | Gstreamer App demo provides two methods, it can 8 | be used either Gstreamer command line via 9 | gst_parse_launch or GST API to build pipeline. 10 | It sets to API method by default. Switch to command line methods: 11 | $ vi tflite_classification.c 12 | 13 | +#define PARSER 14 | 15 | To Compile: 16 | $ cd tflite_classification/ 17 | $ make 18 | ``` 19 | 20 | ## 3. Push resources to the device 21 | ``` 22 | $ adb push tflite_classification /data 23 | $ adb push mobilenet_v2_1.0_224_quant_.tflite /data 24 | $ adb push mobilenet.labels /data 25 | ``` 26 | 27 | ## 4. Run the demo app 28 | ``` 29 | $ adb shell 30 | $ export XDG_RUNTIME_DIR=/run/user/root 31 | $ ./data/tflite_classification 32 | ``` 33 | 34 | ## License 35 | This is licensed under the BSD 3-clause-Clear “New” or “Revised” License. Check out the [LICENSE](LICENSE) for more details. 36 | -------------------------------------------------------------------------------- /RB1RB2/GStreamer-apps/cpp/gst_transform/Makefile: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2020, 2022 Qualcomm Innovation Center, Inc. All Rights Reserved. 2 | # SPDX-License-Identifier: BSD-3-Clause-Clear 3 | 4 | FLAGS=`pkg-config --cflags --libs gstreamer-1.0` 5 | 6 | SOURCES = transform_display.c 7 | 8 | TARGETS = $(foreach n,$(SOURCES),$(basename $(n))) 9 | 10 | all: ${TARGETS} 11 | 12 | .PHONY: all clean 13 | 14 | ${TARGETS}: %:%.c 15 | $(CC) -Wall $< -o $@ $(FLAGS) 16 | 17 | clean: 18 | rm -f ${TARGETS} 19 | -------------------------------------------------------------------------------- /RB1RB2/GStreamer-apps/cpp/weston.sh: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2020 Qualcomm Innovation Center, Inc. All Rights Reserved. 2 | # SPDX-License-Identifier: BSD-3-Clause-Clear 3 | 4 | #! /bin/bash 5 | 6 | mkdir -p /usr/bin/weston_socket 7 | export XDG_RUNTIME_DIR=/usr/bin/weston_socket 8 | export LD_LIBRARY_PATH=/usr/lib:/usr/lib/aarch64-linux-gnu/ 9 | weston --tty=1 --connector=29 10 | -------------------------------------------------------------------------------- /RB1RB2/ROS-apps/ROS-Caffe/data/cat.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB1RB2/ROS-apps/ROS-Caffe/data/cat.jpg -------------------------------------------------------------------------------- /RB1RB2/ROS-apps/ROS-Caffe/data/imagenet_mean.binaryproto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB1RB2/ROS-apps/ROS-Caffe/data/imagenet_mean.binaryproto -------------------------------------------------------------------------------- /RB1RB2/ROS-apps/ROS-Caffe/image/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB1RB2/ROS-apps/ROS-Caffe/image/1.png -------------------------------------------------------------------------------- /RB1RB2/ROS-apps/ROS-Caffe/image/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB1RB2/ROS-apps/ROS-Caffe/image/2.png -------------------------------------------------------------------------------- /RB1RB2/ROS-apps/ROS-Caffe/image/3.1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB1RB2/ROS-apps/ROS-Caffe/image/3.1.png -------------------------------------------------------------------------------- /RB1RB2/ROS-apps/ROS-Caffe/image/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB1RB2/ROS-apps/ROS-Caffe/image/3.png -------------------------------------------------------------------------------- /RB1RB2/ROS-apps/ROS-Caffe/image/4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB1RB2/ROS-apps/ROS-Caffe/image/4.png -------------------------------------------------------------------------------- /RB1RB2/ROS-apps/ROS-Caffe/image/5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB1RB2/ROS-apps/ROS-Caffe/image/5.png -------------------------------------------------------------------------------- /RB1RB2/ROS-apps/ROS-Caffe/image/6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB1RB2/ROS-apps/ROS-Caffe/image/6.png -------------------------------------------------------------------------------- /RB1RB2/ROS-apps/ROS-Caffe/image/7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB1RB2/ROS-apps/ROS-Caffe/image/7.png -------------------------------------------------------------------------------- /RB1RB2/ROS-apps/ROS-Caffe/image/8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB1RB2/ROS-apps/ROS-Caffe/image/8.png -------------------------------------------------------------------------------- /RB1RB2/ROS-apps/ROS-Caffe/io.patch: -------------------------------------------------------------------------------- 1 | 73,74c73,74 2 | < int cv_read_flag = (is_color ? CV_LOAD_IMAGE_COLOR : 3 | < CV_LOAD_IMAGE_GRAYSCALE); 4 | --- 5 | > int cv_read_flag = (is_color ? cv::IMREAD_COLOR : 6 | > cv::IMREAD_GRAYSCALE); 7 | 175,176c175,176 8 | < int cv_read_flag = (is_color ? CV_LOAD_IMAGE_COLOR : 9 | < CV_LOAD_IMAGE_GRAYSCALE); 10 | --- 11 | > int cv_read_flag = (is_color ? cv::IMREAD_COLOR : 12 | > cv::IMREAD_GRAYSCALE); 13 | -------------------------------------------------------------------------------- /RB1RB2/ROS-apps/ROS-Caffe/window_data_layer.patch: -------------------------------------------------------------------------------- 1 | 288c288 2 | < cv_img = cv::imread(image.first, CV_LOAD_IMAGE_COLOR); 3 | --- 4 | > cv_img = cv::imread(image.first, cv::IMREAD_COLOR); 5 | -------------------------------------------------------------------------------- /RB1RB2/ROS-apps/ROS-TFLite/image/1_apt-get_update_error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB1RB2/ROS-apps/ROS-TFLite/image/1_apt-get_update_error.png -------------------------------------------------------------------------------- /RB1RB2/ROS-apps/ROS-TFLite/image/2_apt-get_update_success.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB1RB2/ROS-apps/ROS-TFLite/image/2_apt-get_update_success.png -------------------------------------------------------------------------------- /RB1RB2/ROS-apps/ROS-TFLite/image/3_install-ros-melodic-desktop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB1RB2/ROS-apps/ROS-TFLite/image/3_install-ros-melodic-desktop.png -------------------------------------------------------------------------------- /RB1RB2/ROS-apps/ROS-TFLite/image/4_compile_the+workspace.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB1RB2/ROS-apps/ROS-TFLite/image/4_compile_the+workspace.png -------------------------------------------------------------------------------- /RB1RB2/ROS-apps/ROS-TFLite/image/5_set_device.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB1RB2/ROS-apps/ROS-TFLite/image/5_set_device.png -------------------------------------------------------------------------------- /RB1RB2/ROS-apps/ROS-TFLite/image/6_target_detection_result.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB1RB2/ROS-apps/ROS-TFLite/image/6_target_detection_result.png -------------------------------------------------------------------------------- /RB1RB2/peripheral-devices/OpenCL-Application/matrix_multiply/Makefile: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2020, 2022 Qualcomm Innovation Center, Inc. All Rights Reserved. 2 | # SPDX-License-Identifier: BSD-3-Clause-Clear 3 | 4 | test: matrix_multiply.cpp 5 | $(CXX) -o test matrix_multiply.cpp -lOpenCL -I /usr/include/qrx210 6 | 7 | 8 | clean: 9 | rm test 10 | -------------------------------------------------------------------------------- /RB1RB2/peripheral-devices/OpenCL-Application/matrix_multiply/Matrix multiply.cl: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020, 2022 Qualcomm Innovation Center, Inc. All Rights Reserved. 3 | * 4 | * SPDX-License-Identifier: BSD-3-Clause-Clear 5 | */ 6 | 7 | __kernel void matrix_mult( 8 | const int Ndim, 9 | const int Mdim, 10 | const int Pdim, 11 | __global const float* A, 12 | __global const float* B, 13 | __global float* C) 14 | { 15 | int i = get_global_id(0); 16 | int j = get_global_id(1); 17 | 18 | int k; 19 | float tmp; 20 | 21 | if ((i < Ndim) && (j < Mdim)) { 22 | tmp = 0.0; 23 | for (k = 0; k < Pdim; k++) 24 | tmp += A[i*Pdim + k] * B[k*Mdim + j]; 25 | C[i*Mdim + j] = tmp; 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /RB1RB2/peripheral-devices/camera-hal3-sample/src/create_so_link.sh: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2020, 2022 Qualcomm Innovation Center, Inc. All Rights Reserved. 2 | # SPDX-License-Identifier: BSD-3-Clause-Clear 3 | 4 | #!/bin/bash 5 | 6 | [ ! -e /usr/lib/libsync.so ] && ln -s /usr/lib/libsync.so.0 /usr/lib/libsync.so 7 | [ ! -e /usr/lib/libcutils.so ] && ln -s /usr/lib/libcutils.so.0 /usr/lib/libcutils.so 8 | [ ! -e /usr/lib/libutils.so ] && ln -s /usr/lib/libutils.so.0 /usr/lib/libutils.so 9 | [ ! -e /usr/lib/liblog.so ] && ln -s /usr/lib/liblog.so.0 /usr/lib/liblog.so 10 | [ ! -e /usr/lib/libcamera_metadata.so ] && ln -s /usr/lib/libcamera_metadata.so.0 /usr/lib/libcamera_metadata.so 11 | 12 | -------------------------------------------------------------------------------- /RB1RB2/platform-bringup/Device-info/image/Device-info-snapshot-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB1RB2/platform-bringup/Device-info/image/Device-info-snapshot-1.png -------------------------------------------------------------------------------- /RB1RB2/platform-bringup/Device-info/image/Device-info-snapshot-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB1RB2/platform-bringup/Device-info/image/Device-info-snapshot-2.png -------------------------------------------------------------------------------- /RB1RB2/platform-bringup/Device-info/image/Device-info-snapshot-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB1RB2/platform-bringup/Device-info/image/Device-info-snapshot-3.png -------------------------------------------------------------------------------- /RB1RB2/platform-bringup/Device-info/src/Makefile: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2020, 2022 Qualcomm Innovation Center, Inc. All Rights Reserved. 2 | # SPDX-License-Identifier: BSD-3-Clause-Clear 3 | 4 | TARGET_FILE = bin 5 | TAR_INFO = qrbx210_info 6 | 7 | $(TAR_INFO): $(TAR_INFO).c 8 | $(CC) -o ../$(TARGET_FILE)/$(TAR_INFO) $(TAR_INFO).c 9 | 10 | clean: 11 | rm ../$(TARGET_FILE)/* 12 | -------------------------------------------------------------------------------- /RB1RB2/platform-bringup/GPIO-samples/image/qrbx210-platform-snapshot-01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB1RB2/platform-bringup/GPIO-samples/image/qrbx210-platform-snapshot-01.png -------------------------------------------------------------------------------- /RB1RB2/platform-bringup/GPIO-samples/image/qrbx210-platform-snapshot-02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB1RB2/platform-bringup/GPIO-samples/image/qrbx210-platform-snapshot-02.png -------------------------------------------------------------------------------- /RB1RB2/platform-bringup/GPIO-samples/image/qrbx210-platform-snapshot-03.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB1RB2/platform-bringup/GPIO-samples/image/qrbx210-platform-snapshot-03.png -------------------------------------------------------------------------------- /RB1RB2/platform-bringup/GPIO-samples/src/Makefile: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2020, 2022 Qualcomm Innovation Center, Inc. All Rights Reserved. 2 | # SPDX-License-Identifier: BSD-3-Clause-Clear 3 | 4 | TARGET_FILE = bin 5 | TAR_PLAT = qrbx210_platform 6 | 7 | $(TAR_PLAT): $(TAR_PLAT).c 8 | $(CC) -o ../$(TARGET_FILE)/$(TAR_PLAT) $(TAR_PLAT).c -lpthread 9 | 10 | clean: 11 | rm ../$(TARGET_FILE)/* 12 | -------------------------------------------------------------------------------- /RB1RB2/platform-bringup/WIFI-OnBoarding/image/ap_connect.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB1RB2/platform-bringup/WIFI-OnBoarding/image/ap_connect.png -------------------------------------------------------------------------------- /RB1RB2/platform-bringup/WIFI-OnBoarding/image/ap_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB1RB2/platform-bringup/WIFI-OnBoarding/image/ap_off.png -------------------------------------------------------------------------------- /RB1RB2/platform-bringup/WIFI-OnBoarding/image/ap_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB1RB2/platform-bringup/WIFI-OnBoarding/image/ap_on.png -------------------------------------------------------------------------------- /RB1RB2/platform-bringup/WIFI-OnBoarding/image/fail_get_sta.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB1RB2/platform-bringup/WIFI-OnBoarding/image/fail_get_sta.png -------------------------------------------------------------------------------- /RB1RB2/platform-bringup/WIFI-OnBoarding/image/input_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB1RB2/platform-bringup/WIFI-OnBoarding/image/input_1.png -------------------------------------------------------------------------------- /RB1RB2/platform-bringup/WIFI-OnBoarding/image/new_get_ap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB1RB2/platform-bringup/WIFI-OnBoarding/image/new_get_ap.png -------------------------------------------------------------------------------- /RB1RB2/platform-bringup/WIFI-OnBoarding/image/new_get_sta.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB1RB2/platform-bringup/WIFI-OnBoarding/image/new_get_sta.png -------------------------------------------------------------------------------- /RB1RB2/platform-bringup/WIFI-OnBoarding/image/new_menu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB1RB2/platform-bringup/WIFI-OnBoarding/image/new_menu.png -------------------------------------------------------------------------------- /RB1RB2/platform-bringup/WIFI-OnBoarding/image/new_scan.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB1RB2/platform-bringup/WIFI-OnBoarding/image/new_scan.png -------------------------------------------------------------------------------- /RB1RB2/platform-bringup/WIFI-OnBoarding/image/new_set_ap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB1RB2/platform-bringup/WIFI-OnBoarding/image/new_set_ap.png -------------------------------------------------------------------------------- /RB1RB2/platform-bringup/WIFI-OnBoarding/image/new_set_sta.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB1RB2/platform-bringup/WIFI-OnBoarding/image/new_set_sta.png -------------------------------------------------------------------------------- /RB1RB2/platform-bringup/WIFI-OnBoarding/image/rm_all_sta.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB1RB2/platform-bringup/WIFI-OnBoarding/image/rm_all_sta.png -------------------------------------------------------------------------------- /RB1RB2/platform-bringup/WIFI-OnBoarding/image/rm_save_sta.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB1RB2/platform-bringup/WIFI-OnBoarding/image/rm_save_sta.png -------------------------------------------------------------------------------- /RB1RB2/platform-bringup/WIFI-OnBoarding/image/set_same_sta.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB1RB2/platform-bringup/WIFI-OnBoarding/image/set_same_sta.png -------------------------------------------------------------------------------- /RB1RB2/platform-bringup/WIFI-OnBoarding/image/sta_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB1RB2/platform-bringup/WIFI-OnBoarding/image/sta_off.png -------------------------------------------------------------------------------- /RB1RB2/platform-bringup/WIFI-OnBoarding/image/sta_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB1RB2/platform-bringup/WIFI-OnBoarding/image/sta_on.png -------------------------------------------------------------------------------- /RB1RB2/platform-bringup/WIFI-OnBoarding/image/wifi_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB1RB2/platform-bringup/WIFI-OnBoarding/image/wifi_off.png -------------------------------------------------------------------------------- /RB1RB2/platform-bringup/WIFI-OnBoarding/image/wifi_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB1RB2/platform-bringup/WIFI-OnBoarding/image/wifi_on.png -------------------------------------------------------------------------------- /RB1RB2/platform-bringup/WIFI-OnBoarding/wifi/get_sta.sh: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2020, 2022 Qualcomm Innovation Center, Inc. All Rights Reserved. 2 | # SPDX-License-Identifier: BSD-3-Clause-Clear 3 | 4 | #!/bin/bash 5 | 6 | # Get wireless network card name # 7 | network_card=$(iw dev |grep -o wl.*) 8 | 9 | # Determine whether the current connection # 10 | judge=$(iw dev $network_card link) 11 | if [ "$judge" = 'Not connected.' ]; then 12 | echo -e "\e[31mPlease connect to WiFi first!\e[0m" 13 | else 14 | #Get current connection SSID 15 | var1=$(iw dev $network_card link | grep 'SSID:') 16 | ssid=${var1#*:} 17 | echo -e "\e[32mCurrent current connection, ssid: $ssid.\e[0m" 18 | 19 | #Get password 20 | cat /etc/wlan/wpa_supplicant.conf | grep -A10 $ssid | grep -m 1 psk= 21 | fi 22 | -------------------------------------------------------------------------------- /RB1RB2/platform-bringup/Weston-Client-Application/image/blue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB1RB2/platform-bringup/Weston-Client-Application/image/blue.png -------------------------------------------------------------------------------- /RB1RB2/platform-bringup/Weston-Client-Application/image/green.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB1RB2/platform-bringup/Weston-Client-Application/image/green.png -------------------------------------------------------------------------------- /RB1RB2/platform-bringup/Weston-Client-Application/image/red.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB1RB2/platform-bringup/Weston-Client-Application/image/red.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AI-ML-apps/AI_Vision_Solutions/CMake/FindGStreamer.cmake: -------------------------------------------------------------------------------- 1 | find_package(PkgConfig) 2 | pkg_search_module(GLIB REQUIRED glib-2.0) 3 | pkg_check_modules(GSTREAMER REQUIRED gstreamer-1.0) 4 | pkg_check_modules(GST_APP REQUIRED gstreamer-app-1.0) 5 | pkg_check_modules(GST_VIDEO REQUIRED gstreamer-video-1.0) -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AI-ML-apps/AI_Vision_Solutions/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # CMake lowest version requirement 2 | cmake_minimum_required(VERSION 3.5.1) 3 | 4 | # project information 5 | project(AICATALOG-SNPE-SOLUTIONS) 6 | 7 | include(FindPkgConfig) 8 | pkg_check_modules(JSONCPP REQUIRED jsoncpp) 9 | pkg_check_modules(JSON REQUIRED json-glib-1.0) 10 | pkg_check_modules(GFLAGS REQUIRED gflags) 11 | 12 | set(PROJECT_ROOT ${CMAKE_CURRENT_LIST_DIR}) 13 | set(CMAKE_MODULE_PATH ${PROJECT_ROOT}/CMake) 14 | set(CMAKE_CXX_STANDARD 17) 15 | 16 | find_package(GStreamer REQUIRED) 17 | find_package(OpenCV REQUIRED ) 18 | 19 | add_subdirectory("./src") 20 | 21 | link_directories( 22 | ${JSONCPP_LIBRARY_DIRS} 23 | ${JSON_LIBRARY_DIRS} 24 | ${GFLAGS_LIBRARY_DIRS} 25 | ) 26 | -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AI-ML-apps/AI_Vision_Solutions/data/coco_label.txt: -------------------------------------------------------------------------------- 1 | person 2 | bicycle 3 | car 4 | motorcycle 5 | airplane 6 | bus 7 | train 8 | truck 9 | boat 10 | traffic light 11 | fire hydrant 12 | stop sign 13 | parking meter 14 | bench 15 | bird 16 | cat 17 | dog 18 | horse 19 | sheep 20 | cow 21 | elephant 22 | bear 23 | zebra 24 | giraffe 25 | backpack 26 | umbrella 27 | handbag 28 | tie 29 | suitcase 30 | frisbee 31 | skis 32 | snowboard 33 | sports ball 34 | kite 35 | baseball bat 36 | baseball glove 37 | skateboard 38 | surfboard 39 | tennis racket 40 | bottle 41 | wine glass 42 | cup 43 | fork 44 | knife 45 | spoon 46 | bowl 47 | banana 48 | apple 49 | sandwich 50 | orange 51 | broccoli 52 | carrot 53 | hot dog 54 | pizza 55 | donut 56 | cake 57 | chair 58 | couch 59 | potted plant 60 | bed 61 | dining table 62 | toilet 63 | tv 64 | laptop 65 | mouse 66 | remote 67 | keyboard 68 | cell phone 69 | microwave 70 | oven 71 | toaster 72 | sink 73 | refrigerator 74 | book 75 | clock 76 | vase 77 | scissors 78 | teddy bear 79 | hair drier 80 | toothbrush -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AI-ML-apps/AI_Vision_Solutions/data/crack_labels.txt: -------------------------------------------------------------------------------- 1 | 1 crack 2 | 3 | -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AI-ML-apps/AI_Vision_Solutions/data/defective_labels.txt: -------------------------------------------------------------------------------- 1 | Damaged box 2 | Undamaged box 3 | -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AI-ML-apps/AI_Vision_Solutions/data/fire_labels.txt: -------------------------------------------------------------------------------- 1 | Fire 2 | Smoke -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AI-ML-apps/AI_Vision_Solutions/data/helmet_label.txt: -------------------------------------------------------------------------------- 1 | No_Helmet 2 | Helmet 3 | person -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AI-ML-apps/AI_Vision_Solutions/data/trash_labels.txt: -------------------------------------------------------------------------------- 1 | 1 Battery 2 | 2 BrownGlass 3 | 3 GreenGlass 4 | 4 Metal 5 | 5 Plastic 6 | 6 cardboard -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AI-ML-apps/AI_Vision_Solutions/inc/DecodeQueue.h: -------------------------------------------------------------------------------- 1 | #ifndef DECODE_QUEUE_H 2 | #define DECODE_QUEUE_H 3 | 4 | #include "Detection.h" 5 | #include 6 | #include 7 | #include 8 | #include 9 | 10 | static const int DEFAULT_MAX_QUEUE_SIZE = 64; 11 | 12 | class DecodeQueue 13 | { 14 | public: 15 | DecodeQueue(uint32_t maxSize = DEFAULT_MAX_QUEUE_SIZE) : max_size_(maxSize), is_stoped_(false) {} 16 | ~DecodeQueue() {} 17 | int Dequeue(shared_ptr& item, unsigned int timeOutMs); 18 | int Enqueue(const shared_ptr& item, bool isWait); 19 | void Unlock(); 20 | std::list> GetRemainItems(); 21 | int IsEmpty(); 22 | private: 23 | std::list> queue_; 24 | std::mutex mutex_; 25 | std::condition_variable empty_cond_; 26 | std::condition_variable full_cond_; 27 | uint32_t max_size_; 28 | bool is_stoped_; 29 | }; 30 | 31 | #endif -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AI-ML-apps/AI_Vision_Solutions/inc/ModelInference.h: -------------------------------------------------------------------------------- 1 | #ifndef MODEL_INFERENCE_H_ 2 | #define MODEL_INFERENCE_H_ 3 | #include "DecodeQueue.h" 4 | #include 5 | #include 6 | #include 7 | #include 8 | #include 9 | #include 10 | #include "Configuration.h" 11 | 12 | typedef void (*NotifyDetectionResult)(shared_ptr &result, SolutionConfiguration *solution_config); 13 | 14 | class ModelInference{ 15 | public: 16 | ModelInference(); 17 | ModelInference(const string model_name); 18 | int Initialization(const ObjectDetectionSnpeConfig& config); 19 | bool IsInitialized(); 20 | bool UnInitialization(); 21 | ~ModelInference(); 22 | void SetNotifyResultCallBack(NotifyDetectionResult callback); 23 | int Inference(shared_ptr &item); 24 | private: 25 | NotifyDetectionResult notifyDetectionHandler=nullptr; 26 | // Handler for all the methods of object detection 27 | void *Yolov5Impl = nullptr; 28 | }; 29 | 30 | #endif -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AI-ML-apps/AI_Vision_Solutions/models/README.md: -------------------------------------------------------------------------------- 1 | Add models to this directory 2 | -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AI-ML-apps/FastCV-Samples/fastcvArithmetic/Makefile: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2020 Qualcomm Innovation Center, Inc. All Rights Reserved. 2 | # 3 | # SPDX-License-Identifier: BSD-3-Clause-Clear 4 | 5 | # include the variant specific .min files 6 | # V = hexagon --> hexagon.min 7 | # V = android --> android.min 8 | INCDIRS += \ 9 | inc \ 10 | 11 | ifndef V 12 | $(error Varaint must be provided, pass a variant by adding 'V=' to your build command) 13 | endif 14 | 15 | V_TARGET = $(word 1,$(subst _, ,$(V))) 16 | 17 | SUPPORTED_VS = $(default_VS) 18 | include $(HEXAGON_SDK_ROOT)/build/make.d/$(V_TARGET)_vs.min 19 | include $(HEXAGON_SDK_ROOT)/build/defines.min 20 | include $(V_TARGET).min 21 | 22 | # always last 23 | include $(RULES_MIN) 24 | -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AI-ML-apps/FastCV-Samples/fastcvArithmetic/UbuntuARM.min: -------------------------------------------------------------------------------- 1 | $(info ************ BUILDING ************) 2 | 3 | BUILD_EXES+=fastcvArithmetic 4 | fastcvArithmetic_CPP_SRCS += src/fastcvArithmetic 5 | fastcvArithmetic_LIBS += lib/libfastcv 6 | fastcvArithmetic_LD_FLAGS += -lpthread -lc -ldl 7 | fastcvArithmetic_DEFINES += VERIFY_PRINT_ERROR 8 | 9 | # copy final build products to the ship directory 10 | BUILD_COPIES = \ 11 | $(DLLS) \ 12 | $(EXES) \ 13 | $(LIBS) \ 14 | $(SHIP_DIR)/ ; 15 | -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AI-ML-apps/FastCV-Samples/fastcvArithmetic/inc/fastcv.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/AI-ML-apps/FastCV-Samples/fastcvArithmetic/inc/fastcv.h -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AI-ML-apps/FastCV-Samples/fastcvcolorconversion/Makefile: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2020 Qualcomm Innovation Center, Inc. All Rights Reserved. 2 | # 3 | # SPDX-License-Identifier: BSD-3-Clause-Clear 4 | 5 | # include the variant specific .min files 6 | # V = hexagon --> hexagon.min 7 | # V = android --> android.min 8 | INCDIRS += \ 9 | inc \ 10 | 11 | ifndef V 12 | $(error Varaint must be provided, pass a variant by adding 'V=' to your build command) 13 | endif 14 | 15 | V_TARGET = $(word 1,$(subst _, ,$(V))) 16 | 17 | SUPPORTED_VS = $(default_VS) 18 | include $(HEXAGON_SDK_ROOT)/build/make.d/$(V_TARGET)_vs.min 19 | include $(HEXAGON_SDK_ROOT)/build/defines.min 20 | include $(V_TARGET).min 21 | 22 | # always last 23 | include $(RULES_MIN) 24 | -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AI-ML-apps/FastCV-Samples/fastcvcolorconversion/UbuntuARM.min: -------------------------------------------------------------------------------- 1 | 2 | $(info ************ BUILDING ************) 3 | 4 | BUILD_EXES+=fastcvcolorconversion 5 | fastcvcolorconversion_CPP_SRCS += src/color_conversion 6 | fastcvcolorconversion_LIBS += lib/libfastcv 7 | fastcvcolorconversion_LD_FLAGS += -lpthread -lc -ldl 8 | fastcvcolorconversion_DEFINES += VERIFY_PRINT_ERROR 9 | 10 | # copy final build products to the ship directory 11 | BUILD_COPIES = \ 12 | $(DLLS) \ 13 | $(EXES) \ 14 | $(LIBS) \ 15 | $(SHIP_DIR)/ ; 16 | -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AI-ML-apps/FastCV-Samples/fastcvcolorconversion/inc/fastcv.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/AI-ML-apps/FastCV-Samples/fastcvcolorconversion/inc/fastcv.h -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AI-ML-apps/FastCV-Samples/fastcvdownscale/Makefile: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2020 Qualcomm Innovation Center, Inc. All Rights Reserved. 2 | # 3 | # SPDX-License-Identifier: BSD-3-Clause-Clear 4 | 5 | # include the variant specific .min files 6 | # V = hexagon --> hexagon.min 7 | # V = android --> android.min 8 | INCDIRS += \ 9 | inc \ 10 | 11 | ifndef V 12 | $(error Varaint must be provided, pass a variant by adding 'V=' to your build command) 13 | endif 14 | 15 | V_TARGET = $(word 1,$(subst _, ,$(V))) 16 | 17 | SUPPORTED_VS = $(default_VS) 18 | include $(HEXAGON_SDK_ROOT)/build/make.d/$(V_TARGET)_vs.min 19 | include $(HEXAGON_SDK_ROOT)/build/defines.min 20 | include $(V_TARGET).min 21 | 22 | # always last 23 | include $(RULES_MIN) 24 | -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AI-ML-apps/FastCV-Samples/fastcvdownscale/UbuntuARM.min: -------------------------------------------------------------------------------- 1 | 2 | $(info ************ BUILDING ************) 3 | 4 | BUILD_EXES+=fastcvdownscale 5 | fastcvdownscale_CPP_SRCS += src/fastcvdownscale 6 | fastcvdownscale_LIBS += lib/libfastcv 7 | fastcvdownscale_LD_FLAGS += -lpthread -lc -ldl 8 | fastcvdownscale_DEFINES += VERIFY_PRINT_ERROR 9 | 10 | # copy final build products to the ship directory 11 | BUILD_COPIES = \ 12 | $(DLLS) \ 13 | $(EXES) \ 14 | $(LIBS) \ 15 | $(SHIP_DIR)/ ; 16 | -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AI-ML-apps/FastCV-Samples/fastcvdownscale/inc/fastcv.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/AI-ML-apps/FastCV-Samples/fastcvdownscale/inc/fastcv.h -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AI-ML-apps/HexgonSDK-Image-classification/image/01_Set_ENV.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/AI-ML-apps/HexgonSDK-Image-classification/image/01_Set_ENV.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AI-ML-apps/HexgonSDK-Image-classification/image/02_make.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/AI-ML-apps/HexgonSDK-Image-classification/image/02_make.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AI-ML-apps/HexgonSDK-Image-classification/image/04_elfsigner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/AI-ML-apps/HexgonSDK-Image-classification/image/04_elfsigner.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AI-ML-apps/HexgonSDK-Image-classification/image/05_libhexagon_nn_skel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/AI-ML-apps/HexgonSDK-Image-classification/image/05_libhexagon_nn_skel.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AI-ML-apps/HexgonSDK-Image-classification/image/06_Download-TensorFlow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/AI-ML-apps/HexgonSDK-Image-classification/image/06_Download-TensorFlow.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AI-ML-apps/HexgonSDK-Image-classification/image/07_install_Bazel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/AI-ML-apps/HexgonSDK-Image-classification/image/07_install_Bazel.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AI-ML-apps/HexgonSDK-Image-classification/image/08_make_Bazel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/AI-ML-apps/HexgonSDK-Image-classification/image/08_make_Bazel.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AI-ML-apps/HexgonSDK-Image-classification/image/11_download_patch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/AI-ML-apps/HexgonSDK-Image-classification/image/11_download_patch.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AI-ML-apps/HexgonSDK-Image-classification/image/12_make.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/AI-ML-apps/HexgonSDK-Image-classification/image/12_make.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AI-ML-apps/HexgonSDK-Image-classification/image/wayland-screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/AI-ML-apps/HexgonSDK-Image-classification/image/wayland-screenshot.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AI-ML-apps/gst_mle_oss/README.md: -------------------------------------------------------------------------------- 1 | Please refer the README.txt under the respective folders for doing on-device-compilation 2 | -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AI-ML-apps/gst_mle_oss/gst_snpe/mle_gst_snpe/mle_snpe.config: -------------------------------------------------------------------------------- 1 | org.codeaurora.mle.snpe 2 | input_format = 3 3 | BlueMean = 128.0 4 | GreenMean = 128.0 5 | RedMean = 128.0 6 | BlueSigma = 128.0 7 | GreenSigma = 128.0 8 | RedSigma = 128.0 9 | UseNorm = true 10 | preprocess_type = 1 11 | confidence_threshold = 0.6 12 | output_layers = < "add_6", "Postprocessor/BatchMultiClassNonMaxSuppression" > 13 | runtime = 1 14 | model = "/data/misc/camera/mobilenet-SSD.dlc" 15 | labels = "/data/misc/camera/coco_labels.txt" -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AI-ML-apps/gst_mle_oss/gst_tflite/README.txt: -------------------------------------------------------------------------------- 1 | 1. adb shell [Please do this only once] 2 | # apt-get install cmake 3 | # mkdir -p ~/DEVELOPMENT/ 4 | # cd /root/DEVELOPMENT/ 5 | # git clone 6 | # cd gst_tflite 7 | 2. Now you can perform the on-device compilation 8 | $ adb shell 9 | # cd /root/DEVELOPMENT/gst_tflite 10 | # cmake . 11 | # make 12 | # make install 13 | ... 14 | 15 | 3. Run gst-inspect-1.0 (You should not see any blacklisted plugins) 16 | #gst-inspect-1.0 17 | 18 | 4. Please use the steps to setup the weston_server (in Quick start guide) and then run tflite inferencing via gst launch. 19 | $ adb shell 20 | #export XDG_RUNTIME_DIR=/usr/bin/weston_socket && gst-launch-1.0 qtiqmmfsrc ! video/x-raw, format=NV12,width=1280,height=720,framerate=30/1,camera=0 ! qtimletflite config=/data/misc/camera/mle_tflite.config model=/data/misc/camera/detect.tflite labels=/data/misc/camera/labelmap.txt postprocessing=detection ! queue ! qtioverlay! waylandsink fullscreen=true async=true enable-last-sample=false 21 | -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AI-ML-apps/gst_mle_oss/gst_tflite/mle_gst_tflite/mle_tflite.config: -------------------------------------------------------------------------------- 1 | org.codeaurora.mle.tflite 2 | input_format = 0 3 | BlueMean = 0.0 4 | GreenMean = 0.0 5 | RedMean = 0.0 6 | BlueSigma = 0.0 7 | GreenSigma = 0.0 8 | RedSigma = 0.0 9 | UseNorm = false 10 | preprocess_type = 1 11 | confidence_threshold = 0.6 12 | model = "/data/misc/camera/detect.tflite" 13 | labels = "/data/misc/camera/labelmap.txt" 14 | delegate = "dsp" 15 | num_threads = 2 -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AI-ML-apps/snpe_classification/Makefile: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2020 Qualcomm Innovation Center, Inc. All Rights Reserved. 2 | # SPDX-License-Identifier: BSD-3-Clause-Clear 3 | 4 | CC=gcc 5 | FLAGS=`pkg-config --cflags --libs gstreamer-1.0` 6 | 7 | SOURCES = \ 8 | snpe_classification.c 9 | 10 | TARGETS = $(foreach n,$(SOURCES),$(basename $(n))) 11 | 12 | all: ${TARGETS} 13 | 14 | .PHONY: ${TARGETS} 15 | 16 | ${TARGETS}: %:%.c 17 | $(CC) -Wall $< -o $@ $(FLAGS) 18 | 19 | clean: 20 | rm -f ${TARGETS} 21 | -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AI-ML-apps/snpe_classification/install.sh: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2020 Qualcomm Innovation Center, Inc. All Rights Reserved. 2 | # SPDX-License-Identifier: BSD-3-Clause-Clear 3 | 4 | # weston.sh: script to start weston display server 5 | cp weston.sh /data 6 | 7 | # snpe classification model 8 | cp tensorflow_mobilenet.dlc /data/misc/camera 9 | cp snpe_classification.config /data/misc/camera 10 | cp imagenet_slim_labels.txt /data/misc/camera 11 | -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AI-ML-apps/snpe_classification/snpe_classification.config: -------------------------------------------------------------------------------- 1 | org.codeaurora.mle.snpe 2 | input_format = 3 3 | BlueMean = 128.0 4 | GreenMean = 128.0 5 | RedMean = 128.0 6 | BlueSigma = 128.0 7 | GreenSigma = 128.0 8 | RedSigma = 128.0 9 | UseNorm = true 10 | preprocess_type = 1 11 | confidence_threshold = 0.2 12 | runtime = 1 13 | model = "/data/misc/camera/tensorflow_mobilenet.dlc" 14 | labels = "/data/misc/camera/imagenet_slim_labels.txt" 15 | -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AI-ML-apps/snpe_classification/weston.sh: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2020 Qualcomm Innovation Center, Inc. All Rights Reserved. 2 | # SPDX-License-Identifier: BSD-3-Clause-Clear 3 | 4 | #! /bin/bash 5 | mkdir -p /usr/bin/weston_socket 6 | export XDG_RUNTIME_DIR=/usr/bin/weston_socket 7 | export LD_LIBRARY_PATH=/usr/lib:/usr/lib/aarch64-linux-gnu/ 8 | weston --tty=1 --connector=29 --idle-time=9999 9 | -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AI-ML-apps/snpe_detection/Makefile: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2020 Qualcomm Innovation Center, Inc. All Rights Reserved. 2 | # SPDX-License-Identifier: BSD-3-Clause-Clear 3 | 4 | CC=gcc 5 | FLAGS=`pkg-config --cflags --libs gstreamer-1.0` 6 | 7 | SOURCES = \ 8 | snpe_detection.c 9 | 10 | TARGETS = $(foreach n,$(SOURCES),$(basename $(n))) 11 | 12 | all: ${TARGETS} 13 | 14 | .PHONY: ${TARGETS} 15 | 16 | ${TARGETS}: %:%.c 17 | $(CC) -Wall $< -o $@ $(FLAGS) 18 | 19 | clean: 20 | rm -f ${TARGETS} 21 | -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AI-ML-apps/snpe_detection/install.sh: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2020 Qualcomm Innovation Center, Inc. All Rights Reserved. 2 | # SPDX-License-Identifier: BSD-3-Clause-Clear 3 | 4 | # weston.sh: script to start weston display server 5 | cp weston.sh /data 6 | 7 | # snpe detection model 8 | cp mobilenet-SSD.dlc /data/misc/camera 9 | cp mle_snpe.config /data/misc/camera 10 | cp coco_labels.txt /data/misc/camera 11 | -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AI-ML-apps/snpe_detection/mle_snpe.config: -------------------------------------------------------------------------------- 1 | org.codeaurora.mle.snpe 2 | input_format = 3 3 | BlueMean = 128.0 4 | GreenMean = 128.0 5 | RedMean = 128.0 6 | BlueSigma = 128.0 7 | GreenSigma = 128.0 8 | RedSigma = 128.0 9 | UseNorm = true 10 | preprocess_type = 1 11 | confidence_threshold = 0.6 12 | output_layers = < "add_6", "Postprocessor/BatchMultiClassNonMaxSuppression" > 13 | runtime = 1 14 | model = "/data/misc/camera/mobilenet-SSD.dlc" 15 | labels = "/data/misc/camera/coco_labels.txt" -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AI-ML-apps/snpe_detection/weston.sh: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2020 Qualcomm Innovation Center, Inc. All Rights Reserved. 2 | # SPDX-License-Identifier: BSD-3-Clause-Clear 3 | 4 | #! /bin/bash 5 | mkdir -p /usr/bin/weston_socket 6 | export XDG_RUNTIME_DIR=/usr/bin/weston_socket 7 | export LD_LIBRARY_PATH=/usr/lib:/usr/lib/aarch64-linux-gnu/ 8 | weston --tty=1 --connector=29 --idle-time=9999 9 | -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AI-ML-apps/tflite_posenet/Makefile: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2020 Qualcomm Innovation Center, Inc. All Rights Reserved. 2 | # SPDX-License-Identifier: BSD-3-Clause-Clear 3 | 4 | CC=gcc 5 | FLAGS=`pkg-config --cflags --libs gstreamer-1.0` 6 | 7 | SOURCES = \ 8 | tflite_posenet.c 9 | 10 | TARGETS = $(foreach n,$(SOURCES),$(basename $(n))) 11 | 12 | all: ${TARGETS} 13 | 14 | .PHONY: ${TARGETS} 15 | 16 | ${TARGETS}: %:%.c 17 | $(CC) -Wall $< -o $@ $(FLAGS) 18 | 19 | clean: 20 | rm -f ${TARGETS} 21 | -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AI-ML-apps/tflite_posenet/install.sh: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2020 Qualcomm Innovation Center, Inc. All Rights Reserved. 2 | # SPDX-License-Identifier: BSD-3-Clause-Clear 3 | 4 | # weston.sh: script to start weston display server 5 | cp weston.sh /data 6 | 7 | # TFLite posenet model 8 | cp posenet_mobilenet_v1_075_481_641_quant.tflite /data/misc/camera 9 | 10 | -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AI-ML-apps/tflite_posenet/weston.sh: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2020 Qualcomm Innovation Center, Inc. All Rights Reserved. 2 | # SPDX-License-Identifier: BSD-3-Clause-Clear 3 | 4 | #! /bin/bash 5 | mkdir -p /usr/bin/weston_socket 6 | export XDG_RUNTIME_DIR=/usr/bin/weston_socket 7 | export LD_LIBRARY_PATH=/usr/lib:/usr/lib/aarch64-linux-gnu/ 8 | weston --tty=1 --connector=29 --idle-time=9999 9 | -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AI-ML-apps/tflite_segmentation/Makefile: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2020 Qualcomm Innovation Center, Inc. All Rights Reserved. 2 | # SPDX-License-Identifier: BSD-3-Clause-Clear 3 | 4 | CC=gcc 5 | FLAGS=`pkg-config --cflags --libs gstreamer-1.0` 6 | 7 | SOURCES = \ 8 | tflite_segmentation.c 9 | 10 | TARGETS = $(foreach n,$(SOURCES),$(basename $(n))) 11 | 12 | all: ${TARGETS} 13 | 14 | .PHONY: ${TARGETS} 15 | 16 | ${TARGETS}: %:%.c 17 | $(CC) -Wall $< -o $@ $(FLAGS) 18 | 19 | clean: 20 | rm -f ${TARGETS} 21 | -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AI-ML-apps/tflite_segmentation/install.sh: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2020 Qualcomm Innovation Center, Inc. All Rights Reserved. 2 | # SPDX-License-Identifier: BSD-3-Clause-Clear 3 | 4 | # weston.sh: script to start weston display server 5 | cp weston.sh /data 6 | 7 | # TFLite segmentation model 8 | cp dv3_argmax_int32.tflite /data/misc/camera 9 | 10 | 11 | -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AI-ML-apps/tflite_segmentation/weston.sh: -------------------------------------------------------------------------------- 1 | 2 | # Copyright (c) 2020 Qualcomm Innovation Center, Inc. All Rights Reserved. 3 | # SPDX-License-Identifier: BSD-3-Clause-Clear 4 | 5 | #! /bin/bash 6 | mkdir -p /usr/bin/weston_socket 7 | export XDG_RUNTIME_DIR=/usr/bin/weston_socket 8 | export LD_LIBRARY_PATH=/usr/lib:/usr/lib/aarch64-linux-gnu/ 9 | weston --tty=1 --connector=29 10 | -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/colorschememapping.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image001.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image001.jpg -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image002.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image002.jpg -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image003.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image003.jpg -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image004.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image004.jpg -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image005.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image005.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image006.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image006.jpg -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image007.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image007.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image008.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image008.jpg -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image009.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image009.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image010.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image010.jpg -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image011.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image011.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image012.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image012.jpg -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image013.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image013.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image014.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image014.jpg -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image015.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image015.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image016.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image016.jpg -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image017.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image017.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image018.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image018.jpg -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image019.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image019.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image020.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image020.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image021.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image021.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image022.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image022.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image023.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image023.jpg -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image024.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image024.jpg -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image025.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image025.jpg -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image026.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image026.jpg -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image027.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image027.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image028.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image028.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image029.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image029.jpg -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image030.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image030.jpg -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image031.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image031.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image032.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image032.jpg -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image033.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image033.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image034.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image034.jpg -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image035.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image035.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image036.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image036.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image037.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image037.jpg -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image038.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image038.jpg -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image039.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image039.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image040.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image040.jpg -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image041.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image041.jpg -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image042.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image042.jpg -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image043.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image043.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image044.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image044.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image045.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image045.jpg -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image046.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/image046.jpg -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/item0001.xml: -------------------------------------------------------------------------------- 1 | DocumentLibraryFormDocumentLibraryFormDocumentLibraryForm -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/item0005.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/props002.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/props006.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/themedata.thmx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/AWS-Samples/AWS-Robomaker/Green-Grass-Installation/Images/themedata.thmx -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AWS-Samples/AWS-Sample-Applications/CloudwatchLogs-ros2/image/CloudwatchLog_Screenshot_1.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/AWS-Samples/AWS-Sample-Applications/CloudwatchLogs-ros2/image/CloudwatchLog_Screenshot_1.PNG -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AWS-Samples/AWS-Sample-Applications/CloudwatchLogs-ros2/image/CloudwatchLog_Screenshot_2.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/AWS-Samples/AWS-Sample-Applications/CloudwatchLogs-ros2/image/CloudwatchLog_Screenshot_2.PNG -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AWS-Samples/AWS-Sample-Applications/CloudwatchLogs-ros2/image/CloudwatchLog_Screenshot_3.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/AWS-Samples/AWS-Sample-Applications/CloudwatchLogs-ros2/image/CloudwatchLog_Screenshot_3.PNG -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AWS-Samples/AWS-Sample-Applications/CloudwatchMetrics-ros2/image/CloudwatchMetrics_Screenshot_1.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/AWS-Samples/AWS-Sample-Applications/CloudwatchMetrics-ros2/image/CloudwatchMetrics_Screenshot_1.PNG -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AWS-Samples/AWS-Sample-Applications/CloudwatchMetrics-ros2/image/CloudwatchMetrics_Screenshot_2.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/AWS-Samples/AWS-Sample-Applications/CloudwatchMetrics-ros2/image/CloudwatchMetrics_Screenshot_2.PNG -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AWS-Samples/AWS-Sample-Applications/CloudwatchMetrics-ros2/image/CloudwatchMetrics_Screenshot_3.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/AWS-Samples/AWS-Sample-Applications/CloudwatchMetrics-ros2/image/CloudwatchMetrics_Screenshot_3.PNG -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AWS-Samples/AWS-Sample-Applications/CloudwatchMetrics-ros2/image/CloudwatchMetrics_Screenshot_4.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/AWS-Samples/AWS-Sample-Applications/CloudwatchMetrics-ros2/image/CloudwatchMetrics_Screenshot_4.PNG -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AWS-Samples/AWS-Sample-Applications/image/AWS-CLI-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/AWS-Samples/AWS-Sample-Applications/image/AWS-CLI-1.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AWS-Samples/AWS-Sample-Applications/image/AWS-CLI-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/AWS-Samples/AWS-Sample-Applications/image/AWS-CLI-2.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AWS-Samples/AWS-Sample-Applications/image/AWS-CLI-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/AWS-Samples/AWS-Sample-Applications/image/AWS-CLI-3.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AWS-Samples/AWS-Sample-Applications/image/AWS-CLI-4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/AWS-Samples/AWS-Sample-Applications/image/AWS-CLI-4.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AWS-Samples/AWS-Sample-Applications/kinesisvideo-ros2/image/KinesisVideo_Screenshot_1.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/AWS-Samples/AWS-Sample-Applications/kinesisvideo-ros2/image/KinesisVideo_Screenshot_1.PNG -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AWS-Samples/AWS-Sample-Applications/kinesisvideo-ros2/image/KinesisVideo_Screenshot_2.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/AWS-Samples/AWS-Sample-Applications/kinesisvideo-ros2/image/KinesisVideo_Screenshot_2.PNG -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AWS-Samples/AWS-Sample-Applications/kinesisvideo-ros2/image/KinesisVideo_Screenshot_3.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/AWS-Samples/AWS-Sample-Applications/kinesisvideo-ros2/image/KinesisVideo_Screenshot_3.PNG -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AWS-Samples/AWS-Sample-Applications/kinesisvideo-ros2/image/KinesisVideo_Screenshot_4.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/AWS-Samples/AWS-Sample-Applications/kinesisvideo-ros2/image/KinesisVideo_Screenshot_4.PNG -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AWS-Samples/AWS-Sample-Applications/kinesisvideo-ros2/image/KinesisVideo_Screenshot_5.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/AWS-Samples/AWS-Sample-Applications/kinesisvideo-ros2/image/KinesisVideo_Screenshot_5.PNG -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AWS-Samples/AWS-Sample-Applications/lex-ros2/image/Lex_Screenshot_1.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/AWS-Samples/AWS-Sample-Applications/lex-ros2/image/Lex_Screenshot_1.PNG -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AWS-Samples/AWS-Sample-Applications/lex-ros2/image/Lex_Screenshot_2.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/AWS-Samples/AWS-Sample-Applications/lex-ros2/image/Lex_Screenshot_2.PNG -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AWS-Samples/AWS-Sample-Applications/lex-ros2/image/Lex_Screenshot_3.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/AWS-Samples/AWS-Sample-Applications/lex-ros2/image/Lex_Screenshot_3.PNG -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AWS-Samples/AWS-Sample-Applications/mqtt-bridge/image/Mqtt_Screenshot_1.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/AWS-Samples/AWS-Sample-Applications/mqtt-bridge/image/Mqtt_Screenshot_1.PNG -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AWS-Samples/AWS-Sample-Applications/mqtt-bridge/image/Mqtt_Screenshot_2.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/AWS-Samples/AWS-Sample-Applications/mqtt-bridge/image/Mqtt_Screenshot_2.PNG -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AWS-Samples/AWS-Sample-Applications/mqtt-bridge/image/Mqtt_Screenshot_3.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/AWS-Samples/AWS-Sample-Applications/mqtt-bridge/image/Mqtt_Screenshot_3.PNG -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AWS-Samples/AWS-Sample-Applications/mqtt-bridge/image/Mqtt_Screenshot_4.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/AWS-Samples/AWS-Sample-Applications/mqtt-bridge/image/Mqtt_Screenshot_4.PNG -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AWS-Samples/AWS-Sample-Applications/mqtt-bridge/image/Mqtt_Screenshot_5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/AWS-Samples/AWS-Sample-Applications/mqtt-bridge/image/Mqtt_Screenshot_5.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AWS-Samples/AWS-Sample-Applications/mqtt-bridge/image/Mqtt_Screenshot_6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/AWS-Samples/AWS-Sample-Applications/mqtt-bridge/image/Mqtt_Screenshot_6.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AWS-Samples/AWS-Sample-Applications/tts-ros2/image/TTS_Screenshot_1.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/AWS-Samples/AWS-Sample-Applications/tts-ros2/image/TTS_Screenshot_1.PNG -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AWS-Samples/AWS-Sample-Applications/tts-ros2/image/TTS_Screenshot_2.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/AWS-Samples/AWS-Sample-Applications/tts-ros2/image/TTS_Screenshot_2.PNG -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AWS-Samples/AWS-Sample-Applications/utils-commons/image/UtilsCommon_Screenshot_1.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/AWS-Samples/AWS-Sample-Applications/utils-commons/image/UtilsCommon_Screenshot_1.PNG -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/AWS-Samples/AWS-Sample-Applications/utils-ros2/image/Utils_Screenshot_1.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/AWS-Samples/AWS-Sample-Applications/utils-ros2/image/Utils_Screenshot_1.PNG -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/C2D-Samples/image/choose.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/C2D-Samples/image/choose.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/C2D-Samples/image/color_format_dst.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/C2D-Samples/image/color_format_dst.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/C2D-Samples/image/rotate_scale_dst.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/C2D-Samples/image/rotate_scale_dst.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/C2D-Samples/src/Makefile: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2020 Qualcomm Innovation Center, Inc. All Rights Reserved. 2 | # SPDX-License-Identifier: BSD-3-Clause-Clear 3 | 4 | INC = -I /usr/include/qrb5165 \ 5 | -I /usr/include/qrb5165/ion_headers 6 | 7 | all:c2d_test 8 | 9 | c2d_test:c2d_test.cpp 10 | g++ c2d_test.cpp -o c2d_test $(INC) -ldl -lc2dcolorconvert -lion 11 | 12 | .PHONY: 13 | clean 14 | clean: 15 | rm c2d_test 16 | -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/C2D-Samples/src/demo.yuv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/C2D-Samples/src/demo.yuv -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/C2D-Samples/src/set_env.sh: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2020 Qualcomm Innovation Center, Inc. All Rights Reserved. 2 | # SPDX-License-Identifier: BSD-3-Clause-Clear 3 | 4 | #!/bin/bash 5 | 6 | # Copy msm_kgsl.h from the package you downloaded to the specified path. 7 | tar -xvf libdrm-2.4.82.tar.bz2 8 | cp libdrm-2.4.82/freedreno/kgsl/msm_kgsl.h /usr/include/linux 9 | rm libdrm-2.4.82/ libdrm-2.4.82.tar.bz2 -rf 10 | 11 | # Set up soft links. 12 | ln -s /usr/lib/libion.so.0.0.0 /usr/lib/libion.so 13 | -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/GStreamer-apps/cpp/Makefile: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2020 Qualcomm Innovation Center, Inc. All Rights Reserved. 2 | # SPDX-License-Identifier: BSD-3-Clause-Clear 3 | 4 | SUBDIRS = \ 5 | gst_audio \ 6 | gst_camera \ 7 | gst_encode_decode \ 8 | gst_gui_app \ 9 | gst_streaming \ 10 | gst_transform \ 11 | gst_alsa/src \ 12 | gst_tflite/src 13 | 14 | .PHONY: all clean 15 | 16 | all: 17 | @list='$(SUBDIRS)'; for subdir in $$list; do \ 18 | $(MAKE) -C $$subdir;\ 19 | done 20 | 21 | clean: 22 | @list='$(SUBDIRS)'; for subdir in $$list; do \ 23 | $(MAKE) -C $$subdir clean;\ 24 | done 25 | -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/GStreamer-apps/cpp/gst_alsa/HWConfig/install.sh: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2020 Qualcomm Innovation Center, Inc. All Rights Reserved. 2 | # SPDX-License-Identifier: BSD-3-Clause-Clear 3 | 4 | #! /bin/bash 5 | 6 | chmod 644 qc-alsa-restore.service 7 | chmod 777 qc_alsa_restore.sh 8 | cp qc-alsa-restore.service /lib/systemd/system/ 9 | cp qc_alsa_restore.sh /usr/bin/ 10 | systemctl enable qc-alsa-restore 11 | sync 12 | -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/GStreamer-apps/cpp/gst_alsa/HWConfig/qc-alsa-restore.service: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2020 Qualcomm Innovation Center, Inc. All Rights Reserved. 2 | # SPDX-License-Identifier: BSD-3-Clause-Clear 3 | 4 | # Based on the user unit 5 | 6 | [Unit] 7 | Description=QC ALSA restore Service 8 | After=init_audio.service 9 | 10 | [Service] 11 | Type=idle 12 | ExecStartPre=/bin/sleep 10s 13 | ExecStart=/usr/bin/qc_alsa_restore.sh 14 | Restart=on-failure 15 | 16 | [Install] 17 | WantedBy=multi-user.target 18 | -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/GStreamer-apps/cpp/gst_alsa/image/01_make.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/GStreamer-apps/cpp/gst_alsa/image/01_make.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/GStreamer-apps/cpp/gst_alsa/image/02_speaker_connect.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/GStreamer-apps/cpp/gst_alsa/image/02_speaker_connect.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/GStreamer-apps/cpp/gst_alsa/image/03_playback.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/GStreamer-apps/cpp/gst_alsa/image/03_playback.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/GStreamer-apps/cpp/gst_alsa/image/04_enable_dmic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/GStreamer-apps/cpp/gst_alsa/image/04_enable_dmic.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/GStreamer-apps/cpp/gst_alsa/image/05_capture_playback.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/GStreamer-apps/cpp/gst_alsa/image/05_capture_playback.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/GStreamer-apps/cpp/gst_alsa/image/06_init_service.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/GStreamer-apps/cpp/gst_alsa/image/06_init_service.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/GStreamer-apps/cpp/gst_alsa/src/Makefile: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2020 Qualcomm Innovation Center, Inc. All Rights Reserved. 2 | # SPDX-License-Identifier: BSD-3-Clause-Clear 3 | 4 | CC = gcc 5 | CFLAGS += $(shell pkg-config --cflags --libs gstreamer-1.0) 6 | 7 | TARGET = gst_audio_sample 8 | 9 | $(TARGET): $(TARGET).c 10 | $(CC) $< -o $@ $(CFLAGS) 11 | 12 | .PHONY: clean 13 | 14 | install: 15 | cp $(TARGET) /usr/bin/ 16 | 17 | clean: 18 | rm -f $(TARGET) 19 | -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/GStreamer-apps/cpp/gst_audio/Makefile: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2020 Qualcomm Innovation Center, Inc. All Rights Reserved. 2 | # SPDX-License-Identifier: BSD-3-Clause-Clear 3 | 4 | CC=gcc 5 | FLAGS=`pkg-config --cflags --libs gstreamer-1.0` 6 | 7 | SOURCES = \ 8 | audio_playback.c \ 9 | audio_record.c 10 | 11 | TARGETS = $(foreach n,$(SOURCES),$(basename $(n))) 12 | 13 | all: ${TARGETS} 14 | 15 | .PHONY: all clean 16 | 17 | ${TARGETS}: %:%.c 18 | $(CC) -Wall $< -o $@ $(FLAGS) 19 | 20 | clean: 21 | rm -f ${TARGETS} 22 | -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/GStreamer-apps/cpp/gst_camera/Makefile: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2020 Qualcomm Innovation Center, Inc. All Rights Reserved. 2 | # SPDX-License-Identifier: BSD-3-Clause-Clear 3 | 4 | CC=gcc 5 | FLAGS=`pkg-config --cflags --libs gstreamer-1.0` 6 | 7 | SOURCES = \ 8 | usbcam_display.c \ 9 | ispcam_display.c 10 | 11 | TARGETS = $(foreach n,$(SOURCES),$(basename $(n))) 12 | 13 | all: ${TARGETS} 14 | 15 | .PHONY: all clean 16 | 17 | ${TARGETS}: %:%.c 18 | $(CC) -Wall $< -o $@ $(FLAGS) 19 | 20 | clean: 21 | rm -f ${TARGETS} 22 | -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/GStreamer-apps/cpp/gst_camera/image/ispCamera_display_weston.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/GStreamer-apps/cpp/gst_camera/image/ispCamera_display_weston.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/GStreamer-apps/cpp/gst_camera/image/usbCamera_display_weston.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/GStreamer-apps/cpp/gst_camera/image/usbCamera_display_weston.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/GStreamer-apps/cpp/gst_encode_decode/Makefile: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2020 Qualcomm Innovation Center, Inc. All Rights Reserved. 2 | # SPDX-License-Identifier: BSD-3-Clause-Clear 3 | 4 | CC=gcc 5 | FLAGS=`pkg-config --cflags --libs gstreamer-1.0` 6 | 7 | SOURCES = \ 8 | usbcam_encode_mp4.c \ 9 | ispcam_encode_mp4.c \ 10 | mp4_decode_playback.c 11 | 12 | TARGETS = $(foreach n,$(SOURCES),$(basename $(n))) 13 | 14 | all: ${TARGETS} 15 | 16 | .PHONY: all clean 17 | 18 | ${TARGETS}: %:%.c 19 | $(CC) -Wall $< -o $@ $(FLAGS) 20 | 21 | clean: 22 | rm -f ${TARGETS} 23 | -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/GStreamer-apps/cpp/gst_gui_app/gui_app.pro: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2020 Qualcomm Innovation Center, Inc. All Rights Reserved. 2 | # SPDX-License-Identifier: BSD-3-Clause-Clear 3 | 4 | QT += widgets 5 | 6 | QT_CONFIG -= no-pkg-config 7 | CONFIG += link_pkgconfig 8 | PKGCONFIG += gstreamer-1.0 9 | 10 | HEADERS = \ 11 | qgstpipeline.h \ 12 | qgstthreadcontroller.h \ 13 | window.h 14 | 15 | SOURCES = main.cpp \ 16 | qgstpipeline.cpp \ 17 | qgstthreadcontroller.cpp \ 18 | window.cpp 19 | 20 | -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/GStreamer-apps/cpp/gst_gui_app/image/gui-app-snapshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/GStreamer-apps/cpp/gst_gui_app/image/gui-app-snapshot.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/GStreamer-apps/cpp/gst_gui_app/main.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020 Qualcomm Innovation Center, Inc. All Rights Reserved. 3 | * 4 | * SPDX-License-Identifier: BSD-3-Clause-Clear 5 | */ 6 | 7 | #include 8 | 9 | #include "window.h" 10 | 11 | int main(int argc, char *argv[]) 12 | { 13 | QApplication app(argc, argv); 14 | Window window; 15 | window.show(); 16 | return app.exec(); 17 | } 18 | -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/GStreamer-apps/cpp/gst_streaming/Makefile: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2020 Qualcomm Innovation Center, Inc. All Rights Reserved. 2 | # SPDX-License-Identifier: BSD-3-Clause-Clear 3 | 4 | CC=gcc 5 | FLAGS=`pkg-config --cflags --libs gstreamer-1.0` 6 | 7 | SOURCES = tcp_server.c 8 | 9 | TARGETS = $(foreach n,$(SOURCES),$(basename $(n))) 10 | 11 | all: ${TARGETS} 12 | 13 | .PHONY: all clean 14 | 15 | ${TARGETS}: %:%.c 16 | $(CC) -Wall $< -o $@ $(FLAGS) 17 | 18 | clean: 19 | rm -f ${TARGETS} 20 | -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/GStreamer-apps/cpp/gst_tflite/detect.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/GStreamer-apps/cpp/gst_tflite/detect.tflite -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/GStreamer-apps/cpp/gst_tflite/image/gst-tflite2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/GStreamer-apps/cpp/gst_tflite/image/gst-tflite2.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/GStreamer-apps/cpp/gst_tflite/install.sh: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2020 Qualcomm Innovation Center, Inc. All Rights Reserved. 2 | # SPDX-License-Identifier: BSD-3-Clause-Clear 3 | 4 | # weston.sh: script to start weston display server 5 | cp weston.sh /data 6 | 7 | # TFLite object detection model and label files 8 | cp detect.tflite /data/misc/camera 9 | cp labelmap.txt /data/misc/camera 10 | 11 | -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/GStreamer-apps/cpp/gst_tflite/src/Makefile: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2020 Qualcomm Innovation Center, Inc. All Rights Reserved. 2 | # SPDX-License-Identifier: BSD-3-Clause-Clear 3 | 4 | CC=gcc 5 | FLAGS=`pkg-config --cflags --libs gstreamer-1.0` 6 | 7 | SOURCES = \ 8 | tflite_object_detection.c 9 | 10 | TARGETS = $(foreach n,$(SOURCES),$(basename $(n))) 11 | 12 | all: ${TARGETS} 13 | 14 | .PHONY: ${TARGETS} 15 | 16 | ${TARGETS}: %:%.c 17 | $(CC) -Wall $< -o $@ $(FLAGS) 18 | 19 | clean: 20 | rm -f ${TARGETS} 21 | -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/GStreamer-apps/cpp/gst_tflite/weston.sh: -------------------------------------------------------------------------------- 1 | 2 | # Copyright (c) 2020 Qualcomm Innovation Center, Inc. All Rights Reserved. 3 | # SPDX-License-Identifier: BSD-3-Clause-Clear 4 | 5 | #! /bin/bash 6 | mkdir -p /usr/bin/weston_socket 7 | export XDG_RUNTIME_DIR=/usr/bin/weston_socket 8 | export LD_LIBRARY_PATH=/usr/lib:/usr/lib/aarch64-linux-gnu/ 9 | weston --tty=1 --connector=29 10 | -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/GStreamer-apps/cpp/gst_transform/Makefile: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2020 Qualcomm Innovation Center, Inc. All Rights Reserved. 2 | # SPDX-License-Identifier: BSD-3-Clause-Clear 3 | 4 | CC=gcc 5 | FLAGS=`pkg-config --cflags --libs gstreamer-1.0` 6 | 7 | SOURCES = transform_display.c 8 | 9 | TARGETS = $(foreach n,$(SOURCES),$(basename $(n))) 10 | 11 | all: ${TARGETS} 12 | 13 | .PHONY: all clean 14 | 15 | ${TARGETS}: %:%.c 16 | $(CC) -Wall $< -o $@ $(FLAGS) 17 | 18 | clean: 19 | rm -f ${TARGETS} 20 | -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/GStreamer-apps/cpp/gst_transform/image/gst-transform-flip-crop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/GStreamer-apps/cpp/gst_transform/image/gst-transform-flip-crop.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/GStreamer-apps/cpp/gst_transform/image/gst-transform-flip-h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/GStreamer-apps/cpp/gst_transform/image/gst-transform-flip-h.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/GStreamer-apps/cpp/gst_transform/image/gst-transform-flip-rotate2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/GStreamer-apps/cpp/gst_transform/image/gst-transform-flip-rotate2.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/GStreamer-apps/cpp/gst_transform/image/gst-transform-flip-v.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/GStreamer-apps/cpp/gst_transform/image/gst-transform-flip-v.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/GStreamer-apps/cpp/weston.sh: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2020 Qualcomm Innovation Center, Inc. All Rights Reserved. 2 | # SPDX-License-Identifier: BSD-3-Clause-Clear 3 | 4 | #! /bin/bash 5 | 6 | mkdir -p /usr/bin/weston_socket 7 | export XDG_RUNTIME_DIR=/usr/bin/weston_socket 8 | export LD_LIBRARY_PATH=/usr/lib:/usr/lib/aarch64-linux-gnu/ 9 | weston --tty=1 --connector=29 10 | -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/GStreamer-apps/python/gst_alsa/README.md: -------------------------------------------------------------------------------- 1 | # Gst_ALSA 2 | The purpose of this application is to implement the playback and recording functions of gstreamer+alsa on the QTI platform. 3 | 4 | ## Note: 5 | 6 | - If pulseaudio service is enabled, disable it and start the alsa-restore service. 7 | ```bash 8 | $ systemctl stop pulseaudio 9 | $ apt-get install alsa-utils 10 | $ systemctl start alsa-restore.service 11 | ``` 12 | BTW, if you want to disable this service, please run: 13 | ``` 14 | $ systemctl disable qc-alsa-restore 15 | ``` 16 | ### Steps to run alsa playback and recording application 17 | - Go to the downloaded directory on RB5 18 | ```bash 19 | cd /gst-python-samples/gst-alsa 20 | ``` 21 | - Run the alsa playback and record application 22 | 23 | -**Alsa audio playback:** Provide playback as the first argument for audio playback. 24 | ```bash 25 | python3 alsa playback audiofile.wav 26 | ``` 27 | -**Alsa audio recording:** Provide capture as the first argument for alsa audio recording. 28 | ```bash 29 | python3 alsa capture audiorecord.wav -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/GStreamer-apps/python/gst_alsa/image/capture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/GStreamer-apps/python/gst_alsa/image/capture.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/GStreamer-apps/python/gst_alsa/image/playback.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/GStreamer-apps/python/gst_alsa/image/playback.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/GStreamer-apps/python/gst_camera/image/ispcam_display_weston.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/GStreamer-apps/python/gst_camera/image/ispcam_display_weston.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/GStreamer-apps/python/gst_camera/image/usbcam_display_weston.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/GStreamer-apps/python/gst_camera/image/usbcam_display_weston.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/GStreamer-apps/python/gst_gui_app/image/gui-app-snapshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/GStreamer-apps/python/gst_gui_app/image/gui-app-snapshot.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/GStreamer-apps/python/gst_streaming/README.md: -------------------------------------------------------------------------------- 1 | 2 | # Video Streaming 3 | This application is used for streaming video on the network. This sample creates a TCP streaming server with gstreamer. tcp_server streams video on the network through tcp. 4 | 5 | ## Start Streaming 6 | 7 | Steps for running tcp_server steaming application: 8 | 9 | ### TCP Streaming Server: 10 | - Go to the downloaded directory on RB5 11 | ```bash 12 | $ cd /gst_streaming 13 | ``` 14 | - Example of streaming video from camera 0, on port 5 and ip address of the board: 192.168.3.5 15 | 16 | ```bash 17 | $ python3 tcp_server.py 0 5000 192.168.3.5 18 | ``` 19 | 20 | ### Client player: 21 | 22 | - Command line example: 23 | ```bash 24 | vlc tcp://192.168.3.5:5000/ 25 | -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/GStreamer-apps/python/gst_tflite/README.md: -------------------------------------------------------------------------------- 1 | # RB5 TensorFlow Lite Demo: Object Detection User Guide 2 | 3 | ## 1. Init and set up the environment 4 | 5 | - Run the script: install.sh 6 | 7 | ``` 8 | $ cd /gst_tflite 9 | sh install.sh 10 | ``` 11 | 12 | + Connect the board to screen through HDMI output/USB capture card. 13 | + Turn on weston display with `weston.sh` 14 | ``` 15 | $ /weston.sh 16 | ``` 17 | 18 | ## 2. Run the tflite demo app 19 | + Run in RB5-terminal 20 | 21 | ```shell 22 | $ cd /gst_tflite 23 | $ export XDG_RUNTIME_DIR=/dev/socket/weston 24 | $ python3 tflite_object_detection.py 25 | ``` 26 | ![Object Detection](image/tflite_one.png)*Fig 1: Detecting Object* 27 | -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/GStreamer-apps/python/gst_tflite/image/tflite_one.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/GStreamer-apps/python/gst_tflite/image/tflite_one.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/GStreamer-apps/python/gst_tflite/install.sh: -------------------------------------------------------------------------------- 1 | rm -rf detect.tflite labelmap.txt 2 | wget https://raw.githubusercontent.com/quic/sample-apps-for-Qualcomm-Robotics-RB5-platform/master/Gstreamer-Applications/gst_tflite/labelmap.txt 3 | wget https://raw.githubusercontent.com/quic/sample-apps-for-Qualcomm-Robotics-RB5-platform/master/Gstreamer-Applications/gst_tflite/detect.tflite 4 | cp detect.tflite /data/misc/camera 5 | cp labelmap.txt /data/misc/camera 6 | 7 | -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/GStreamer-apps/python/gst_transform/image/crop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/GStreamer-apps/python/gst_transform/image/crop.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/GStreamer-apps/python/gst_transform/image/flip_h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/GStreamer-apps/python/gst_transform/image/flip_h.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/GStreamer-apps/python/gst_transform/image/flip_v.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/GStreamer-apps/python/gst_transform/image/flip_v.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/GStreamer-apps/python/gst_transform/image/rotate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/GStreamer-apps/python/gst_transform/image/rotate.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/GStreamer-apps/python/weston.sh: -------------------------------------------------------------------------------- 1 | export XDG_RUNTIME_DIR=/dev/socket/weston 2 | mkdir -p /dev/socket/weston 3 | /usr/bin/weston --tty=1 --idle-time=0 & 4 | -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/People-Detection-YoloV5/model/inputlist.txt: -------------------------------------------------------------------------------- 1 | %443 496 549 2 | input.raw 3 | -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/People-Detection-YoloV5/model/mle_snpeyolov5m_quant.config: -------------------------------------------------------------------------------- 1 | org.codeaurora.mle.snpe 2 | input_format = 3 3 | BlueMean = 0.0 4 | GreenMean = 0.0 5 | RedMean = 0.0 6 | BlueSigma = 255.0 7 | GreenSigma = 255.0 8 | RedSigma = 255.0 9 | UseNorm = true 10 | x_axis = 500 11 | y_axis = 100 12 | width = 500 13 | height = 500 14 | preprocess_type = 1 15 | confidence_threshold = 0.4 16 | nms_threshold = 0.5 17 | max_detection_result = 10 18 | output_layers = < "Conv_271", "Conv_305", "Conv_339" > 19 | runtime = 1 20 | model = "/data/misc/camera/yolov5m_quant.dlc" 21 | labels = "/data/misc/camera/coco_labels.txt" 22 | 23 | -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/People-Detection-YoloV5/model/mle_snpeyolov5n_quant.config: -------------------------------------------------------------------------------- 1 | org.codeaurora.mle.snpe 2 | input_format = 3 3 | BlueMean = 0.0 4 | GreenMean = 0.0 5 | RedMean = 0.0 6 | BlueSigma = 255.0 7 | GreenSigma = 255.0 8 | RedSigma = 255.0 9 | UseNorm = true 10 | preprocess_type = 1 11 | confidence_threshold = 0.4 12 | nms_threshold = 0.5 13 | max_detection_result = 10 14 | output_layers = < "Conv_198", "Conv_247", "Conv_296" > 15 | runtime = 1 16 | model = "/data/misc/camera/yolov5n_quant.dlc" 17 | labels = "/data/misc/camera/coco_labels.txt" 18 | -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/People-Detection-YoloV5/src/gst-plugin-mle/mle_gst_snpe/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # GStreamer plugin. 2 | set(GST_MLE_SNPE gstqtimlesnpe) 3 | 4 | add_library(${GST_MLE_SNPE} SHARED 5 | mle_snpe.cc 6 | ) 7 | 8 | target_include_directories(${GST_MLE_SNPE} PUBLIC 9 | ${GST_INCLUDE_DIRS} 10 | ) 11 | 12 | target_include_directories(${GST_MLE_SNPE} PRIVATE 13 | ${KERNEL_BUILDDIR}/usr/include 14 | ${SYSROOT_INCDIR}/ion_headers 15 | ${CMAKE_SOURCE_DIR} 16 | ) 17 | 18 | target_link_libraries(${GST_MLE_SNPE} PRIVATE 19 | ${GST_LIBRARIES} 20 | ${GST_ALLOC_LIBRARIES} 21 | ${GST_VIDEO_LIBRARIES} 22 | qtimlmeta 23 | Engine_MLE 24 | gstqtivideobase 25 | ) 26 | 27 | install( 28 | TARGETS ${GST_MLE_SNPE} 29 | LIBRARY DESTINATION ${SYSROOT_AARCH_LIBDIR}/gstreamer-1.0 30 | PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ 31 | GROUP_EXECUTE GROUP_READ 32 | WORLD_EXECUTE WORLD_READ 33 | ) 34 | -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/People-Detection-YoloV5/src/gst-plugin-mle/mle_gst_snpe/mle_snpeyolov5n.config: -------------------------------------------------------------------------------- 1 | org.codeaurora.mle.snpe 2 | input_format = 3 3 | BlueMean = 0.0 4 | GreenMean = 0.0 5 | RedMean = 0.0 6 | BlueSigma = 255.0 7 | GreenSigma = 255.0 8 | RedSigma = 255.0 9 | UseNorm = true 10 | preprocess_type = 1 11 | confidence_threshold = 0.4 12 | nms_threshold = 0.5 13 | max_detection_result = 10 14 | output_layers = < "Conv_296", "Conv_247", "Conv_198" > 15 | runtime = 1 16 | model = "/data/misc/camera/yolov5n.dlc" 17 | labels = "/data/misc/camera/coco_labels.txt" 18 | -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/ROS-apps/ROS-Caffe/data/cat.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/ROS-apps/ROS-Caffe/data/cat.jpg -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/ROS-apps/ROS-Caffe/data/imagenet_mean.binaryproto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/ROS-apps/ROS-Caffe/data/imagenet_mean.binaryproto -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/ROS-apps/ROS-Caffe/image/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/ROS-apps/ROS-Caffe/image/1.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/ROS-apps/ROS-Caffe/image/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/ROS-apps/ROS-Caffe/image/2.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/ROS-apps/ROS-Caffe/image/3.1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/ROS-apps/ROS-Caffe/image/3.1.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/ROS-apps/ROS-Caffe/image/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/ROS-apps/ROS-Caffe/image/3.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/ROS-apps/ROS-Caffe/image/4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/ROS-apps/ROS-Caffe/image/4.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/ROS-apps/ROS-Caffe/image/5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/ROS-apps/ROS-Caffe/image/5.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/ROS-apps/ROS-Caffe/image/6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/ROS-apps/ROS-Caffe/image/6.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/ROS-apps/ROS-Caffe/image/7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/ROS-apps/ROS-Caffe/image/7.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/ROS-apps/ROS-Caffe/image/8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/ROS-apps/ROS-Caffe/image/8.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/ROS-apps/ROS-Caffe/io.patch: -------------------------------------------------------------------------------- 1 | 73,74c73,74 2 | < int cv_read_flag = (is_color ? CV_LOAD_IMAGE_COLOR : 3 | < CV_LOAD_IMAGE_GRAYSCALE); 4 | --- 5 | > int cv_read_flag = (is_color ? cv::IMREAD_COLOR : 6 | > cv::IMREAD_GRAYSCALE); 7 | 175,176c175,176 8 | < int cv_read_flag = (is_color ? CV_LOAD_IMAGE_COLOR : 9 | < CV_LOAD_IMAGE_GRAYSCALE); 10 | --- 11 | > int cv_read_flag = (is_color ? cv::IMREAD_COLOR : 12 | > cv::IMREAD_GRAYSCALE); 13 | -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/ROS-apps/ROS-Caffe/window_data_layer.patch: -------------------------------------------------------------------------------- 1 | 288c288 2 | < cv_img = cv::imread(image.first, CV_LOAD_IMAGE_COLOR); 3 | --- 4 | > cv_img = cv::imread(image.first, cv::IMREAD_COLOR); 5 | -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/ROS-apps/ROS-TFLite/image/1_apt-get_update_error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/ROS-apps/ROS-TFLite/image/1_apt-get_update_error.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/ROS-apps/ROS-TFLite/image/2_apt-get_update_success.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/ROS-apps/ROS-TFLite/image/2_apt-get_update_success.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/ROS-apps/ROS-TFLite/image/3_install-ros-melodic-desktop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/ROS-apps/ROS-TFLite/image/3_install-ros-melodic-desktop.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/ROS-apps/ROS-TFLite/image/4_compile_the+workspace.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/ROS-apps/ROS-TFLite/image/4_compile_the+workspace.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/ROS-apps/ROS-TFLite/image/5_set_device.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/ROS-apps/ROS-TFLite/image/5_set_device.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/ROS-apps/ROS-TFLite/image/6_target_detection_result.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/ROS-apps/ROS-TFLite/image/6_target_detection_result.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/peripheral-devices/OpenCL-Application/matrix_multiply/Makefile: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2020 Qualcomm Innovation Center, Inc. All Rights Reserved. 2 | # SPDX-License-Identifier: BSD-3-Clause-Clear 3 | 4 | test: matrix_multiply.cpp 5 | g++ -o test matrix_multiply.cpp -lOpenCL -I /usr/include/qrb5165 6 | 7 | 8 | clean: 9 | rm test 10 | -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/peripheral-devices/OpenCL-Application/matrix_multiply/Matrix multiply.cl: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020 Qualcomm Innovation Center, Inc. All Rights Reserved. 3 | * 4 | * SPDX-License-Identifier: BSD-3-Clause-Clear 5 | */ 6 | 7 | __kernel void matrix_mult( 8 | const int Ndim, 9 | const int Mdim, 10 | const int Pdim, 11 | __global const float* A, 12 | __global const float* B, 13 | __global float* C) 14 | { 15 | int i = get_global_id(0); 16 | int j = get_global_id(1); 17 | 18 | int k; 19 | float tmp; 20 | 21 | if ((i < Ndim) && (j < Mdim)) { 22 | tmp = 0.0; 23 | for (k = 0; k < Pdim; k++) 24 | tmp += A[i*Pdim + k] * B[k*Mdim + j]; 25 | C[i*Mdim + j] = tmp; 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/peripheral-devices/camera-hal3-sample/src/Makefile: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2020 Qualcomm Innovation Center, Inc. All Rights Reserved. 2 | # SPDX-License-Identifier: BSD-3-Clause-Clear 3 | 4 | CC = g++ 5 | CFLAGS= 6 | INCLUDES=-I. -I/usr/src/qrb5165-linux-headers-4.19/usr/include -I/usr/include/qrb5165 7 | LFLAGS = -pthread 8 | LIBS = -ldl -lcamera_metadata -lcutils -lutils -llog 9 | 10 | SRCS = \ 11 | CameraHAL3Main.cpp \ 12 | CameraHAL3Config.cpp \ 13 | CameraHAL3Buffer.cpp \ 14 | CameraHAL3Snapshot.cpp \ 15 | CameraHAL3Device.cpp 16 | 17 | OBJS = $(SRCS:.cpp=.o) 18 | 19 | EXEC = camera_hal3 20 | 21 | all: $(EXEC) 22 | 23 | .phony: all depend clean 24 | 25 | $(EXEC): $(OBJS) 26 | $(CC) -o $(EXEC) $(OBJS) $(LFLAGS) $(LIBS) 27 | 28 | %.o: %.cpp 29 | $(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@ 30 | 31 | dependency.make: 32 | touch dependency.make 33 | 34 | depend: $(SRCS) 35 | $(CC) -M $(CFLAGS) $(INCLUDES) $^ > dependency.make 36 | 37 | -include dependency.make 38 | 39 | clean: 40 | rm -rf $(EXEC) *.o dependency.make 41 | 42 | -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/peripheral-devices/camera-hal3-sample/src/create_so_link.sh: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2020 Qualcomm Innovation Center, Inc. All Rights Reserved. 2 | # SPDX-License-Identifier: BSD-3-Clause-Clear 3 | 4 | #!/bin/bash 5 | 6 | [ ! -e /usr/lib/libsync.so ] && ln -s /usr/lib/libsync.so.0 /usr/lib/libsync.so 7 | [ ! -e /usr/lib/libcutils.so ] && ln -s /usr/lib/libcutils.so.0 /usr/lib/libcutils.so 8 | [ ! -e /usr/lib/libutils.so ] && ln -s /usr/lib/libutils.so.0 /usr/lib/libutils.so 9 | [ ! -e /usr/lib/liblog.so ] && ln -s /usr/lib/liblog.so.0 /usr/lib/liblog.so 10 | [ ! -e /usr/lib/libcamera_metadata.so ] && ln -s /usr/lib/libcamera_metadata.so.0 /usr/lib/libcamera_metadata.so 11 | 12 | -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/peripheral-devices/kernel-demo/Makefile: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2020 Qualcomm Innovation Center, Inc. All Rights Reserved. 2 | # 3 | # SPDX-License-Identifier: BSD-3-Clause-Clear 4 | 5 | KVERS = $(shell uname -r) 6 | 7 | # kernel modules 8 | obj-m := led.o 9 | 10 | EXTRA_CFLAGS=-g -O0 -Wno-vla 11 | 12 | build: kernel_modules 13 | 14 | kernel_modules: 15 | make -C /usr/src/header M=$(CURDIR) modules 16 | 17 | clean: 18 | make -C /usr/src/header M=$(CURDIR) clean 19 | -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/peripheral-devices/kernel-demo/README.md: -------------------------------------------------------------------------------- 1 | # Kernel Demo 2 | # Overview 3 | The kernel demo uses the kernel API to dynamically load and unload the kernel module to control the LED switch. 4 | 5 | ## 1. Init 6 | ### 1.1 Set kernel environment 7 | ``` 8 | $ adb shell 9 | $ apt-get install bison flex 10 | ``` 11 | ### 1.2 Build kernel scripts 12 | ``` 13 | $ cd /usr/src/header 14 | $ make scripts 15 | ``` 16 | ### 1.3 Download source code 17 | ``` 18 | $ cd /data 19 | $ git clone https://github.com/quic/sample-apps-for-robotics-platforms.git 20 | ``` 21 | ## 2. Build 22 | ``` 23 | $ cd /kernel-demo/ 24 | $ make 25 | ``` 26 | ## 3. Run 27 | 28 | // Open LED 29 | ``` 30 | $ insmod led.ko 31 | ``` 32 | ![image text](image/ledon.png) 33 | 34 | // Close LED 35 | ``` 36 | $ rmmod led.ko 37 | ``` 38 | ![image text](image/ledoff.png) 39 | 40 | ## License 41 | This is licensed under the BSD 3-clause-Clear “New” or “Revised” License. Check out the [LICENSE](LICENSE) for more details. 42 | -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/peripheral-devices/kernel-demo/image/ledoff.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/peripheral-devices/kernel-demo/image/ledoff.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/peripheral-devices/kernel-demo/image/ledon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/peripheral-devices/kernel-demo/image/ledon.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/platform-bringup/Device-info/image/RB5-information-snapshot-01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/platform-bringup/Device-info/image/RB5-information-snapshot-01.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/platform-bringup/Device-info/image/RB5-information-snapshot-02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/platform-bringup/Device-info/image/RB5-information-snapshot-02.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/platform-bringup/Device-info/src/Makefile: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2020 Qualcomm Innovation Center, Inc. All Rights Reserved. 2 | # SPDX-License-Identifier: BSD-3-Clause-Clear 3 | 4 | CC = gcc 5 | TARGET_FILE = bin 6 | TAR_INFO = qrb5165_info 7 | 8 | $(TAR_INFO): $(TAR_INFO).c 9 | $(CC) -o ../$(TARGET_FILE)/$(TAR_INFO) $(TAR_INFO).c 10 | 11 | clean: 12 | rm ../$(TARGET_FILE)/* 13 | -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/platform-bringup/GPIO-samples/image/RB5-platform-snapshot-01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/platform-bringup/GPIO-samples/image/RB5-platform-snapshot-01.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/platform-bringup/GPIO-samples/image/RB5-platform-snapshot-02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/platform-bringup/GPIO-samples/image/RB5-platform-snapshot-02.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/platform-bringup/GPIO-samples/image/RB5-platform-snapshot-03.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/platform-bringup/GPIO-samples/image/RB5-platform-snapshot-03.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/platform-bringup/GPIO-samples/src/Makefile: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2020 Qualcomm Innovation Center, Inc. All Rights Reserved. 2 | # SPDX-License-Identifier: BSD-3-Clause-Clear 3 | 4 | CC = gcc 5 | TARGET_FILE = bin 6 | TAR_PLAT = qrb5165_platform 7 | 8 | $(TAR_PLAT): $(TAR_PLAT).c 9 | $(CC) -o ../$(TARGET_FILE)/$(TAR_PLAT) $(TAR_PLAT).c -lpthread 10 | 11 | clean: 12 | rm ../$(TARGET_FILE)/* 13 | -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/platform-bringup/WIFI-OnBoarding/image/ap_connect.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/platform-bringup/WIFI-OnBoarding/image/ap_connect.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/platform-bringup/WIFI-OnBoarding/image/ap_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/platform-bringup/WIFI-OnBoarding/image/ap_off.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/platform-bringup/WIFI-OnBoarding/image/ap_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/platform-bringup/WIFI-OnBoarding/image/ap_on.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/platform-bringup/WIFI-OnBoarding/image/fail_get_sta.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/platform-bringup/WIFI-OnBoarding/image/fail_get_sta.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/platform-bringup/WIFI-OnBoarding/image/input_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/platform-bringup/WIFI-OnBoarding/image/input_1.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/platform-bringup/WIFI-OnBoarding/image/new_get_ap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/platform-bringup/WIFI-OnBoarding/image/new_get_ap.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/platform-bringup/WIFI-OnBoarding/image/new_get_sta.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/platform-bringup/WIFI-OnBoarding/image/new_get_sta.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/platform-bringup/WIFI-OnBoarding/image/new_menu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/platform-bringup/WIFI-OnBoarding/image/new_menu.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/platform-bringup/WIFI-OnBoarding/image/new_scan.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/platform-bringup/WIFI-OnBoarding/image/new_scan.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/platform-bringup/WIFI-OnBoarding/image/new_set_ap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/platform-bringup/WIFI-OnBoarding/image/new_set_ap.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/platform-bringup/WIFI-OnBoarding/image/new_set_sta.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/platform-bringup/WIFI-OnBoarding/image/new_set_sta.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/platform-bringup/WIFI-OnBoarding/image/rm_all_sta.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/platform-bringup/WIFI-OnBoarding/image/rm_all_sta.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/platform-bringup/WIFI-OnBoarding/image/rm_save_sta.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/platform-bringup/WIFI-OnBoarding/image/rm_save_sta.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/platform-bringup/WIFI-OnBoarding/image/set_same_sta.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/platform-bringup/WIFI-OnBoarding/image/set_same_sta.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/platform-bringup/WIFI-OnBoarding/image/sta_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/platform-bringup/WIFI-OnBoarding/image/sta_off.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/platform-bringup/WIFI-OnBoarding/image/sta_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/platform-bringup/WIFI-OnBoarding/image/sta_on.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/platform-bringup/WIFI-OnBoarding/image/wifi_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/platform-bringup/WIFI-OnBoarding/image/wifi_off.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/platform-bringup/WIFI-OnBoarding/image/wifi_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/platform-bringup/WIFI-OnBoarding/image/wifi_on.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/platform-bringup/WIFI-OnBoarding/wifi/get_sta.sh: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2020 Qualcomm Innovation Center, Inc. All Rights Reserved. 2 | # SPDX-License-Identifier: BSD-3-Clause-Clear 3 | 4 | #!/bin/bash 5 | 6 | # Get wireless network card name # 7 | var=$(ifconfig | grep wl) 8 | network_card=${var%:*} 9 | 10 | # Determine whether the current connection # 11 | judge=$(iw dev $network_card link) 12 | if [ "$judge" = 'Not connected.' ]; then 13 | echo -e "\e[31mPlease connect to WiFi first!\e[0m" 14 | else 15 | #Get current connection SSID 16 | var1=$(iw dev $network_card link | grep 'SSID:') 17 | ssid=${var1#*:} 18 | echo -e "\e[32mCurrent current connection $ssid.\e[0m" 19 | 20 | #Get password 21 | cat /data/misc/wifi/wpa_supplicant.conf | grep -A10 $ssid | grep -m 1 psk= 22 | fi 23 | -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/platform-bringup/Weston-Client-Application/image/blue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/platform-bringup/Weston-Client-Application/image/blue.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/platform-bringup/Weston-Client-Application/image/green.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/platform-bringup/Weston-Client-Application/image/green.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/platform-bringup/Weston-Client-Application/image/red.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_4_x/platform-bringup/Weston-Client-Application/image/red.png -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/platform-bringup/Weston-Client-Application/weston.sh: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2020 Qualcomm Innovation Center, Inc. All Rights Reserved. 2 | # SPDX-License-Identifier: BSD-3-Clause-Clear 3 | 4 | #! /bin/bash 5 | mkdir -p /usr/bin/weston_socket 6 | export XDG_RUNTIME_DIR=/usr/bin/weston_socket 7 | export LD_LIBRARY_PATH=/usr/lib:/usr/lib/aarch64-linux-gnu/ 8 | weston --tty=1 --connector=29 9 | -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/platform-bringup/simple_http_ws_server/server.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 31 | 32 | 33 | 34 | Hello world 35 | 36 | 37 | -------------------------------------------------------------------------------- /RB5/linux_kernel_4_x/platform-bringup/simple_http_ws_server/server.js: -------------------------------------------------------------------------------- 1 | const fs = require('fs'); 2 | const http = require('http'); 3 | const WebSocket = require('ws'); 4 | 5 | const server = http.createServer(function (req, res) { 6 | fs.readFile('/data/node/server.html',function (err, data){ 7 | res.writeHead(200, {'Content-Type': 'text/html','Content-Length':data.length}); 8 | res.write(data); 9 | res.end(); 10 | }); 11 | }); 12 | 13 | const wss = new WebSocket.Server({ server }); 14 | 15 | wss.on('connection', function connection(ws) { 16 | console.log("connection received"); 17 | ws.on('message', function incoming(message) { 18 | console.log('received: %s', message); 19 | }); 20 | }); 21 | 22 | server.listen(8080); -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/AI-ML-apps/AI_Age_Gender_Emotion_Solution/CMake/FindGStreamer.cmake: -------------------------------------------------------------------------------- 1 | find_package(PkgConfig) 2 | pkg_search_module(GLIB REQUIRED glib-2.0) 3 | pkg_check_modules(GSTREAMER REQUIRED gstreamer-1.0) 4 | pkg_check_modules(GST_APP REQUIRED gstreamer-app-1.0) 5 | pkg_check_modules(GST_VIDEO REQUIRED gstreamer-video-1.0) -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/AI-ML-apps/AI_Age_Gender_Emotion_Solution/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # CMake lowest version requirement 2 | cmake_minimum_required(VERSION 3.5.1) 3 | 4 | # project information 5 | project(AICATALOG-SNPE-SOLUTIONS) 6 | 7 | include(FindPkgConfig) 8 | pkg_check_modules(JSONCPP REQUIRED jsoncpp) 9 | pkg_check_modules(JSON REQUIRED json-glib-1.0) 10 | pkg_check_modules(GFLAGS REQUIRED gflags) 11 | 12 | set(PROJECT_ROOT ${CMAKE_CURRENT_LIST_DIR}) 13 | set(CMAKE_MODULE_PATH ${PROJECT_ROOT}/CMake) 14 | set(CMAKE_CXX_STANDARD 17) 15 | 16 | find_package(GStreamer REQUIRED) 17 | find_package(OpenCV REQUIRED ) 18 | 19 | add_subdirectory("./src") 20 | 21 | link_directories( 22 | ${JSONCPP_LIBRARY_DIRS} 23 | ${JSON_LIBRARY_DIRS} 24 | ${GFLAGS_LIBRARY_DIRS} 25 | ) 26 | -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/AI-ML-apps/AI_Age_Gender_Emotion_Solution/inc/DecodeQueue.h: -------------------------------------------------------------------------------- 1 | #ifndef DECODE_QUEUE_H 2 | #define DECODE_QUEUE_H 3 | 4 | #include "Detection.h" 5 | #include 6 | #include 7 | #include 8 | #include 9 | 10 | static const int DEFAULT_MAX_QUEUE_SIZE = 64; 11 | 12 | class DecodeQueue 13 | { 14 | public: 15 | DecodeQueue(uint32_t maxSize = DEFAULT_MAX_QUEUE_SIZE) : max_size_(maxSize), is_stoped_(false) {} 16 | ~DecodeQueue() {} 17 | int Dequeue(shared_ptr& item, unsigned int timeOutMs); 18 | int Enqueue(const shared_ptr& item, bool isWait); 19 | void Unlock(); 20 | std::list> GetRemainItems(); 21 | int IsEmpty(); 22 | private: 23 | std::list> queue_; 24 | std::mutex mutex_; 25 | std::condition_variable empty_cond_; 26 | std::condition_variable full_cond_; 27 | uint32_t max_size_; 28 | bool is_stoped_; 29 | }; 30 | 31 | #endif -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/AI-ML-apps/AI_Age_Gender_Emotion_Solution/models/Model.txt: -------------------------------------------------------------------------------- 1 | Path to model files -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/AI-ML-apps/AI_Heatmap_Solutions/CMake/FindGStreamer.cmake: -------------------------------------------------------------------------------- 1 | find_package(PkgConfig) 2 | pkg_search_module(GLIB REQUIRED glib-2.0) 3 | pkg_check_modules(GSTREAMER REQUIRED gstreamer-1.0) 4 | pkg_check_modules(GST_APP REQUIRED gstreamer-app-1.0) 5 | pkg_check_modules(GST_VIDEO REQUIRED gstreamer-video-1.0) -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/AI-ML-apps/AI_Heatmap_Solutions/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # CMake lowest version requirement 2 | cmake_minimum_required(VERSION 3.5.1) 3 | 4 | # project information 5 | project(AICATALOG-SNPE-SOLUTIONS) 6 | 7 | include(FindPkgConfig) 8 | pkg_check_modules(JSONCPP REQUIRED jsoncpp) 9 | pkg_check_modules(JSON REQUIRED json-glib-1.0) 10 | pkg_check_modules(GFLAGS REQUIRED gflags) 11 | 12 | set(PROJECT_ROOT ${CMAKE_CURRENT_LIST_DIR}) 13 | set(CMAKE_MODULE_PATH ${PROJECT_ROOT}/CMake) 14 | set(CMAKE_CXX_STANDARD 17) 15 | 16 | find_package(GStreamer REQUIRED) 17 | find_package(OpenCV REQUIRED ) 18 | 19 | add_subdirectory("./src") 20 | 21 | link_directories( 22 | ${JSONCPP_LIBRARY_DIRS} 23 | ${JSON_LIBRARY_DIRS} 24 | ${GFLAGS_LIBRARY_DIRS} 25 | ) 26 | -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/AI-ML-apps/AI_Heatmap_Solutions/data/helmet_label.txt: -------------------------------------------------------------------------------- 1 | Helmet 2 | person 3 | head 4 | -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/AI-ML-apps/AI_Heatmap_Solutions/inc/DecodeQueue.h: -------------------------------------------------------------------------------- 1 | #ifndef DECODE_QUEUE_H 2 | #define DECODE_QUEUE_H 3 | 4 | #include "Detection.h" 5 | #include 6 | #include 7 | #include 8 | #include 9 | 10 | static const int DEFAULT_MAX_QUEUE_SIZE = 64; 11 | 12 | class DecodeQueue 13 | { 14 | public: 15 | DecodeQueue(uint32_t maxSize = DEFAULT_MAX_QUEUE_SIZE) : max_size_(maxSize), is_stoped_(false) {} 16 | ~DecodeQueue() {} 17 | int Dequeue(shared_ptr& item, unsigned int timeOutMs); 18 | int Enqueue(const shared_ptr& item, bool isWait); 19 | void Unlock(); 20 | std::list> GetRemainItems(); 21 | int IsEmpty(); 22 | private: 23 | std::list> queue_; 24 | std::mutex mutex_; 25 | std::condition_variable empty_cond_; 26 | std::condition_variable full_cond_; 27 | uint32_t max_size_; 28 | bool is_stoped_; 29 | }; 30 | 31 | #endif -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/AI-ML-apps/AI_Heatmap_Solutions/models/Model.txt: -------------------------------------------------------------------------------- 1 | Path for model file -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/AI-ML-apps/AI_Tracker_Solution/CMake/FindGStreamer.cmake: -------------------------------------------------------------------------------- 1 | find_package(PkgConfig) 2 | pkg_search_module(GLIB REQUIRED glib-2.0) 3 | pkg_check_modules(GSTREAMER REQUIRED gstreamer-1.0) 4 | pkg_check_modules(GST_APP REQUIRED gstreamer-app-1.0) 5 | pkg_check_modules(GST_VIDEO REQUIRED gstreamer-video-1.0) -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/AI-ML-apps/AI_Tracker_Solution/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # CMake lowest version requirement 2 | cmake_minimum_required(VERSION 3.5.1) 3 | 4 | # project information 5 | project(AICATALOG-SNPE-SOLUTIONS) 6 | 7 | include(FindPkgConfig) 8 | pkg_check_modules(JSONCPP REQUIRED jsoncpp) 9 | pkg_check_modules(JSON REQUIRED json-glib-1.0) 10 | 11 | set(PROJECT_ROOT ${CMAKE_CURRENT_LIST_DIR}) 12 | set(CMAKE_MODULE_PATH ${PROJECT_ROOT}/CMake) 13 | set(CMAKE_CXX_STANDARD 17) 14 | 15 | find_package(GStreamer REQUIRED) 16 | find_package(OpenCV REQUIRED ) 17 | 18 | add_subdirectory("./src") 19 | 20 | link_directories( 21 | ${JSONCPP_LIBRARY_DIRS} 22 | ${JSON_LIBRARY_DIRS} 23 | ) 24 | -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/AI-ML-apps/AI_Tracker_Solution/inc/DecodeQueue.h: -------------------------------------------------------------------------------- 1 | #ifndef DECODE_QUEUE_H 2 | #define DECODE_QUEUE_H 3 | 4 | #include "Detection.h" 5 | #include 6 | #include 7 | #include 8 | #include 9 | 10 | static const int DEFAULT_MAX_QUEUE_SIZE = 64; 11 | 12 | class DecodeQueue 13 | { 14 | public: 15 | DecodeQueue(uint32_t maxSize = DEFAULT_MAX_QUEUE_SIZE) : max_size_(maxSize), is_stoped_(false) {} 16 | ~DecodeQueue() {} 17 | int Dequeue(shared_ptr& item, unsigned int timeOutMs); 18 | int Enqueue(const shared_ptr& item, bool isWait); 19 | void Unlock(); 20 | std::list> GetRemainItems(); 21 | int IsEmpty(); 22 | private: 23 | std::list> queue_; 24 | std::mutex mutex_; 25 | std::condition_variable empty_cond_; 26 | std::condition_variable full_cond_; 27 | uint32_t max_size_; 28 | bool is_stoped_; 29 | }; 30 | 31 | #endif -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/AI-ML-apps/AI_Tracker_Solution/models/Model.txt: -------------------------------------------------------------------------------- 1 | Model path -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/AI-ML-apps/AI_Vision_Solutions/CMake/FindGStreamer.cmake: -------------------------------------------------------------------------------- 1 | find_package(PkgConfig) 2 | pkg_search_module(GLIB REQUIRED glib-2.0) 3 | pkg_check_modules(GSTREAMER REQUIRED gstreamer-1.0) 4 | pkg_check_modules(GST_APP REQUIRED gstreamer-app-1.0) 5 | pkg_check_modules(GST_VIDEO REQUIRED gstreamer-video-1.0) -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/AI-ML-apps/AI_Vision_Solutions/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # CMake lowest version requirement 2 | cmake_minimum_required(VERSION 3.5.1) 3 | 4 | # project information 5 | project(AICATALOG-SNPE-SOLUTIONS) 6 | 7 | include(FindPkgConfig) 8 | pkg_check_modules(JSONCPP REQUIRED jsoncpp) 9 | pkg_check_modules(JSON REQUIRED json-glib-1.0) 10 | pkg_check_modules(GFLAGS REQUIRED gflags) 11 | 12 | set(PROJECT_ROOT ${CMAKE_CURRENT_LIST_DIR}) 13 | set(CMAKE_MODULE_PATH ${PROJECT_ROOT}/CMake) 14 | set(CMAKE_CXX_STANDARD 17) 15 | 16 | find_package(GStreamer REQUIRED) 17 | find_package(OpenCV REQUIRED ) 18 | 19 | add_subdirectory("./src") 20 | 21 | link_directories( 22 | ${JSONCPP_LIBRARY_DIRS} 23 | ${JSON_LIBRARY_DIRS} 24 | ${GFLAGS_LIBRARY_DIRS} 25 | ) 26 | -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/AI-ML-apps/AI_Vision_Solutions/data/coco_label.txt: -------------------------------------------------------------------------------- 1 | person 2 | bicycle 3 | car 4 | motorcycle 5 | airplane 6 | bus 7 | train 8 | truck 9 | boat 10 | traffic light 11 | fire hydrant 12 | stop sign 13 | parking meter 14 | bench 15 | bird 16 | cat 17 | dog 18 | horse 19 | sheep 20 | cow 21 | elephant 22 | bear 23 | zebra 24 | giraffe 25 | backpack 26 | umbrella 27 | handbag 28 | tie 29 | suitcase 30 | frisbee 31 | skis 32 | snowboard 33 | sports ball 34 | kite 35 | baseball bat 36 | baseball glove 37 | skateboard 38 | surfboard 39 | tennis racket 40 | bottle 41 | wine glass 42 | cup 43 | fork 44 | knife 45 | spoon 46 | bowl 47 | banana 48 | apple 49 | sandwich 50 | orange 51 | broccoli 52 | carrot 53 | hot dog 54 | pizza 55 | donut 56 | cake 57 | chair 58 | couch 59 | potted plant 60 | bed 61 | dining table 62 | toilet 63 | tv 64 | laptop 65 | mouse 66 | remote 67 | keyboard 68 | cell phone 69 | microwave 70 | oven 71 | toaster 72 | sink 73 | refrigerator 74 | book 75 | clock 76 | vase 77 | scissors 78 | teddy bear 79 | hair drier 80 | toothbrush -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/AI-ML-apps/AI_Vision_Solutions/data/crack_labels.txt: -------------------------------------------------------------------------------- 1 | 1 crack 2 | 3 | -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/AI-ML-apps/AI_Vision_Solutions/data/defective_labels.txt: -------------------------------------------------------------------------------- 1 | Damaged box 2 | Undamaged box 3 | -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/AI-ML-apps/AI_Vision_Solutions/data/fire_labels.txt: -------------------------------------------------------------------------------- 1 | Fire 2 | Smoke -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/AI-ML-apps/AI_Vision_Solutions/data/helmet_label.txt: -------------------------------------------------------------------------------- 1 | No_Helmet 2 | Helmet 3 | person -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/AI-ML-apps/AI_Vision_Solutions/data/trash_labels.txt: -------------------------------------------------------------------------------- 1 | 1 Battery 2 | 2 BrownGlass 3 | 3 GreenGlass 4 | 4 Metal 5 | 5 Plastic 6 | 6 cardboard -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/AI-ML-apps/AI_Vision_Solutions/inc/DecodeQueue.h: -------------------------------------------------------------------------------- 1 | #ifndef DECODE_QUEUE_H 2 | #define DECODE_QUEUE_H 3 | 4 | #include "Detection.h" 5 | #include 6 | #include 7 | #include 8 | #include 9 | 10 | static const int DEFAULT_MAX_QUEUE_SIZE = 64; 11 | 12 | class DecodeQueue 13 | { 14 | public: 15 | DecodeQueue(uint32_t maxSize = DEFAULT_MAX_QUEUE_SIZE) : max_size_(maxSize), is_stoped_(false) {} 16 | ~DecodeQueue() {} 17 | int Dequeue(shared_ptr& item, unsigned int timeOutMs); 18 | int Enqueue(const shared_ptr& item, bool isWait); 19 | void Unlock(); 20 | std::list> GetRemainItems(); 21 | int IsEmpty(); 22 | private: 23 | std::list> queue_; 24 | std::mutex mutex_; 25 | std::condition_variable empty_cond_; 26 | std::condition_variable full_cond_; 27 | uint32_t max_size_; 28 | bool is_stoped_; 29 | }; 30 | 31 | #endif -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/AI-ML-apps/AI_Vision_Solutions/models/README.md: -------------------------------------------------------------------------------- 1 | Add models to this directory 2 | -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/AI-ML-apps/snpe_classification/Makefile: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2020, 2022 Qualcomm Innovation Center, Inc. All Rights Reserved. 2 | # SPDX-License-Identifier: BSD-3-Clause-Clear 3 | 4 | FLAGS=`pkg-config --cflags --libs gstreamer-1.0` 5 | 6 | SOURCES = \ 7 | snpe_classification.c 8 | 9 | TARGETS = $(foreach n,$(SOURCES),$(basename $(n))) 10 | 11 | all: ${TARGETS} 12 | 13 | .PHONY: ${TARGETS} 14 | 15 | ${TARGETS}: %:%.c 16 | $(CC) -Wall $< -o $@ $(FLAGS) 17 | 18 | clean: 19 | rm -f ${TARGETS} 20 | -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/AI-ML-apps/snpe_classification/README.md: -------------------------------------------------------------------------------- 1 | ## 1. Set up the environment 2 | Install RB5 LU SDK and source the environment 3 | Download sample code on PC 4 | 5 | ## 2. Modify & Compile the snpe demo app 6 | ``` 7 | Gstreamer App demo provides two methods, it can 8 | be used either Gstreamer command line via 9 | gst_parse_launch or GST API to build pipeline. 10 | It sets to API method by default. Switch to command line methods: 11 | $ vi snpe_classification.c 12 | 13 | +#define PARSER 14 | 15 | To Compile: 16 | $ cd snpe_classification 17 | $ make 18 | ``` 19 | 20 | ## 3. Push resources to the device 21 | ``` 22 | $ adb push snpe_classification /data 23 | $ adb push mobilenet_v1_quantaware_quantized.dlc /data 24 | $ adb push mobilenet.labels /data/mobilenet2.labels 25 | ``` 26 | 27 | ## 4. Run the demo app 28 | ``` 29 | $ adb shell 30 | $ export XDG_RUNTIME_DIR=/run/user/root 31 | $ ./data/snpe_classification 32 | ``` 33 | 34 | ## License 35 | This is licensed under the BSD 3-clause-Clear “New” or “Revised” License. Check out the [LICENSE](LICENSE) for more details. 36 | -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/AI-ML-apps/snpe_classification/snpe_classification.config: -------------------------------------------------------------------------------- 1 | org.codeaurora.mle.snpe 2 | input_format = 3 3 | BlueMean = 128.0 4 | GreenMean = 128.0 5 | RedMean = 128.0 6 | BlueSigma = 128.0 7 | GreenSigma = 128.0 8 | RedSigma = 128.0 9 | UseNorm = true 10 | preprocess_type = 1 11 | confidence_threshold = 0.6 12 | runtime = 1 13 | model = "/data/misc/camera/tensorflow_mobilenet.dlc" 14 | labels = "/data/misc/camera/imagenet_slim_labels.txt" 15 | -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/AI-ML-apps/snpe_detection/Makefile: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2020, 2022 Qualcomm Innovation Center, Inc. All Rights Reserved. 2 | # SPDX-License-Identifier: BSD-3-Clause-Clear 3 | 4 | FLAGS=`pkg-config --cflags --libs gstreamer-1.0` 5 | 6 | SOURCES = \ 7 | snpe_detection.c 8 | 9 | TARGETS = $(foreach n,$(SOURCES),$(basename $(n))) 10 | 11 | all: ${TARGETS} 12 | 13 | .PHONY: ${TARGETS} 14 | 15 | ${TARGETS}: %:%.c 16 | $(CC) -Wall $< -o $@ $(FLAGS) 17 | 18 | clean: 19 | rm -f ${TARGETS} 20 | -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/AI-ML-apps/snpe_detection/README.md: -------------------------------------------------------------------------------- 1 | ## 1. Set up the environment 2 | Install RB5 LU SDK and source the environment 3 | Download sample code on PC 4 | 5 | ## 2. Compile the snpe demo app 6 | ``` 7 | $ cd snpe_detection/ 8 | $ make 9 | ``` 10 | 11 | ## 3. Push resources to the device 12 | ``` 13 | $ adb push snpe_detection /data 14 | $ adb push mobilenet_v1_ssd_2017_quantized.dlc /data 15 | $ adb push ssd-mobilenet.labels /data 16 | ``` 17 | 18 | ## 4. Run the demo app 19 | ``` 20 | $ adb shell 21 | $ export XDG_RUNTIME_DIR=/run/user/root 22 | $ ./data/snpe_detection 23 | ``` 24 | 25 | ## License 26 | This is licensed under the BSD 3-clause-Clear “New” or “Revised” License. Check out the [LICENSE](LICENSE) for more details. 27 | -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/AI-ML-apps/snpe_detection/mle_snpe.config: -------------------------------------------------------------------------------- 1 | org.codeaurora.mle.snpe 2 | input_format = 3 3 | BlueMean = 128.0 4 | GreenMean = 128.0 5 | RedMean = 128.0 6 | BlueSigma = 128.0 7 | GreenSigma = 128.0 8 | RedSigma = 128.0 9 | UseNorm = true 10 | preprocess_type = 1 11 | confidence_threshold = 0.6 12 | output_layers = < "add_6", "Postprocessor/BatchMultiClassNonMaxSuppression" > 13 | runtime = 1 14 | model = "/data/misc/camera/mobilenet-SSD.dlc" 15 | labels = "/data/misc/camera/coco_labels.txt" -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/AI-ML-apps/tflite_classification/Makefile: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2020, 2022 Qualcomm Innovation Center, Inc. All Rights Reserved. 2 | # SPDX-License-Identifier: BSD-3-Clause-Clear 3 | 4 | FLAGS=`pkg-config --cflags --libs gstreamer-1.0` 5 | 6 | SOURCES = \ 7 | tflite_classification.c 8 | 9 | TARGETS = $(foreach n,$(SOURCES),$(basename $(n))) 10 | 11 | all: ${TARGETS} 12 | 13 | .PHONY: ${TARGETS} 14 | 15 | ${TARGETS}: %:%.c 16 | $(CC) -Wall $< -o $@ $(FLAGS) 17 | 18 | clean: 19 | rm -f ${TARGETS} 20 | -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/AI-ML-apps/tflite_classification/README.md: -------------------------------------------------------------------------------- 1 | ## 1. Set up the environment 2 | Install RB5 LU SDK and source the environment 3 | Download sample code on PC 4 | 5 | ## 2. Modify & Compile the tflite demo app 6 | ``` 7 | Gstreamer App demo provides two methods, it can 8 | be used either Gstreamer command line via 9 | gst_parse_launch or GST API to build pipeline. 10 | It sets to API method by default. Switch to command line methods: 11 | $ vi tflite_classification.c 12 | 13 | +#define PARSER 14 | 15 | To Compile: 16 | $ cd tflite_classification/ 17 | $ make 18 | ``` 19 | 20 | ## 3. Push resources to the device 21 | ``` 22 | $ adb push tflite_classification /data 23 | $ adb push mobilenet_v2_1.0_224_quant_.tflite /data 24 | $ adb push mobilenet.labels /data 25 | ``` 26 | 27 | ## 4. Run the demo app 28 | ``` 29 | $ adb shell 30 | $ export XDG_RUNTIME_DIR=/run/user/root 31 | $ ./data/tflite_classification 32 | ``` 33 | 34 | ## License 35 | This is licensed under the BSD 3-clause-Clear “New” or “Revised” License. Check out the [LICENSE](LICENSE) for more details. 36 | -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/AI-ML-apps/tflite_posenet/Makefile: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2020, 2022 Qualcomm Innovation Center, Inc. All Rights Reserved. 2 | # SPDX-License-Identifier: BSD-3-Clause-Clear 3 | 4 | FLAGS=`pkg-config --cflags --libs gstreamer-1.0` 5 | 6 | SOURCES = \ 7 | tflite_posenet.c 8 | 9 | TARGETS = $(foreach n,$(SOURCES),$(basename $(n))) 10 | 11 | all: ${TARGETS} 12 | 13 | .PHONY: ${TARGETS} 14 | 15 | ${TARGETS}: %:%.c 16 | $(CC) -Wall $< -o $@ $(FLAGS) 17 | 18 | clean: 19 | rm -f ${TARGETS} 20 | -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/AI-ML-apps/tflite_posenet/README.md: -------------------------------------------------------------------------------- 1 | ## 1. Set up the environment 2 | Install RB5 LU SDK and source the environment 3 | Download sample code on PC 4 | 5 | ## 2. Modify & Compile the tflite demo app 6 | ``` 7 | Gstreamer App demo provides two methods, it can 8 | be used either Gstreamer command line via 9 | gst_parse_launch or GST API to build pipeline. 10 | It sets to API method by default. Switch to command line methods: 11 | $ vi tflite_posenet.c 12 | 13 | +#define PARSER 14 | 15 | To Compile: 16 | $ cd tflite_posenet/ 17 | $ make 18 | ``` 19 | 20 | ## 3. Push resources to the device 21 | ``` 22 | $ adb push tflite_posenet /data 23 | $ adb push posenet_mobilenet_v1_075_481_641_quant.tflite /data 24 | $ adb push posenet.labels /data 25 | ``` 26 | 27 | ## 4. Run the demo app 28 | ``` 29 | $ adb shell 30 | $ export XDG_RUNTIME_DIR=/run/user/root 31 | $ ./data/tflite_posenet 32 | ``` 33 | 34 | ## License 35 | This is licensed under the BSD 3-clause-Clear “New” or “Revised” License. Check out the [LICENSE](LICENSE) for more details. 36 | -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/AI-ML-apps/tflite_segmentation/Makefile: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2020, 2022 Qualcomm Innovation Center, Inc. All Rights Reserved. 2 | # SPDX-License-Identifier: BSD-3-Clause-Clear 3 | 4 | FLAGS=`pkg-config --cflags --libs gstreamer-1.0` 5 | 6 | SOURCES = \ 7 | tflite_segmentation.c 8 | 9 | TARGETS = $(foreach n,$(SOURCES),$(basename $(n))) 10 | 11 | all: ${TARGETS} 12 | 13 | .PHONY: ${TARGETS} 14 | 15 | ${TARGETS}: %:%.c 16 | $(CC) -Wall $< -o $@ $(FLAGS) 17 | 18 | clean: 19 | rm -f ${TARGETS} 20 | -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/AI-ML-apps/tflite_segmentation/README.md: -------------------------------------------------------------------------------- 1 | ## 1. Set up the environment 2 | Install RB5 LU SDK and source the environment 3 | Download sample code on PC 4 | 5 | ## 2. Modify & Compile the tflite demo app 6 | ``` 7 | Gstreamer App demo provides two methods, it can 8 | be used either Gstreamer command line via 9 | gst_parse_launch or GST API to build pipeline. 10 | It sets to API method by default. Switch to command line methods: 11 | $ vi tflite_segmentation.c 12 | 13 | +#define PARSER 14 | 15 | To Compile: 16 | $ cd tflite_segmentation/ 17 | $ make 18 | ``` 19 | 20 | ## 3. Push resources to the device 21 | ``` 22 | $ adb push tflite_segmentation /data 23 | $ adb push dv3_argmax_int32.tflite /data 24 | $ adb push dv3-argmax.labels /data 25 | ``` 26 | 27 | ## 4. Run the demo app 28 | ``` 29 | $ adb shell 30 | $ export XDG_RUNTIME_DIR=/run/user/root 31 | $ ./data/tflite_segmentation 32 | ``` 33 | 34 | ## License 35 | This is licensed under the BSD 3-clause-Clear “New” or “Revised” License. Check out the [LICENSE](LICENSE) for more details. 36 | -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/Codec2-Video/image/01_make.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_5_x/Codec2-Video/image/01_make.png -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/Codec2-Video/image/02_encode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_5_x/Codec2-Video/image/02_encode.png -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/Codec2-Video/image/03_decode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_5_x/Codec2-Video/image/03_decode.png -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/Codec2-Video/makefile: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2020, 2022 Qualcomm Innovation Center, Inc. All Rights Reserved. 2 | # SPDX-License-Identifier: BSD-3-Clause-Clear 3 | 4 | # compiler flags 5 | CFLAGS += $(shell pkg-config --cflags --libs gstreamer-1.0) 6 | 7 | # compile 8 | gst-codec2_h264: app/src/gst-codec2_h264.c 9 | $(CC) $< -o app/src/$@ $(CFLAGS) 10 | 11 | # clean executable file 12 | clean: 13 | $(RM) app/src/gst-codec2_h264 14 | -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/GStreamer-apps/cpp/Makefile: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2020 Qualcomm Innovation Center, Inc. All Rights Reserved. 2 | # SPDX-License-Identifier: BSD-3-Clause-Clear 3 | 4 | SUBDIRS = \ 5 | audio \ 6 | camera \ 7 | encode_decode \ 8 | streaming \ 9 | transform 10 | 11 | .PHONY: all clean 12 | 13 | all: 14 | @list='$(SUBDIRS)'; for subdir in $$list; do \ 15 | $(MAKE) -C $$subdir;\ 16 | done 17 | 18 | clean: 19 | @list='$(SUBDIRS)'; for subdir in $$list; do \ 20 | $(MAKE) -C $$subdir clean;\ 21 | done 22 | -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/GStreamer-apps/cpp/gst_alsa/HWConfig/install.sh: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2020 Qualcomm Innovation Center, Inc. All Rights Reserved. 2 | # SPDX-License-Identifier: BSD-3-Clause-Clear 3 | 4 | #! /bin/bash 5 | 6 | chmod 644 qc-alsa-restore.service 7 | chmod 777 qc_alsa_restore.sh 8 | cp qc-alsa-restore.service /lib/systemd/system/ 9 | cp qc_alsa_restore.sh /usr/bin/ 10 | systemctl enable qc-alsa-restore 11 | sync 12 | -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/GStreamer-apps/cpp/gst_alsa/HWConfig/qc-alsa-restore.service: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2020 Qualcomm Innovation Center, Inc. All Rights Reserved. 2 | # SPDX-License-Identifier: BSD-3-Clause-Clear 3 | 4 | # Based on the user unit 5 | 6 | [Unit] 7 | Description=QC ALSA restore Service 8 | After=init_audio.service 9 | 10 | [Service] 11 | Type=notify 12 | ExecStartPre=/bin/sleep 10s 13 | ExecStart=/usr/bin/qc_alsa_restore.sh 14 | Restart=on-failure 15 | 16 | [Install] 17 | WantedBy=multi-user.target 18 | -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/GStreamer-apps/cpp/gst_alsa/HWConfig/qc_alsa_restore.sh: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2020 Qualcomm Innovation Center, Inc. All Rights Reserved. 2 | # SPDX-License-Identifier: BSD-3-Clause-Clear 3 | 4 | #! /bin/bash 5 | amixer -c 0 cset name="MultiMedia1 Mixer TX_CDC_DMA_TX_3" "1" 6 | amixer -c 0 cset name="TX DMIC MUX2" "DMIC1" 7 | amixer -c 0 cset name="TX_CDC_DMA_TX_3 Channels" "One" 8 | amixer -c 0 cset name="TX_AIF1_CAP Mixer DEC2" "1" 9 | amixer -c 0 cset name='RX_MACRO RX0 MUX' 'AIF1_PB' 10 | amixer -c 0 cset name='RX_CDC_DMA_RX_0 Channels' 'One' 11 | amixer -c 0 cset name='RX INT0_1 MIX1 INP0' 'RX0' 12 | amixer -c 0 cset name='RX INT0 DEM MUX' 'CLSH_DSM_OUT' 13 | amixer -c 0 cset name='LO_RDAC Switch' 1 14 | amixer -c 0 cset name='SpkrMono WSA_RDAC' 'Switch' 15 | amixer -c 0 cset name='RX_CDC_DMA_RX_0 Audio Mixer MultiMedia1' 1 16 | -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/GStreamer-apps/cpp/gst_alsa/image/01_playback.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_5_x/GStreamer-apps/cpp/gst_alsa/image/01_playback.png -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/GStreamer-apps/cpp/gst_alsa/image/03_capture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_5_x/GStreamer-apps/cpp/gst_alsa/image/03_capture.png -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/GStreamer-apps/cpp/gst_alsa/image/04_capture_playback.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_5_x/GStreamer-apps/cpp/gst_alsa/image/04_capture_playback.png -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/GStreamer-apps/cpp/gst_alsa/image/05_init_service.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_5_x/GStreamer-apps/cpp/gst_alsa/image/05_init_service.png -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/GStreamer-apps/cpp/gst_alsa/src/Makefile: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2020, 2022 Qualcomm Innovation Center, Inc. All Rights Reserved. 2 | # SPDX-License-Identifier: BSD-3-Clause-Clear 3 | 4 | #CC = gcc 5 | CFLAGS += $(shell pkg-config --cflags --libs gstreamer-1.0) 6 | 7 | TARGET = gst_audio_sample 8 | 9 | $(TARGET): $(TARGET).c 10 | $(CC) $< -o $@ $(CFLAGS) 11 | 12 | .PHONY: clean 13 | 14 | install: 15 | cp $(TARGET) /usr/bin/ 16 | 17 | clean: 18 | rm -f $(TARGET) 19 | -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/GStreamer-apps/cpp/gst_audio/Makefile: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2020, 2022 Qualcomm Innovation Center, Inc. All Rights Reserved. 2 | # SPDX-License-Identifier: BSD-3-Clause-Clear 3 | 4 | FLAGS=`pkg-config --cflags --libs gstreamer-1.0` 5 | 6 | SOURCES = \ 7 | audio_playback.c \ 8 | audio_record.c 9 | 10 | TARGETS = $(foreach n,$(SOURCES),$(basename $(n))) 11 | 12 | all: ${TARGETS} 13 | 14 | .PHONY: all clean 15 | 16 | ${TARGETS}: %:%.c 17 | $(CC) -Wall $< -o $@ $(FLAGS) 18 | 19 | clean: 20 | rm -f ${TARGETS} 21 | -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/GStreamer-apps/cpp/gst_camera/Makefile: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2020, 2022 Qualcomm Innovation Center, Inc. All Rights Reserved. 2 | # SPDX-License-Identifier: BSD-3-Clause-Clear 3 | 4 | FLAGS=`pkg-config --cflags --libs gstreamer-1.0` 5 | 6 | SOURCES = \ 7 | usbcam_display.c \ 8 | ispcam_display.c 9 | 10 | TARGETS = $(foreach n,$(SOURCES),$(basename $(n))) 11 | 12 | all: ${TARGETS} 13 | 14 | .PHONY: all clean 15 | 16 | ${TARGETS}: %:%.c 17 | $(CC) -Wall $< -o $@ $(FLAGS) 18 | 19 | clean: 20 | rm -f ${TARGETS} 21 | -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/GStreamer-apps/cpp/gst_camera/image/ispCamera_display_weston.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_5_x/GStreamer-apps/cpp/gst_camera/image/ispCamera_display_weston.png -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/GStreamer-apps/cpp/gst_camera/image/usbCamera_display_weston.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_5_x/GStreamer-apps/cpp/gst_camera/image/usbCamera_display_weston.png -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/GStreamer-apps/cpp/gst_encode_decode/Makefile: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2020, 2022 Qualcomm Innovation Center, Inc. All Rights Reserved. 2 | # SPDX-License-Identifier: BSD-3-Clause-Clear 3 | 4 | FLAGS=`pkg-config --cflags --libs gstreamer-1.0` 5 | 6 | SOURCES = \ 7 | ispcam_encode_mp4.c \ 8 | mp4_decode_playback.c 9 | 10 | TARGETS = $(foreach n,$(SOURCES),$(basename $(n))) 11 | 12 | all: ${TARGETS} 13 | 14 | .PHONY: all clean 15 | 16 | ${TARGETS}: %:%.c 17 | $(CC) -Wall $< -o $@ $(FLAGS) 18 | 19 | clean: 20 | rm -f ${TARGETS} 21 | -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/GStreamer-apps/cpp/gst_streaming/Makefile: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2020, 2022 Qualcomm Innovation Center, Inc. All Rights Reserved. 2 | # SPDX-License-Identifier: BSD-3-Clause-Clear 3 | 4 | FLAGS=`pkg-config --cflags --libs gstreamer-1.0` 5 | 6 | SOURCES = tcp_server.c 7 | 8 | TARGETS = $(foreach n,$(SOURCES),$(basename $(n))) 9 | 10 | all: ${TARGETS} 11 | 12 | .PHONY: all clean 13 | 14 | ${TARGETS}: %:%.c 15 | $(CC) -Wall $< -o $@ $(FLAGS) 16 | 17 | clean: 18 | rm -f ${TARGETS} 19 | -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/GStreamer-apps/cpp/gst_tflite/Makefile: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2020, 2022 Qualcomm Innovation Center, Inc. All Rights Reserved. 2 | # SPDX-License-Identifier: BSD-3-Clause-Clear 3 | 4 | FLAGS=`pkg-config --cflags --libs gstreamer-1.0` 5 | 6 | SOURCES = \ 7 | tflite_classification.c 8 | 9 | TARGETS = $(foreach n,$(SOURCES),$(basename $(n))) 10 | 11 | all: ${TARGETS} 12 | 13 | .PHONY: ${TARGETS} 14 | 15 | ${TARGETS}: %:%.c 16 | $(CC) -Wall $< -o $@ $(FLAGS) 17 | 18 | clean: 19 | rm -f ${TARGETS} 20 | -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/GStreamer-apps/cpp/gst_tflite/detect.tflite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_5_x/GStreamer-apps/cpp/gst_tflite/detect.tflite -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/GStreamer-apps/cpp/gst_tflite/image/gst-tflite2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_5_x/GStreamer-apps/cpp/gst_tflite/image/gst-tflite2.png -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/GStreamer-apps/cpp/gst_tflite/install.sh: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2020 Qualcomm Innovation Center, Inc. All Rights Reserved. 2 | # SPDX-License-Identifier: BSD-3-Clause-Clear 3 | 4 | # weston.sh: script to start weston display server 5 | cp weston.sh /data 6 | 7 | # TFLite object detection model and label files 8 | cp detect.tflite /data/misc/camera 9 | cp labelmap.txt /data/misc/camera 10 | 11 | -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/GStreamer-apps/cpp/gst_transform/Makefile: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2020, 2022 Qualcomm Innovation Center, Inc. All Rights Reserved. 2 | # SPDX-License-Identifier: BSD-3-Clause-Clear 3 | 4 | FLAGS=`pkg-config --cflags --libs gstreamer-1.0` 5 | 6 | SOURCES = transform_display.c 7 | 8 | TARGETS = $(foreach n,$(SOURCES),$(basename $(n))) 9 | 10 | all: ${TARGETS} 11 | 12 | .PHONY: all clean 13 | 14 | ${TARGETS}: %:%.c 15 | $(CC) -Wall $< -o $@ $(FLAGS) 16 | 17 | clean: 18 | rm -f ${TARGETS} 19 | -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/GStreamer-apps/cpp/weston.sh: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2020 Qualcomm Innovation Center, Inc. All Rights Reserved. 2 | # SPDX-License-Identifier: BSD-3-Clause-Clear 3 | 4 | #! /bin/bash 5 | 6 | mkdir -p /usr/bin/weston_socket 7 | export XDG_RUNTIME_DIR=/usr/bin/weston_socket 8 | export LD_LIBRARY_PATH=/usr/lib:/usr/lib/aarch64-linux-gnu/ 9 | weston --tty=1 --connector=29 10 | -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/OpenCL-Application/matrix_multiply/Makefile: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2020, 2022 Qualcomm Innovation Center, Inc. All Rights Reserved. 2 | # SPDX-License-Identifier: BSD-3-Clause-Clear 3 | 4 | test: matrix_multiply.cpp 5 | $(CXX) -o test matrix_multiply.cpp -lOpenCL -I /usr/include/qrx210 6 | 7 | 8 | clean: 9 | rm test 10 | -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/OpenCL-Application/matrix_multiply/Matrix multiply.cl: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020, 2022 Qualcomm Innovation Center, Inc. All Rights Reserved. 3 | * 4 | * SPDX-License-Identifier: BSD-3-Clause-Clear 5 | */ 6 | 7 | __kernel void matrix_mult( 8 | const int Ndim, 9 | const int Mdim, 10 | const int Pdim, 11 | __global const float* A, 12 | __global const float* B, 13 | __global float* C) 14 | { 15 | int i = get_global_id(0); 16 | int j = get_global_id(1); 17 | 18 | int k; 19 | float tmp; 20 | 21 | if ((i < Ndim) && (j < Mdim)) { 22 | tmp = 0.0; 23 | for (k = 0; k < Pdim; k++) 24 | tmp += A[i*Pdim + k] * B[k*Mdim + j]; 25 | C[i*Mdim + j] = tmp; 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/ROS-apps/ROS-Caffe/data/cat.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_5_x/ROS-apps/ROS-Caffe/data/cat.jpg -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/ROS-apps/ROS-Caffe/data/imagenet_mean.binaryproto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_5_x/ROS-apps/ROS-Caffe/data/imagenet_mean.binaryproto -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/ROS-apps/ROS-Caffe/image/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_5_x/ROS-apps/ROS-Caffe/image/1.png -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/ROS-apps/ROS-Caffe/image/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_5_x/ROS-apps/ROS-Caffe/image/2.png -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/ROS-apps/ROS-Caffe/image/3.1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_5_x/ROS-apps/ROS-Caffe/image/3.1.png -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/ROS-apps/ROS-Caffe/image/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_5_x/ROS-apps/ROS-Caffe/image/3.png -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/ROS-apps/ROS-Caffe/image/4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_5_x/ROS-apps/ROS-Caffe/image/4.png -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/ROS-apps/ROS-Caffe/image/5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_5_x/ROS-apps/ROS-Caffe/image/5.png -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/ROS-apps/ROS-Caffe/image/6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_5_x/ROS-apps/ROS-Caffe/image/6.png -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/ROS-apps/ROS-Caffe/image/7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_5_x/ROS-apps/ROS-Caffe/image/7.png -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/ROS-apps/ROS-Caffe/image/8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_5_x/ROS-apps/ROS-Caffe/image/8.png -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/ROS-apps/ROS-Caffe/io.patch: -------------------------------------------------------------------------------- 1 | 73,74c73,74 2 | < int cv_read_flag = (is_color ? CV_LOAD_IMAGE_COLOR : 3 | < CV_LOAD_IMAGE_GRAYSCALE); 4 | --- 5 | > int cv_read_flag = (is_color ? cv::IMREAD_COLOR : 6 | > cv::IMREAD_GRAYSCALE); 7 | 175,176c175,176 8 | < int cv_read_flag = (is_color ? CV_LOAD_IMAGE_COLOR : 9 | < CV_LOAD_IMAGE_GRAYSCALE); 10 | --- 11 | > int cv_read_flag = (is_color ? cv::IMREAD_COLOR : 12 | > cv::IMREAD_GRAYSCALE); 13 | -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/ROS-apps/ROS-Caffe/window_data_layer.patch: -------------------------------------------------------------------------------- 1 | 288c288 2 | < cv_img = cv::imread(image.first, CV_LOAD_IMAGE_COLOR); 3 | --- 4 | > cv_img = cv::imread(image.first, cv::IMREAD_COLOR); 5 | -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/ROS-apps/ROS-TFLite/image/1_apt-get_update_error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_5_x/ROS-apps/ROS-TFLite/image/1_apt-get_update_error.png -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/ROS-apps/ROS-TFLite/image/2_apt-get_update_success.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_5_x/ROS-apps/ROS-TFLite/image/2_apt-get_update_success.png -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/ROS-apps/ROS-TFLite/image/3_install-ros-melodic-desktop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_5_x/ROS-apps/ROS-TFLite/image/3_install-ros-melodic-desktop.png -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/ROS-apps/ROS-TFLite/image/4_compile_the+workspace.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_5_x/ROS-apps/ROS-TFLite/image/4_compile_the+workspace.png -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/ROS-apps/ROS-TFLite/image/5_set_device.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_5_x/ROS-apps/ROS-TFLite/image/5_set_device.png -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/ROS-apps/ROS-TFLite/image/6_target_detection_result.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_5_x/ROS-apps/ROS-TFLite/image/6_target_detection_result.png -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/platform-bringup/Device-info/image/Device-info-snapshot-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_5_x/platform-bringup/Device-info/image/Device-info-snapshot-1.png -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/platform-bringup/Device-info/image/Device-info-snapshot-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_5_x/platform-bringup/Device-info/image/Device-info-snapshot-2.png -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/platform-bringup/Device-info/image/Device-info-snapshot-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_5_x/platform-bringup/Device-info/image/Device-info-snapshot-3.png -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/platform-bringup/Device-info/src/Makefile: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2020, 2022 Qualcomm Innovation Center, Inc. All Rights Reserved. 2 | # SPDX-License-Identifier: BSD-3-Clause-Clear 3 | 4 | TARGET_FILE = bin 5 | TAR_INFO = qrb5165_info 6 | 7 | $(TAR_INFO): $(TAR_INFO).c 8 | $(CC) -o ../$(TARGET_FILE)/$(TAR_INFO) $(TAR_INFO).c 9 | 10 | clean: 11 | rm ../$(TARGET_FILE)/* 12 | -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/platform-bringup/GPIO-samples/src/Makefile: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2020, 2022 Qualcomm Innovation Center, Inc. All Rights Reserved. 2 | # SPDX-License-Identifier: BSD-3-Clause-Clear 3 | 4 | TARGET_FILE = bin 5 | TAR_PLAT = qrb5165_platform 6 | 7 | $(TAR_PLAT): $(TAR_PLAT).c 8 | $(CC) -o ../$(TARGET_FILE)/$(TAR_PLAT) $(TAR_PLAT).c -lpthread 9 | 10 | clean: 11 | rm ../$(TARGET_FILE)/* 12 | -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/platform-bringup/WIFI-OnBoarding/image/ap_connect.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_5_x/platform-bringup/WIFI-OnBoarding/image/ap_connect.png -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/platform-bringup/WIFI-OnBoarding/image/ap_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_5_x/platform-bringup/WIFI-OnBoarding/image/ap_off.png -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/platform-bringup/WIFI-OnBoarding/image/ap_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_5_x/platform-bringup/WIFI-OnBoarding/image/ap_on.png -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/platform-bringup/WIFI-OnBoarding/image/fail_get_sta.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_5_x/platform-bringup/WIFI-OnBoarding/image/fail_get_sta.png -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/platform-bringup/WIFI-OnBoarding/image/input_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_5_x/platform-bringup/WIFI-OnBoarding/image/input_1.png -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/platform-bringup/WIFI-OnBoarding/image/new_get_ap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_5_x/platform-bringup/WIFI-OnBoarding/image/new_get_ap.png -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/platform-bringup/WIFI-OnBoarding/image/new_get_sta.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_5_x/platform-bringup/WIFI-OnBoarding/image/new_get_sta.png -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/platform-bringup/WIFI-OnBoarding/image/new_menu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_5_x/platform-bringup/WIFI-OnBoarding/image/new_menu.png -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/platform-bringup/WIFI-OnBoarding/image/new_scan.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_5_x/platform-bringup/WIFI-OnBoarding/image/new_scan.png -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/platform-bringup/WIFI-OnBoarding/image/new_set_ap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_5_x/platform-bringup/WIFI-OnBoarding/image/new_set_ap.png -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/platform-bringup/WIFI-OnBoarding/image/new_set_sta.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_5_x/platform-bringup/WIFI-OnBoarding/image/new_set_sta.png -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/platform-bringup/WIFI-OnBoarding/image/rm_all_sta.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_5_x/platform-bringup/WIFI-OnBoarding/image/rm_all_sta.png -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/platform-bringup/WIFI-OnBoarding/image/rm_save_sta.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_5_x/platform-bringup/WIFI-OnBoarding/image/rm_save_sta.png -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/platform-bringup/WIFI-OnBoarding/image/set_same_sta.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_5_x/platform-bringup/WIFI-OnBoarding/image/set_same_sta.png -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/platform-bringup/WIFI-OnBoarding/image/sta_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_5_x/platform-bringup/WIFI-OnBoarding/image/sta_off.png -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/platform-bringup/WIFI-OnBoarding/image/sta_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_5_x/platform-bringup/WIFI-OnBoarding/image/sta_on.png -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/platform-bringup/WIFI-OnBoarding/image/wifi_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_5_x/platform-bringup/WIFI-OnBoarding/image/wifi_off.png -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/platform-bringup/WIFI-OnBoarding/image/wifi_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_5_x/platform-bringup/WIFI-OnBoarding/image/wifi_on.png -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/platform-bringup/WIFI-OnBoarding/wifi/get_sta.sh: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2020, 2022 Qualcomm Innovation Center, Inc. All Rights Reserved. 2 | # SPDX-License-Identifier: BSD-3-Clause-Clear 3 | 4 | #!/bin/bash 5 | 6 | # Get wireless network card name # 7 | network_card=$(iw dev |grep -o wl.*) 8 | 9 | # Determine whether the current connection # 10 | judge=$(iw dev $network_card link) 11 | if [ "$judge" = 'Not connected.' ]; then 12 | echo -e "\e[31mPlease connect to WiFi first!\e[0m" 13 | else 14 | #Get current connection SSID 15 | var1=$(iw dev $network_card link | grep 'SSID:') 16 | ssid=${var1#*:} 17 | echo -e "\e[32mCurrent current connection, ssid: $ssid.\e[0m" 18 | 19 | #Get password 20 | cat /data/misc/wifi/wpa_supplicant.conf | grep -A10 $ssid | grep -m 1 psk= 21 | fi 22 | -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/platform-bringup/Weston-Client-Application/image/blue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_5_x/platform-bringup/Weston-Client-Application/image/blue.png -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/platform-bringup/Weston-Client-Application/image/green.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_5_x/platform-bringup/Weston-Client-Application/image/green.png -------------------------------------------------------------------------------- /RB5/linux_kernel_5_x/platform-bringup/Weston-Client-Application/image/red.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/RB5/linux_kernel_5_x/platform-bringup/Weston-Client-Application/image/red.png -------------------------------------------------------------------------------- /ROS2-IMU/image/imu-data.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quic/sample-apps-for-robotics-platforms/667f7131789131b0e81c09b72e2abbfd14b69568/ROS2-IMU/image/imu-data.png -------------------------------------------------------------------------------- /ROS2-IMU/imu-ros2node/package.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | imu-ros2node 5 | 0.1.0 6 | imu ros2node 7 | Peng Wang 8 | Qualcomm-Technologies-Inc.-Proprietary 9 | 10 | ament_cmake 11 | 12 | ament_lint_auto 13 | ament_lint_common 14 | 15 | rclcpp 16 | sensor_msgs 17 | geometry_msgs 18 | 19 | rclcpp 20 | sensor_msgs 21 | geometry_msgs 22 | 23 | 24 | ament_cmake 25 | 26 | 27 | -------------------------------------------------------------------------------- /ROS2-IMU/imu-ros2node/readme.txt: -------------------------------------------------------------------------------- 1 | imu-ros2node is a ROS2 node for publishing IMU sensor data to ROS2 topic. 2 | 3 | Development Preparation: 4 | 1. Install ROS2 Dashing+. Reference: https://index.ros.org/doc/ros2/Installation/ 5 | 2. Install colcon: apt install python3-colcon-common-extensions 6 | 7 | Create Workspace: 8 | mkdir ~/ros_ws 9 | mv imu-ros2node ~/ros_ws/ 10 | 11 | Build Code: 12 | cd ~/ros_ws 13 | source /opt/ros/dashing/setup.bash 14 | colcon build 15 | 16 | Install: 17 | cd ~/ros_ws 18 | . install/local_setup.sh 19 | 20 | Run: 21 | ros2 run imu-ros2node imu-ros2node 22 | 23 | Test: 24 | ros2 run imu-ros2node imu-ros2test 25 | # or 26 | ros2 topic echo /imu 27 | -------------------------------------------------------------------------------- /ROS2-IMU/sensors-daemon/Android.bp: -------------------------------------------------------------------------------- 1 | cc_binary { 2 | name: "sns_client_example_cpp", 3 | defaults: ["sns_proto_lib_name-lite"], 4 | clang: true, 5 | owner: "qti", 6 | proprietary: true, 7 | srcs: [ 8 | "src/sns_client_example.cpp", 9 | "src/ssc_connection_reference.cpp", 10 | "src/ssc_suid_util.cpp" 11 | ], 12 | local_include_dirs: ["./inc"], 13 | cflags: [ 14 | "-Wall", 15 | "-Wextra", 16 | "-Werror", 17 | "-Wno-missing-field-initializers", 18 | "-Wno-maybe-uninitialized", 19 | ], 20 | cppflags: ["-fexceptions"], 21 | header_libs: [ 22 | "libssc_headers", 23 | "libqmi_common_headers", 24 | ], 25 | shared_libs: [ 26 | "libutils", 27 | "libsensorslog", 28 | "libcutils", 29 | "liblog", 30 | "libsnsapi", 31 | "libqmi_encdec", 32 | "libqmi_cci", 33 | ], 34 | } --------------------------------------------------------------------------------