Open Mr-Anyone opened 1 month ago
@nimazareian covered everything, I don't have anything more to add onto nima's conversation
I am not sure if I quite understand. You want something like the following?
./tbots.py run thunderscope --use_unconventional_port --not_launch_gc
./tbots.py test pivot_kick_field_test --keyboard_estop --use_unconventional_port
Currently, there is a bug in the toolbar. Before I fix that, I want to make sure I have correctly implemented the requested change.
Test New Changes
I am not sure if I quite understand. You want something like the following?
./tbots.py run thunderscope --use_unconventional_port --not_launch_gc ./tbots.py test pivot_kick_field_test --keyboard_estop --use_unconventional_port
Currently, there is a bug in the toolbar. Before I fix that, I want to make sure I have correctly implemented the requested change.
@itsarune can pitch in as well, but I think we should always used an "unconventional port" for the GC, unless we're running --run_blue
/--run_yellow
without --launch_gc
(i.e. in every scenario we should use an unconventional port, unless we're in an actual real life game, hence the --run_blue
/--run_yellow
without the --launch_gc
since we're just using the GC that is used on the field by both teams. So there shouldn't be a need for the arg --use_unconventional_port
and only --launch_gc
should be added. This new arg could be optionally paired with --run_blue
/--run_yellow
to run our own game controller (both in Thunderscope and in the field test fixture).
For your reference, right now when we play actual games, I often run Thunderscope with something like:
./tbots.py run thunderscope --interface wlp2s0 --run_blue
In the updated logic, running that command should NOT launch the game controller, and should listen on the official GC port.
I think I may have implemented the requested feature.
I've tested this with the following two commands:
./tbots.py run thunderscope --run_blue --interface wlp0s20f3 --keyboard_estop --launch_gc
./tbots.py run thunderscope --run_blue --interface wlp0s20f3 --keyboard_estop
I've just ran fix_formatting.sh
. It seems that my system is missing an dynamic library libtinfo-dev
. This is solved through apt-get
.
Description
Game controller can now bind on a different port
Testing Done
Ran the following commands:
and when each of the command from above is running, I ran
Resolved Issues
resolves #3160
Length Justification and Key Files to Review
N/A
Review Checklist
It is the reviewers responsibility to also make sure every item here has been covered
.h
file) should have a javadoc style comment at the start of them. For examples, see the functions defined inthunderbots/software/geom
. Similarly, all classes should have an associated Javadoc comment explaining the purpose of the class.TODO
(or similar) statements should either be completed or associated with a github issue