|
|
|
|
Jul 18, 2002 |
James Durtschy |
cigi_api.h |
Added a check for C++ and used the extern "C" modifier if detected.
|
Changed the use of the LITTE_ENDIAN preprocessor definition to use CIGI_LITTE_ENDIAN instead.
|
Added a preprocessor definition check for CIGIAPI_LIBRARY in
the CIGI_LITTE_ENDIAN function name mappings. The little endian
versions of the functions will not be used if CIGIAPI_LIBRARY
is defined.
|
cigi_icd.h |
Added a check for C++ and used the extern "C" modifier if detected.
|
cigi_helper.h |
Added a check for C++ and used the extern "C" modifier if detected.
|
Jul 16, 2002 |
James Durtschy |
cigi_api.c |
Fixed errors in the CigiSwapIncomingMsgBuffer() function using the correct preprocessor definitions:
CIGI_HAT_REQUEST
CIGI_LOS_OCCULT_REQUEST
instead of the following preprocessor definitions:
CIGI_HAT_REQUEST_SIZE
CIGI_LOS_OCCULT_REQUEST_SIZE
|
Jun 03, 2002 |
James Durtschy |
cigi_helper.c |
Fixed the CigiPrintViewDefinitionPacket() function to print the correct fields in
the CIGI_VIEW_DEFINITION packet.
|
Apr 23, 2002 |
James Durtschy |
cigi_icd.h |
Added missing spare3A field to the CIGI_HAT_RESPONSE packet.
|
cigi_helper.h cigi_helper.c |
Updated the following functions to use the %lf printf format flag for double fields, instead of the %f format flag.
CigiPrintEntityControlPacket
CigiPrintEntityControlPacket_V1
CigiPrintHatRequestPacket
CigiPrintHatRequestPacket_V1
CigiPrintLosOccultRequestPacket
CigiPrintLosOccultRequestPacket_V1
CigiPrintLosRangeRequestPacket
CigiPrintLosRangeRequestPacket_V1
CigiPrintHotReqPacket
CigiPrintHotReqPacket_V1
CigiPrintHatResponsePacket
CigiPrintLosResponsePacket
CigiPrintLosResponsePacket_V1
CigiPrintHotResponsePacket
|
Apr 12, 2002 |
James Durtschy |
cigi_icd.h |
Changed many of the field names within the packets for consistency.
|
Removed the following packets from the CIGI API.
CIGI_COLL_DET_DEFINITION
CIGI_VOLUME_COLL_DET_DEFINITION
CIGI_COLL_RESPONSE
CIGI_VOLUME_COLL_DET_RESPONSE
Each of the packets removed above were renamed to the packet name in the following list (in order).
CIGI_COLL_DET_SEGMENT_DEFINITION
CIGI_COLL_DET_VOLUME_DEFINITION
CIGI_COLL_SEGMENT_RESPONSE
CIGI_COLL_VOLUME_RESPONSE
|
The following preprocessor definitions for indicating packet opcodes and sizes were changed for consistency.
CIGI_TRAJECTORY_DEF_OPCODE
CIGI_TRAJECTORY_DEF_SIZE_V1
CIGI_TRAJECTORY_DEF_SIZE
CIGI_EFFECT_DEF_OPCODE
CIGI_EFFECT_DEF_SIZE
CIGI_VIEW_DEF_OPCODE
CIGI_VIEW_DEF_SIZE_V1
CIGI_VIEW_DEF_SIZE
COLL_DET_SEGMENT_OPCODE
CIGI_COLL_DET_DEF_SIZE_V1
CIGI_COLL_DET_DEF_SIZE
CIGI_SOF_OPCODE
CIGI_SOF_SIZE_V1
CIGI_SOF_SIZE
CIGI_COLL_RESPONSE_OPCODE
CIGI_COLL_RESPONSE_SIZE_V1
CIGI_COLL_RESPONSE_SIZE
CIGI_SEN_RESPONSE_OPCODE
CIGI_SEN_RESPONSE_SIZE_V1
CIGI_SEN_RESPONSE_SIZE
These were changed to take the form of PACKET_NAME_OPCODE and
PACKET_NAME_SIZE . The new definitions are as follows (in order).
CIGI_TRAJECTORY_DEFINITION_OPCODE
CIGI_TRAJECTORY_DEFINITION_SIZE_V1
CIGI_TRAJECTORY_DEFINITION_SIZE
CIGI_SPECIAL_EFFECT_DEFINITION_OPCODE
CIGI_SPECIAL_EFFECT_DEFINITION_SIZE
CIGI_VIEW_DEFINITION_OPCODE
CIGI_VIEW_DEFINITION_SIZE_V1
CIGI_VIEW_DEFINITION_SIZE
CIGI_COLL_DET_SEGMENT_DEFINITION_OPCODE
CIGI_COLL_DET_SEGMENT_DEFINITION_SZIE_V1
CIGI_COLL_DET_SEGMENT_DEFINITION_SZIE
CIGI_START_OF_FRAME_OPCODE
CIGI_START_OF_FRAME_SIZE_V1
CIGI_START_OF_FRAME_SIZE
CIGI_COLL_SEGMENT_RESPONSE_OPCODE
CIGI_COLL_SEGMENT_RESPONSE_SIZE_V1
CIGI_COLL_SEGMENT_RESPONSE_SIZE
CIGI_SENSOR_RESPONSE_OPCODE
CIGI_SENSOR_RESPONSE_SIZE_V1
CIGI_SENSOR_RESPONSE_SIZE
|
Added the following general-purpose preprocessor definitions for packet field values.
CIGI_DISABLED
CIGI_ENABLED
CIGI_INACTIVE
CIGI_ACTIVE
CIGI_INVALID
CIGI_VALID
Removed the following preprocessor definitions for packet field values, which can instead use one of the
values defined above.
ENTITY_INACTIVE
ENTITY_ACTIVE
ENTITY_DESTRUCT
ENTITY_CONSTRUCT
ENTITY_NO_COLLISION
ENTITY_COLLISION_DETECTION
ART_PART_STATE_INACTIVE
ART_PART_STATE_ACTIVE
ART_PART_X_INACTIVE
ART_PART_X_ACTIVE
ART_PART_Y_INACTIVE
ART_PART_Y_ACTIVE
ART_PART_Z_INACTIVE
ART_PART_Z_ACTIVE
ART_PART_ROLL_INACTIVE
ART_PART_ROLL_ACTIVE
ART_PART_PITCH_INACTIVE
ART_PART_PITCH_ACTIVE
ART_PART_HDG_INACTIVE
ART_PART_HDG_ACTIVE
WEATHER_DISABLED
WEATHER_ENABLED
WEATHER_RANDOM_WINDS_DISABLED
WEATHER_RANDOM_WINDS_ENABLED
VIEW_X_OFFSET_ENABLED
VIEW_X_OFFSET_DISABLED
VIEW_Y_OFFSET_ENABLED
VIEW_Y_OFFSET_DISABLED
VIEW_Z_OFFSET_ENABLED
VIEW_Z_OFFSET_DISABLED
VIEW_ROLL_OFFSET_ENABLED
VIEW_ROLL_OFFSET_DISABLED
VIEW_PITCH_OFFSET_ENABLED
VIEW_PITCH_OFFSET_DISABLED
VIEW_HEADING_OFFSET_ENABLED
VIEW_HEADING_OFFSET_DISABLED
SENSOR_DISABLED
SENSOR_ENABLED
SENSOR_LINE_BY_LINE_DROPOUT_DISABLED
SENSOR_LINE_BY_LINE_DROPOUT_ENABLED
SENSOR_AUTO_GAIN_OFF
SENSOR_AUTO_GAIN_ON
VIEW_DEF_NEAR_ENABLED
VIEW_DEF_NEAR_DISABLED
VIEW_DEF_FAR_ENABLED
VIEW_DEF_FAR_DISABLED
VIEW_DEF_LEFT_ENABLED
VIEW_DEF_LEFT_DISABLED
VIEW_DEF_RIGHT_ENABLED
VIEW_DEF_RIGHT_DISABLED
VIEW_DEF_TOP_ENABLED
VIEW_DEF_TOP_DISABLED
VIEW_DEF_BOTTOM_ENABLED
VIEW_DEF_BOTTOM_DISABLED
COLLISION_DET_VECTOR_DISABLED
COLLISION_DET_VECTOR_ENABLED
HAT_RESPONSE_INVALID
HAT_RESPONSE_VALID
|
Removed the following preprocessor defininition packet values.
ENVIRONMENT_STATIC_TOD
ENVIRONMENT_CONTINUOUS_TOD
WEATHER_TYPE_CLOUD_A
WEATHER_TYPE_CLOUD_B
SENSOR_TRACK_WHITE
SENSOR_TRACK_BLACK
VIEW_DEF_NO_PIXEL_REPLICATE
VIEW_DEF_1X2_PIXEL_REPLICATE
VIEW_DEF_2X1_PIXEL_REPLICATE
VIEW_DEF_2X2_PIXEL_REPLICATE
VOLUME_COLL_DET_CONTACT_NON_ENTITY
VOLUME_COLL_DET_CONTACT_ENTITY
Each of the preprocessor definitions removed above were renamed to the preprocessor definition in the following list (in order).
EPHEMERIS_STATIC_TOD
EPHEMERIS_CONTINUOUS_TOD
WEATHER_TYPE_CLOUD_1
WEATHER_TYPE_CLOUD_2
SENSOR_WHITE_HOT
SENSOR_BLACK_HOT
VIEW_DEF_PIXEL_REPLICATE_NONE
VIEW_DEF_PIXEL_REPLICATE_1X2
VIEW_DEF_PIXEL_REPLICATE_2X1
VIEW_DEF_PIXEL_REPLICATE_2X2
COLL_RESPONSE_CONTACT_NON_ENTITY
COLL_RESPONSE_CONTACT_ENTITY
Removed the following preprocessor defininition packet value, which are no being used.
COMPONENT_ASSOCIATION_ENTITY
COMPONENT_ASSOCIATION_ENVIRONMENT
COMPONENT_ASSOCIATION_VIEW
|
cigi_api.h cigi_api.c |
Removed the following functions from the CIGI API.
CigiAddPacketCollisionDetDef
CigiAddPacketCollisionDetDefLE
CigiAddPacketVolumeCollDetDef
CigiAddPacketVolumeCollDetDefLE
CigiAddPacketColResp
CigiAddPacketColRespLE
CigiAddPacketVolumeCollDetResp
CigiAddPacketVolumeCollDetRespLE
Each of the functions removed above were renamed to the function name in the following list (in order).
CigiAddPacketCollisionDetSegmentDef
CigiAddPacketCollisionDetSegmentDefLE
CigiAddPacketCollisionDetVolumeDef
CigiAddPacketCollisionDetVolumeDefLE
CigiAddPacketCollisionSegmentResp
CigiAddPacketCollisionSegmentRespLE
CigiAddPacketCollisionVolumeResp
CigiAddPacketCollisionVolumeRespLE
|
Removed the following internal functions from the CIGI API.
CigiSwapPacketCollisionDetDef
CigiSwapPacketCollisionDetDef_V1
CigiSwapPacketVolumeCollDetDef
CigiSwapPacketColResp
CigiSwapPacketColResp_V1
CigiSwapPacketVolumeCollDetResp
Each of the functions removed above were renamed to the function name in the following list (in order).
CigiSwapPacketCollisionDetSegmentDef
CigiSwapPacketCollisionDetSegmentDef_V1
CigiSwapPacketCollisionDetVolumeDef
CigiSwapPacketCollisionSegmentResp
CigiSwapPacketCollisionSegmentResp_V1
CigiSwapPacketCollisionVolumeResp
|
cigi_helper.h cigi_helper.c |
Removed the following functions.
CigiCreateCollDetDefinitionPacket
CigiCreateVolumeCollDetDefPacket
CigiCreateColResponsePacket
CigiCreateVolumeCollDetResponsePacket
Each of the functions removed above were renamed to the function name in the following list (in order).
CigiCreateCollisionDetSegmentDef
CigiCreateCollisionDetVolumeDefPacket
CigiCreateCollisionSegmentRespPacket
CigiCreateCollisionVolumeRespPacket
|
Removed the following functions.
CigiPrintCollDetDefinitionPacket
CigiPrintCollDetDefinitionPacket_V1
CigiPrintVolumeCollDetDefPacket
CigiPrintColResponsePacket
CigiPrintColResponsePacket_V1
CigiPrintVolumeCollDetResponsePacket
Each of the functions removed above were renamed to the function name in the following list (in order).
CigiPrintCollisionDetSegmentDefPacket
CigiPrintCollisionDetSegmentDefPacket_V1
CigiPrintCollisionDetVolumeDefPacket
CigiPrintCollisionSegmentRespPacket
CigiPrintCollisionSegmentRespPacket_V1
CigiPrintCollisionVolumeRespPacket
|
cigi_compatibility.h |
Added each of the preprocessor definitions and old packet names that were remoed from
the cigi_icd.h file, and each of the old function names from the
API that were changed.
|
Mar 29, 2002 |
James Durtschy |
cigi_api.h cigi_api.c |
Moved the following function prototypes to the cigi_api.h file in order to make them
available outside of the cigi_api.c source file. These are now categorized as utility
functions in the CIGI API.
CigiSwap2
CigiSwap4
CigiSwap8
Moved the following macro definitions to the cigi_api.h file in order to make them
available outside of the cigi_api.c source file.
CigiCopy1
CigiCopy2
CigiCopy4
CigiCopy8
|
Mar 21, 2002 |
James Durtschy |
cigi_version.h |
Added the file containing preprocessor definitions for selecting packets from CIGI version 1 instead
of the current version implemented by the API. The preprocessor definition CIGI_VERSION_1 is
used to select packets from version 1. |
cigi_icd.h |
Changed the name of the CIGI_COL_RESPONSE packet to
CIGI_COLL_RESPONSE
Changed each of the #define statements for the CIGI_COLL_RESPONSE
packet to use COLL instead of COL as the abbreviation.
|
Changed the #define statement from ENTITY_INDEPENDANT to
ENTITY_INDEPENDENT
for the CIGI_ENTITY_CONTROL packet.
|
Changed the #define statement from HAT_RESPONCE_INVALID to
HAT_RESPONCE_INVALID
and changed the #define statement from HAT_RESPONCE_VALID to
HAT_RESPONSE_VALID
for the CIGI_HAT_RESPONSE packet.
|
cigi_helper.h |
Changed the name of the CigiCreateHotRespPacket function to
CigiCreateHotResponsePacket
|
Changed the name of the CigiPrintHotRespPacket function to
CigiPrintHotResponsePacket
|
Changed the name of the CigiCreateVolumeCollDetRespPacket function to
CigiCreateVolumeCollDetResponsePacket
|
Changed the name of the CigiPrintVolumeCollDetRespPacket function to
CigiPrintVolumeCollDetResponsePacket
|
cigi_api.h |
Fixed the name of the CIGI_ERROR_MISSING_SOF_PACKET error code from CIGI_ERROR_MISSING_SOF_PACEKT .
|
cigi_api.h cigi_api.c |
Added the following function for use with the CIGI_IG_RESPONSE_MESSAGE paket.
CigiSetIGResponseString
|
Added the following functions for use with the CIGI_USER_DATA_PACKET paket.
CigiSetUserDefinablePacketData
CigiClearUserDefinablePacketData
|
Mar 14, 2002 |
James Durtschy |
cigi_version.h |
Added the file containing preprocessor definitions for selecting packets from CIGI version 1 instead
of the current version implemented by the API. The preprocessor definition CIGI_VERSION_1 is
used to select packets from version 1. |
cigi_icd.h |
Added the following CIGI packets to the interface.
CIGI_HOT_REQUEST
CIGI_HOT_RESPONSE
CIGI_IG_RESPONSE_MESSAGE
CIGI_USER_DATA_PACKET
CIGI_VOLUME_COLL_DET_DEFINITION
CIGI_VOLUME_COLL_DET_RESPONSE
|
cigi_icd.h |
Updated the following packets definitions to comply with CIGI version 2.
CIGI_IG_CONTROL
CIGI_ENTITY_CONTROL
CIGI_COMPONENT_CONTROL
CIGI_ENVIRONMENT_CONTROL
CIGI_WEATHER_CONTROL
CIGI_VIEW_CONTROL
CIGI_TRAJECTORY_DEFINITION
CIGI_VIEW_DEFINITION
CIGI_COLL_DET_DEFINITION
CIGI_HAT_REQUEST
CIGI_LOS_OCCULT_REQUEST
CIGI_LOS_RANGE_REQUEST
CIGI_START_OF_FRAME
CIGI_HAT_RESPONSE
CIGI_LOS_RESPONSE
CIGI_COL_RESPONSE
Created the following types for compliance with packets defined in CIGI version 1.
CIGI_IG_CONTROL_V1
CIGI_ENTITY_CONTROL_V1
CIGI_COMPONENT_CONTROL_V1
CIGI_ENVIRONMENT_CONTROL_V1
CIGI_WEATHER_CONTROL_V1
CIGI_VIEW_CONTROL_V1
CIGI_TRAJECTORY_DEFINITION_V1
CIGI_VIEW_DEFINITION_V1
CIGI_COLL_DET_DEFINITION_V1
CIGI_HAT_REQUEST_V1
CIGI_LOS_OCCULT_REQUEST_V1
CIGI_LOS_RANGE_REQUEST_V1
CIGI_START_OF_FRAME_V1
CIGI_HAT_RESPONSE_V1
CIGI_LOS_RESPONSE_V1
CIGI_COL_RESPONSE_V1
|
cigi_api.h cigi_api.c |
Introduced the follwing add packet functions to the API.
CigiAddPacketHotReq
CigiAddPacketVolumeCollDetDef
CigiAddPacketHotResp
CigiAddPacketIGResponseMessage
CigiAddPacketUserData
CigiAddPacketVolumeCollDetResp
Implemented the little endian versions in the following functions.
CigiAddPacketHotReqLE
CigiAddPacketVolumeCollDetDefLE
CigiAddPacketHotRespLE
CigiAddPacketIGResponseMessageLE
CigiAddPacketVolumeCollDetRespLE
Added the following swap routines for the functions added.
CigiSwapPacketHotReq
CigiSwapPacketHotResp
CigiSwapPacketIGResponseMessage
CigiSwapPacketVolumeCollDetDef
CigiSwapPacketVolumeCollDetResp
|
cigi_api.c |
Updated the byte-swapping routines for use with the packet definitions in the CIGI version 2.
CigiSwapPacketIGCtrl
CigiSwapPacketEntityCtrl
CigiSwapPacketComponentCtrl
CigiSwapPacketEnvCtrl
CigiSwapPacketWeatherCtrl
CigiSwapPacketViewCtrl
CigiSwapPacketTrajectoryDef
CigiSwapPacketViewDef
CigiSwapPacketCollisionDetDef
CigiSwapPacketHatReq
CigiSwapPacketLosOccultReq
CigiSwapPacketLosRangeReq
CigiSwapPacketSof
CigiSwapPacketHatResp
CigiSwapPacketLosResp
CigiSwapPacketColResp
Created versions of the byte-swapping routines for use with CIGI packets defined in version 1.
CigiSwapPacketIGCtrl_V1
CigiSwapPacketEntityCtrl_V1
CigiSwapPacketComponentCtrl_V1
CigiSwapPacketEnvCtrl_V1
CigiSwapPacketWeatherCtrl_V1
CigiSwapPacketViewCtrl_V1
CigiSwapPacketTrajectoryDef_V1
CigiSwapPacketViewDef_V1
CigiSwapPacketCollisionDetDef_V1
CigiSwapPacketHatReq_V1
CigiSwapPacketLosOccultReq_V1
CigiSwapPacketLosRangeReq_V1
CigiSwapPacketSof_V1
CigiSwapPacketHatResp_V1
CigiSwapPacketLosResp_V1
CigiSwapPacketColResp_V1
Added the preprocessor directives for determining which version of the swap routines are used. The
version 1 routines are used instead if CIGI_VERSION_1 is defined.
|
cigi_helper.h cigi_helper.c |
Added the following CigiCreate XXXPacket() functions.
CigiCreateHotReqPacket
CigiCreateHotRespPacket
CigiCreateIGResponseMessagePacket
CigiCreateVolumeCollDetDefPacket
CigiCreateVolumeCollDetRespPacket
Added the following CigiPrint XXXPacket() functions.
CigiPrintHotReqPacket
CigiPrintHotRespPacket
CigiPrintIGResponseMessagePacket
CigiPrintVolumeCollDetDefPacket
CigiPrintVolumeCollDetRespPacket
|
cigi_helper.h cigi_helper.c |
Updated the following CigiPrint XXXPacket() functions for use with the packet definitions in the CIGI version 2.
CigiPrintIGControlPacket
CigiPrintEntityControlPacket
CigiPrintComponentControlPacket
CigiPrintEnvironmentControlPacket
CigiPrintWeatherControlPacket
CigiPrintViewControlPacket
CigiPrintTrajectoryDefinitionPacket
CigiPrintViewDefinitionPacket
CigiPrintCollDetDefinitionPacket
CigiPrintHatRequestPacket
CigiPrintLosOccultRequestPacket
CigiPrintLosRangeRequestPacket
CigiPrintStartOfFramePacket
CigiPrintHatResponsePacket
CigiPrintLosResponsePacket
CigiPrintColResponsePacket
Created versions of the CigiPrint XXXPacket() functions for use with CIGI packets defined in version 1.
CigiPrintIGControlPacket_V1
CigiPrintEntityControlPacket_V1
CigiPrintComponentControlPacket_V1
CigiPrintEnvironmentControlPacket_V1
CigiPrintWeatherControlPacket_V1
CigiPrintViewControlPacket_V1
CigiPrintTrajectoryDefinitionPacket_V1
CigiPrintViewDefinitionPacket_V1
CigiPrintCollDetDefinitionPacket_V1
CigiPrintHatRequestPacket_V1
CigiPrintLosOccultRequestPacket_V1
CigiPrintLosRangeRequestPacket_V1
CigiPrintStartOfFramePacket_V1
CigiPrintHatResponsePacket_V1
CigiPrintLosResponsePacket_V1
CigiPrintColResponsePacket_V1
|
cigi_icd.h |
Added the CIGI_MAX_PACKET_SIZE constant for packets which are not fixed in size.
Updated the CIGI_VERSION preprocessor definition to indicate that version 2 of the
CIGI is used (by default).
|
cigi_api.h |
Added the following error codes.
CIGI_ERROR_NOT_IMPLEMENTED
CIGI_ERROR_PACKET_TOO_LARGE
|