Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interop Client: Recieve and store mission from AUVSI #50

Open
rland93 opened this issue Apr 29, 2022 · 1 comment
Open

Interop Client: Recieve and store mission from AUVSI #50

rland93 opened this issue Apr 29, 2022 · 1 comment
Assignees

Comments

@rland93
Copy link
Member

rland93 commented Apr 29, 2022

On launch, the first thing we do is get a mission. So, we need to build the following functionality in interop:

  • Get mission data as JSON from AUVSI server
  • Start a service on the interop client (ideally, in its own thread).
  • Unpack the JSON and store it into a single message Mission.msg. This message is kept in memory until:
  • The interop client receives a request for a mission. At that point, it will pass the mission to the requestor.

You can compose messages, so rather than passing in FlyZoneArrays, ObjectArrays, and so on, just pack them into a single message when the mission data is received.

@rland93 rland93 added this to the 0.2.0 milestone Apr 29, 2022
rland93 added a commit that referenced this issue May 3, 2022
@rland93
Copy link
Member Author

rland93 commented May 3, 2022

Great work. I was able to compile it, on running it I get

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    conn = connection.create_connection(
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 84, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 74, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

I'm guessing because the interop server isn't running.

Can we document how the interop server gets installed/launched?

And then test the service with the interop server running to make sure the mission is being fetched?

@rland93 rland93 removed this from the 0.2.0 milestone May 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants