Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
SimTX Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
SimTX API/Packets/PassPredictionResponse
Page
Discussion
English
Read
Edit
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
Edit source
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{SimTX API navigation}} {{SimTX packet | name = PassPredictionResponse | frame = ServerFrame | field = 41 | member = passes | direction = s2c | session = [[SimTX API/Control session|Control]] | roles = <code>ROLE_CONTROL</code>. | permission = None | answers = [[SimTX API/Packets/PassPredictionRequest|PassPredictionRequest]] | group = control | file = control.proto }} '''PassPredictionResponse''' lists the passes found for a [[SimTX API/Packets/PassPredictionRequest|PassPredictionRequest]]. Failures arrive as [[SimTX API/Packets/Error|Error]]. == Definition == <syntaxhighlight lang="protobuf"> message PassPredictionResponse { reserved 4; int64 request_id = 1; bytes satellite_id = 2; repeated Pass passes = 3; } </syntaxhighlight> == Fields == {| class="wikitable" ! # !! Field !! Type !! Description |- | 1 || <code>request_id</code> || <code>int64</code> || The request this answers. |- | 2 || <code>satellite_id</code> || <code>bytes</code> || The satellite. |- | 3 || <code>passes</code> || <code>repeated</code> [[#Pass|Pass]] || Passes in time order. Passes that overlap the window are clipped to it. |} Field number 4 is reserved; do not use it. === Pass === <syntaxhighlight lang="protobuf"> message Pass { int64 aos_ms = 1; int64 tca_ms = 2; int64 los_ms = 3; double max_elevation_deg = 4; double aos_azimuth_deg = 5; double los_azimuth_deg = 6; double max_doppler_hz = 7; } </syntaxhighlight> {| class="wikitable" ! # !! Field !! Type !! Description |- | 1 || <code>aos_ms</code> || <code>int64</code> || Acquisition of signal: elevation rises through the threshold, Unix ms. |- | 2 || <code>tca_ms</code> || <code>int64</code> || Time of closest approach (highest elevation), Unix ms. |- | 3 || <code>los_ms</code> || <code>int64</code> || Loss of signal, Unix ms. |- | 4 || <code>max_elevation_deg</code> || <code>double</code> || Highest elevation, degrees. |- | 5 || <code>aos_azimuth_deg</code> || <code>double</code> || Azimuth at AOS, degrees from north through east. |- | 6 || <code>los_azimuth_deg</code> || <code>double</code> || Azimuth at LOS, degrees. |- | 7 || <code>max_doppler_hz</code> || <code>double</code> || Largest absolute Doppler shift between AOS and LOS at <code>frequency_hz</code>, Hz, β₯ 0. 0 when no frequency was given. |} == Example == Complete frames, including the varint length prefix. '''<code>pass_response</code>''' (server to client, 83 bytes): <syntaxhighlight lang="text"> 52 frame length 82 CA 02 4F passes (PassPredictionResponse), 79 bytes 08 16 request_id = 22 12 10 99 99 99 99 β¦ satellite_id = 99999999-8888-4777-8666-555555555555 1A 39 passes (Pass), 57 bytes 08 C0 98 C0 B9 97 34 aos_ms = 1793001000000 10 A0 C0 D2 B9 97 34 tca_ms = 1793001300000 18 80 E8 E4 B9 97 34 los_ms = 1793001600000 21 00 00 00 00 00 40 4F 40 max_elevation_deg = 62.5 29 00 00 00 00 00 E0 75 40 aos_azimuth_deg = 350.0 31 00 00 00 00 00 40 65 40 los_azimuth_deg = 170.0 39 00 00 00 00 00 24 C3 40 max_doppler_hz = 9800.0 </syntaxhighlight> == See also == * [[SimTX API/Packets/PassPredictionRequest|PassPredictionRequest]] * [[SimTX API/Satellites#Passes|Passes]] {{SimTX API navbox}} [[Category:SimTX API]]
Summary:
Please note that all contributions to SimTX Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
SimTX Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:SimTX API navbox
(
edit
)
Template:SimTX API navigation
(
edit
)
Template:SimTX packet
(
edit
)