cornell-cup / cs-minibot

[WIP] Software platform for MiniBot, an educational robotics kit made for Da Vinci Labs.
http://cornellcuprobotics.com/projects.html#minibot
Apache License 2.0
5 stars 1 forks source link

Differentiation between bot and scenario object #60

Open yangdanny97 opened 6 years ago

yangdanny97 commented 6 years ago

This relates to the simulator. Currently when you add a bot/scenario object, this is pretty much what happens:

  1. GUI sends request to basestation containing object details
  2. basestation creates the object and keeps track of it in the simulator/simulator vision system
  3. GUI sends request to basestation to retrieve simulated objects, and displays objects that are returned

Somewhere along the line the differentiation between a bot and a scenario object is lost, so the frontend just treats anything that is 0.15m in size as a bot (so as long as no scenario objects are 0.15m this will work normally).

Obviously this is terrible so we should try and fix this. This was an issue left over from last semester, so it would be nice if someone could take a look at this when the vision system is being rewritten and make sure that the different object types are differentiated at every step.