IS CON

From LFS Manual
Revision as of 14:46, 10 February 2026 by Bokujishin (talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to navigationJump to search

Introduction

The CONtact packet is sent by LFS when 2 cars come into contact. This packet is only sent if ISF_CON is set in IS_ISI.

IS_CON packet properties
Type Name Description
byte Size 44
byte Type ISP_CON
byte ReqI 0
byte Zero
word SpClose high 4 bits: reserved / low 12 bits: closing speed (10 = 1 m/s)
word SpW
unsigned Time time stamp
CarContact A
CarContact B

Packet Details

Size

The size of the packet is always 44 bytes.

Type

The packet type from the ISP_ enumeration, always ISP_CON.

ReqI

ReqI is always equal to zero.

SpClose

Only the 12 lower bits are used to encode the closing speed, where a value of 10 corresponds to 1 m/s.

Time

The timestamp of the contact.

A

First CarContact.

B

Second CarContact.