Week 3: Coding Period

This week I finally finished the remaining templates from last week. I also managed to upload my created videos to the JdeRobot YouTube Channel.

Template Updation

Continuing from where I left off last week, this week I finished all the remaining template blocks. A list of them would be Teleoperator, PID, MotorDriver, ObjectDetector, ROSCamera and Odometer.

In addition, there were some improvements to be made to the old PR, that I had to update, namely I had included a Frequency constant in each of the blocks which wasn’t needed anymore as the new version of Visual Circuit had the frequency directly built into the code block itself.

After updating that for all of the blocks once again I submitted the PRs.

Read_String function

Currently Visual Circuit has functions to share arrays, images and numbers but no option to share strings. The other goal this week was to work with the backend of the application to add this feature.

In the process of adding this feature I discovered that the read_number() function would not work correctly either.

The main problem was that the old version of the code would simply store the data from the Shared Memory Object in the wire. However when it came to access the wire a second time, the Shared Memory Object itself was not tracked hence it gave an error of leaked Shared Memory Object.

To solve this, I stored the Shared Memory Object itself in the wire and while getting the data I simply got it from the buffer.

Port Updation

THe old Visual Circuit used the port 80 for its backend to listen to. The problem with that was that 80 is a reserved port by the computer and required sudo access to be able to start a server on port 80.

To fix this I changed the port number that the backend listens on from 80 to 8000

Video Editing

Aside from this I also edited the videos made previously to make them more presentable. After a few iterations they were finally uploaded to the JdeRobot YouTube Channel. You can see the results below:

Main t=changes were adding background music, some captions and speeding up some parts of the video.

Issues

2022

Summary Report

4 minute read

Late nights, excitement and learning are how I would describe the GSoC period in a few words. These past two months have been a lot of fun, from starting off...

Week 11: Coding Period

1 minute read

Going by the suggestions of my mentors, I spent this week working on the documentation of the blocks and some updates to my blog.

Week 10: Coding Period

1 minute read

This week I looked into MultiProcessing Conditions and finished the video of the FSM.

Week 9: Coding Period

1 minute read

This week saw the completion of the FSM video and the solution to the block size bug.

Week 8: Coding Period

1 minute read

I made more progress with the documentation and some other auxillary bug fixes this week.

Week 7: Coding Period

1 minute read

Another pretty busy week for me personally. This led to a bit of slowdown in the work done. However I started with the documentation editing through Jinja an...

Week 6: Coding Period

2 minute read

This week was quite hectic for me. My college started offline after a while, due to travelling and a few other events the time I could spend on Visual Circui...

Week 5: Coding Period

1 minute read

This was a week where I started to work on the Finite State Machine that I had mentioned in my proposal.

Week 4: Coding Period

3 minute read

This week marked a focus on completing the remaining PRs from last week. I also finished adding a new IMU block and worked on general share() and read() func...

Week 3: Coding Period

2 minute read

This week I finally finished the remaining templates from last week. I also managed to upload my created videos to the JdeRobot YouTube Channel.

Week 2: Coding Period

1 minute read

This week was about identifying and solving some bugs I had noticed during usage of the tool. I also started with the work template updation.

Week 1: Coding Period

1 minute read

This week marked the official beginning of the coding period. Going by last week’s set goals I started on the video creation part first and foremost.

Week 3: Community Bonding

less than 1 minute read

This was the last week of community bonding, however due to other commitments in college I had a hard time working on Visual Circuit.

Week 2: Community Bonding

1 minute read

In my previous posts I had highlighted the challenges I faced while installing Jde Drones and getting code running on it. Next after these steps was to solve...

Getting Code Running on Drones

1 minute read

After I got the drones running now it was time to actually write the code to solve some exercises. The goal for this week of the GSoC period was to get 1-2 a...

Installing JDE Drones

2 minute read

Getting started with my GSoC period, one of my goals during the project was to make drone applications using Visual Circuit. JdeRobot’s Academy already has s...

Back to Top ↑