|
From: <676...@qq...> - 2018-02-10 02:35:54
|
I don't think database is a good idea to connect opentcs and vehicle unless you want record any real time information.If you want A send information to B,you can directly send it from A to B. You can use restful api based on http to connect opentcs and vehicle in you driver. We develop a program in vehicle,as a backend which implement several restful api. In driver of vehicle at opentcs side,you can code something to query status of vehicle,command destination to vehicle. Because http is short link,it will not consume too much resources.If you focus on real time performance,you can use websocket to connect opentcs and vehicle. ------------------ 原始邮件 ------------------ 发件人: "andre"<an...@sp...>; 发送时间: 2018年2月10日(星期六) 凌晨3:36 收件人: "opentcs-discuss"<ope...@li...>; 主题: [opentcs-discuss] Using Database and OpenTCS Hello, I've developed my driver using a TCP/IP network to communicate with the vehicles. However, it became too slow and consumes too much processing resources from the vehicles and the server which runs OpenTCS. Once, the application is growing and more vehicles are intended to be added, we decided to move from the TCP/IP network to the use of a database, where OpenTCS would commit the informations and vehicles would query it from there. My doubt is whether it's possible and viable to implement the use of a database together with OpenTCS. Thank you since now Best regards André |