Team Status Report for 4/10

Raymond has been progressing on his project components and has begun part of the integration step. However, he still needs more data to form a more accurate network. Therefore, the Gantt chart is labelled as 90% complete.

Joseph needs to change the type of inverse kinematics he used due to issues with the Matlab library outlined in the detailed design writeup. He will now be using another inverse kinematics library as one of the risk mitigation options.

Jasper is behind in his progress in the software UI component, as he did not properly test out the success of his user interface interaction with camera.

As of the demo, the most recent updated gantt schedule is included in this post. Catch up may be needed, and some slack time will have to be used up to get the system working.

Raymond’s status report for 4/9

In the days before the demo, I modified the pixel to inch parameter to fit the size of the meat within the range of error. This value is hardcoded instead of dynamically determined because the meat is anticipated to be a fixed distance from the camera in the final product, so having fixed values instead of a reference point is better.

Before the demo, I was able to download the necessary libraries and files onto the Jetson, however I lacked enough adaptors to get the keyboard and the camera both working at the same time, so I was unable to get that working before the demo. I was able to get the necessary adaptors to get the Computer Vision working on the Jetson during Carnvial.

Joseph Jang’s Status Report for 4/2

This week, I was able to hardcode some movements for the robotic arm.  I am using the I have taken the measurements of the robotic arm, so I have put it in the Matlab code. First I had to specify the Rigid Body Tree Model.  I could modify the model by using the addBody.  Finally, I used the inverseKinematics function to try to have the robot arm moving.   I’ve tried two different IK models, which are called BFGSGradientProjection and LevenbergMarquardt.  However, since there are multiple solutions that are possible for an (x, y, z) position, the angles of each joint of the robotic arm need to be specified somehow.  We have to choose the right arm joints by making sure the robot arm links are not close to the grill.  Although the picture below is not a picture of the robotic arm I’m using, it is the GUI that I am using to control the robotic arm.

Jasper Lessiohadi’s Status Report 4/2

As I wrote in the team status report, this week I finished work with the UI and cooking time algorithms. The UI is hopefully clear enough to provide a clean and intuitive experience for the user. It displays information about the detected thickness of a new piece of meat, how long the system decides it needs to cook, and which section of the grill it will go on. There is also an overhead camera feed of the grill which displays which section is which, enabling the user to be confident that the system of working as intended. I plan to add the capability of changing the remaining cooking time for any section that they select, but I do not have that working yet.

Team Status Report 4/2

This week, the team has been diligently working towards being ready for our project demo on Wednesday 4/6. We seem to be in a very good spot with all of our subsystems in a presentable point.

Joseph can demonstrate the robotic arm we plan to use to flip and transport the meats being cooked. The inverse kinematics of it have been difficult to implement, but at least we will be able to show that it moves with the range of motion that we need for our end goal. We have the wiring and other heat-sensitive parts insulated so that they will be protected from the high temperatures of the stove. This has been tested using a soldering iron which did not have any effect on the more delicate internals of the arm.

Raymond has blob detection working with the CV able to detect meats with decent accuracy. He has switched from image classification to object recognition to prevent scenarios where a user places 2 different types of meat on a plate. He has changed parameters of the original blob detection algorithm to be better at identifying meats instead of other objects in the scene, along with improving performance in low light conditions.

Jasper has finished work with the UI and cooking time algorithms. The UI is hopefully clear enough to provide a clean and intuitive experience for the user. It displays information about the detected thickness of a new piece of meat, how long the system decides it needs to cook, and which section of the grill it will go on. There is also an overhead camera feed of the grill which displays which section is which, enabling the user to be confident that the system of working as intended. We plan to add the capability of changing the remaining cooking time for any section that they select, but we do not have that working yet.

Overall, the project is keeping up with the proposed schedule from earlier in the semester, and the team has made great progress.

Raymond Ngo’s status report 4/2

In the previous week, I combined the 3 different computer vision algorithms into one program that invokes all of them. Along the way, I found out the blob detection was not as effective as I thought under dim lighting conditions. As a result, I had to make modifications to the blob detection by changing several parameters regarding eroding excess lines.

You may have noticed the image is a result of an object recognition and not of an image cassification network. There are several reasons for this. One, the dataset we collected had multiple types of meat strewn together, and at that moment, our team realized that if someone placed multiple types of meat on a plate in front of the robotic arm, a classification system is not robust enough to know that and may cause undercookng of meat. Another reason is that if the blob detection fails to work in a way we want, object recognition algorithm is our backup mitigation technique. While object recognition is slower than blob detection, it’s still sufficiently fast enough for our desired metrics.

What you see below is the result of YOLOv5 trained on 150 epochs on a tiny data set (only 20 images) augmented to be 60 images in total. The batch size each epoch was 12 images each. YOLOv5 was selected due to its speed advantage and its active community support online.

Currently on track to complete by the completion date indicated on the schedule, which is Monday, at least I am mostly done. The hesitation is because the integration period will provide a chance to add to the dataset, and that would require more training on the network.

By next week, I hope to begin the integration of the subsystems by having the files uploaded onto the Xavier. Hopefully that would lead to an improvement in detection time also.

Jasper Lessiohadi’s Status Report for 3/26

This week, progress was a bit slow, due to lots of work from other classes and other interference from life. Additionally, I am not as familiar with python as I previously thought I was. I have been using the Python library tkinter, and have something basic, but it still doesn’t look great. I am confident that it will be fine by the time we have our interim demo, though. I will have to put in a bit of extra work this upcoming week, but it is nothing that I won’t be able to handle.

Joseph Jang’s Status Report for 3/26

This week, I was able to set up the Jetson Agx Xavier.  I have started reviewing the inverse kinematics for the robotic arm.  I am going through the tutorials for using Python with ROS to get a better understanding of robot simulation.  I am also looking through the lecture notes of the robotics course 16-384 called Robot Kinematics and Dynamics.  There are many resources available, but I am currently leaning towards using a MATLAB & Simulink library called Robotic Systems Toolbox.  I have started playing around with the IK solver algorithms and simulation model for the end effector of the robotic arm.  I am having some trouble understanding all the math behind a 4-DOF robotic arm.  I think I will eventually get there, but for now, I will simulate the robotic arm.

Team Status Reports 3/26

The computer vision progress for blob detection seems to be progressing smoothly. There seems to be no hiccups in the production schedule for the project. Joseph has been progressing smoothly on the robotic arm, and the grill has arrived. This is a crucial step because now he can better obtain visual feedback on how the arm will interact with the grill environment. Jasper has been working hard on the UI and on some of the more fine tuned aspects of the system, such as the cooking time algorithm.

 

From the ethics class, one ethical issue we did not consider was the fact that a childs arm might be mistaken as one of the pieces of meat to be picked up by a robot. This is a potential issue that our team will have to look into further, but one solution is to have a manual robotic arm stop in the user interface. Note that this issue will mainly apply to people with a more reddish skin color, perhaps caucasian or sunburnt person. More testing will be needed to see the interaction between the blob detector and skin complexion

Raymond Ngo’s status report for 3/26

As promised last week, I was able to solve the issue of blob detection not working on larger blobs. As it turns out, the reason why I was unable to solve the issue earlier was because I was turning off filtering mechanisms one by one, however, I actually had to disable multiple preset parameters to get the blob detection to work on larger images. Furthermore, this past week I was working on ways to improve the blob detector and edge detector on different types of images. As seen in last week’s report, back then I was only testing on a simple slab of meat on a white background. This week, I obtained more images, especially the type of image seen below where the meat is on a tray, which is how I expect the final environment to work. And as you can see, my changes in parameters means edge and blob detection work in more scenarios accurately (note the 3 circles for the 3 trays of meat).

Next week, my 2 primary tasks involve beginning the setup of a neural network and getting the blob and edge detectors to take in a live camera feed to test its effectiveness in a more real world setting. I anticipate the collection and tagging of a dataset.