- Activities
- Alarms
- Audit
- Buckets
- Clearance
- Commands
- COP-1
- Database
- Events
- File Transfer
- IAM
- Indexes
- Instances
- Links
- MDB Override
- MDB
- Packets
- Parameter Archive
- Parameter Lists
- Parameter Values
- Processing
- Queues
- Replication
- RocksDB
- Server
- Services
- Sessions
- Stream Archive
- Table
- Time Correlation
- Time
- Timeline
Yamcs Release Notes
Yamcs Server Manual
Source Code Documentation
Add Time Of Flight IntervalsΒΆ
Add intervals for the time of flight calculation.
Each [ertStart, ertStop)
interval contains a polynomial function used to compute the time of flight for the given ert
.
The intervals can overlap and are sorted in descending order of the start time.
The first (highest start time) interval where the requested ert fits, will be used for the calculation.
The formula used for calculating the time of flight for a frame/packet received
at ert
in the [ertStart, ertStop)
interval is:
delta = ert - ertStart
tof = polCoef[0] + polCoef[1] * delta + polCoef[2] * delta^2 + ...
The result of the polynomial is the tof
expressed in seconds.
URI Template
POST /api/tco/{instance}/{serviceName}/tof:addIntervals
{instance}
Yamcs instance name.
{serviceName}
Service name.
Request Body
interface AddTimeOfFlightIntervalsRequest {
//intervals for time of flight calculation
intervals: TofInterval[];
}
Related Types
interface TofInterval {
ertStart: string; // RFC 3339 timestamp
ertStop: string; // RFC 3339 timestamp
polCoef: number[];
}