Skip to main content

Week 5 Optimized operation of the robot & Solve the problem of automatic recognition

WEEK 5

Date: 28 February 2020
Place: EE Building, 3th floor/ Room 304, 2P22

Before lab

l  We were working on code writing of the automatic part this week.

l  During this weekend, we discussed how to let the robot react when the recognition system detects the pet. We thought up an idea to determine the distance between pet and robot. When our pet is close enough to the robot, the robot will move to the opposite way.


l  Team members spent a number of time on writing the program.

During lab

l  Test the manual control function and it goes well.

l  Try to run the automatic part but fail.

Problem and solution

l  we met problems when we try to test the code of auto-control function.

When we launched the Python interpreter on the command line and then input: import Tensorflow as TF
It showed:
ImportError:  No module named Tensorflow all the time.
The reasons may be one of Tensorflow's dependencies is outdated or not installed.
We went through a lot of information and made a final decision to change a path and install Python again. We also checked and changed the running python directory, but it still did not work.

l  Besides, the robot didn't work as expected. When we tried to control the robot though web side, the robot worked but it cannot go fast. The two motor did not run as expected. At first, we thought there was a problem on the program, so we changed the control mode to Bluetooth control but it acts like the same.
Therefore, there may be problems on hardware. We removed all the extra comportment such as the servo, the obstacle avoidance module etc. and then it ran faster. However, we still cannot solve the motor’s out of sync problem.
One team member thought the robot has insufficient power. Since we cannot provide the raspberry pi enough power by charge pal, we will try the standard charger next week. Furthermore, it means the robot maybe can only moves in a certain range.

Comments