Skip to content
Lev Kovalenko edited this page Oct 1, 2018 · 13 revisions

Welcome to the business-layer wiki!

Protocol:

Message format between buisness layer and unity. Technical specifications

  • IP: localhost(192.168.1.5)
  • port: 9090

Connection specifications

  • Bl - server, unity - client

Message from BL to unity

  • {"id1":"someData", "id2":"someData"}

Message from unity to BL

{ 
 "flag": "e" or "0" or "1",
 "name": "name of task",
 "Scenario": 
 [
    { "parallel": True or False,
      "name": "name_of_robot",
      "time": "time_of_command",
      "energy": "energy_of_command",
      "command": "special_command"
    },
    { "parallel": True or False,
      "name": "name_of_robot",
      "time": "time_of_command",
      "energy": "energy_of_command",
      "command": "special_command"
    }
 ]  
}
Clone this wiki locally