usc-m / SDP-Team-F

SDP Team F - Group 1 (NASA) and Group 16
0 stars 0 forks source link

Improvement and Specification #35

Open ShuxinLin opened 9 years ago

ShuxinLin commented 9 years ago

I continued to do strategy after Dari left. There is something I want to tell Dari and others who want to test: Improvement: Use one robot from team 1 to test both attacker and defender's performance with just simple commands.

Attacker can rotate, move, grab and kick(Dari's achievement). I added a new strategy similar to the attacker strategy so the robot can do the same thing even if it is placed in the defender zone. But the performance is worse than the attacker's. I put the new defender strategy in case Milestone 3- pass task 2 so I did not change anything in Milestone 3- pass task 1.

If you use robot from team 1 and want to test attacker strategy: Place the robot on the attacker zone -> Run the code -> press 1 for attacker port and press 0 for defender port -> open vision gui -> Load Settings in Settings Window -> set Our colour and We are shooting -> Open Robot and strategy control windows -> press Activate -> press Milestone 3 -pass task 1

If you use robot from team 1 and want to test defender strategy: Place the robot on the defender zone -> Run the code -> press 0 for attacker port and press 1 for defender port -> open vision gui -> Load Settings in Settings Window -> set Our colour and We are shooting -> Open Robot and strategy control windows -> press Activate -> press Milestone 3 -pass task 2.

In addition,

  1. The communication always breaks. When you use one robot, press 1 and 0 (or 0 and 1) for selecting port, if warnings occur twice, it means the communication is broken. The solution is re-inserting the USB stick.
  2. When you load the settings, it does not mean everything is loaded. You should set "Our colour" and "We are shooting". But everything expect these two is loaded.
  3. If you finish doing the settings, but there is no arrow showing on the robot in vision window, it means "Our colour" or "We are shooting" is wrong.
JGMSoftware commented 9 years ago

This is good! Both robots are currently in team 1's drawer, which isn't locked since I don't have any keys at the moment.