Skip to content

Commit a268f28

Browse files
author
Patrick Bechon
committed
Add new channels to send the current value of roll/pitch/yaw, translation, throttle and wheel commands
1 parent f2238a4 commit a268f28

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

src/KerbalSimpitMessageTypes.h

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,31 @@ enum OutboundPackets
122122
This value was renamed in v2.2 from ROTATION_DATA. */
123123
ROTATION_DATA_MESSAGE = 45,
124124

125+
126+
// |-----------------|
127+
// | Vessel Commands |
128+
// |-----------------|
129+
130+
/** Rotation command after applying Simpit command.
131+
* If not Simpit command is applied, this can be set by the SAS for instance.
132+
* Messages on this channel contain an rotationMessage, with the mask field unused.
133+
*/
134+
ROTATION_CMD_MESSAGE = 47,
135+
/** Translation command after applying Simpit command.
136+
* Messages on this channel contain an translationMessage, with the mask field unused.
137+
*/
138+
TRANSLATION_CMD_MESSAGE = 48,
139+
/** Wheel command after applying Simpit command.
140+
* Messages on this channel contain an wheelMessage, with the mask field unused.
141+
*/
142+
WHEEL_CMD_MESSAGE = 49,
143+
/** Throttle command after applying Simpit command.
144+
* This can be used for instance to control a motorized throttle.
145+
* Messages on this channel contain an throttleMessage (i.e. a single 16-bit integer).
146+
*/
147+
THROTTLE_CMD_MESSAGE = 50,
148+
149+
125150
// |----------------|
126151
// | Vessel Details |
127152
// |----------------|

0 commit comments

Comments
 (0)