5.2.4.1. config_pyiot.yaml


5.2.4.1.1. Description

Configuration file to store necessary information about the MQTT broker and spreadsheet ID’s

This file is loaded on the parameter server and then it is accessed by the Ros-Iot Bridge Action Server to perform necessary tasks related to IoT.

config_pyiot:
   mqtt:
   server_url: "broker.mqttdashboard.com"      # http://www.hivemq.com/demos/websocket-client/
   server_port: 1883
   topic_sub: "/eyrc/vb/isPicuTP/orders"
   topic_pub: "eyrc/isPicuTP/ros_to_iot"
   qos: 0

   sub_cb_ros_topic: "/ros_iot_bridge/mqtt/sub"   # ROS nodes can listen to this topic to receive data from MQTT Subscription

google_apps:
   spread_sheet_id: "AKfycbxpNwr90TCaZXKz9mtTuZqJ4ckPxj_QVxuF3jvT2GaIPeQiNJrA2Zka" # Spreadsheet Id/Webapp Id
   spread_sheet_id_eyantra: "AKfycbw5xylppoda-8HPjt2Tzq4ShU_Xef-Ik-hEtBPcPk0gdGw8095j4RZ7" # eYantra Spreadsheet Id

5.2.4.1.2. Parameters


5.2.4.1.2.1. MQTT

server_url(string) - MQTT Server URL

server_port(int) - Server port number

topic_sub(string) - MQTT topic to subscribe

topic_pub(string) - MQTT topic to publish the data on

qos(string) - Quality of Service

sub_cb_ros_topic(string) - ROS topic to publish the data coming from MQTT


5.2.4.1.2.2. Google Apps

spread_sheet_id(string) - Personal spreadsheet ID of Inventory Management Sheet

spread_sheet_id_eyantra(string) - eYantra’s spreadsheet ID of Inventory Management Sheet