Changes between Version 19 and Version 20 of Other/Summer/2023/AgentDev
- Timestamp:
- Jul 26, 2023, 2:54:13 PM (16 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Other/Summer/2023/AgentDev
v19 v20 96 96 </ul> 97 97 <h4>Summary</h4> 98 <p>During this week, we spent some time discussing how we will be storing our data that will be collected from CARLA sensors. We have decided to use Django along with django-rest-framework to create the REST API and connect it to our Postgres database. We were able to successfully implement the rgb image model / schema and sucessfully test the Create, Read, Update, and Delete operations with the RGB model. In other words, we are now able to store and retrieve rgbimages from the database through the REST API.</p>98 <p>During this week, we spent some time discussing how we will be storing the data that will be collected from CARLA sensors. We have decided to use Django along with django-rest-framework to create the REST API and connect it to our Postgres database. We were able to successfully implement the RGB image model/schema and successfully test the Create, Read, Update, and Delete operations with the RGB model. In other words, we are now able to store and retrieve RGB images from the database through the REST API.</p> 99 99 100 <p>While experimenting with CARLA cameras, we ran into some bug where the image being collected was corrupted and did not display a clear image. The images appeared to be distorted with fast moving horizontal stripes. Our team spent some time debugging the issue and reading beteween the lines of the code.</p>100 <p>While experimenting with CARLA cameras, we ran into some bugs where the image being collected was corrupted and did not display a clear image. The images appeared to be distorted with fast-moving horizontal stripes. Our team spent some time debugging the issue and reading between the lines of the code.</p> 101 101 102 102 <center> 103 103 <img width="600" height="400" alt="Django Logo" src="https://www.django-rest-framework.org/img/logo.png" /> 104 104 <img width="400" height="400" alt="Image Bug" src="/raw-attachment/wiki/Other/Summer/2023/AgentDev/image_bug.png" /> 105 <p>The first image shows Django-rest-framework's logo (Source: <a href="https://www.django-rest-framework.org/">[django-rest-framework main page]</a>). The second image shows the image distortion bug that we were getting as a result of visualizing the data from RGB camera sensor inCARLA simulator. </p>105 <p>The first image shows Django-rest-framework's logo (Source: <a href="https://www.django-rest-framework.org/">[django-rest-framework main page]</a>). The second image shows the image distortion bug that we were getting as a result of visualizing the data from the RGB camera sensor in the CARLA simulator. </p> 106 106 </center> 107 Nonetheless, we were able successfully collect data from some of the camera sensors inCARLA simulator. For example:107 Nonetheless, we were able to successfully collect data from some of the camera sensors in the CARLA simulator. For example: 108 108 <center> 109 109 <img width="400" height="400" alt="Sample RGB Image" src="/raw-attachment/wiki/Other/Summer/2023/AgentDev//107-12.63882027566433.png" /> 110 <p>The image above shows a sample image that was suc essfully collected from the RGB Camera sensor in CARLA Simulator.</p>110 <p>The image above shows a sample image that was successfully collected from the RGB Camera sensor in CARLA Simulator.</p> 111 111 </center> 112 112