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

Testing with ais-simulation #15

Open
rgleason opened this issue Mar 31, 2023 · 0 comments
Open

Testing with ais-simulation #15

rgleason opened this issue Mar 31, 2023 · 0 comments

Comments

@rgleason
Copy link
Owner

rgleason commented Mar 31, 2023

See this:
marcobergman/ais_simulation#10 (comment)

Seeing your examples, where the boat just follows the active route without user intervention using your ais-simulation tool, convinces me that I have not set up the testing environment properly. Procedure:

  1. Set Options > Connections
  2. Network Directon: Input Protocol: UDP Address: 0.0.0.0 Port: 10110
  3. Network Directon: Output Protocol: TCP Address: (your computer's IP address) 192.168.1.120 Port: 20220
  4. Check "Output on this port (as autopilot or nmea repeater) Talker ID "EC" APB bearing precision x.xxxx Input precision: Accept only sentences. Output precison: Output only sentences.
  5. Open the Options > Connections Nmea0183 Debug window.
  6. Route import Gpx "test-route.gpx" and set it as an active route?
  7. Start ais-simulation.exe or execute python ais_simulation.py which uses/runs ais_simulation.gpx
  8. https://github.com/marcobergman/ais_simulation
  9. Then how do I get the boat to follow the route? Something appears to be missing still.

image

image

image

NOTE: It is a Speedup factor, not knots. By default .gpx config, at factor=1, the simulated boat would go 6.0 knots.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant