Changeset 371 in pacpusframework


Ignore:
Timestamp:
Oct 28, 2016, 2:47:04 PM (8 years ago)
Author:
DHERBOMEZ Gérald
Message:

modification of the structure_gps.h file: add structure for spanpvaxa frame (Novatel Span CPT)

Location:
branches/0.2.x
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/0.2.x/include/Pacpus/structures/structure_gps.h

    r362 r371  
     1
     2
    13// donnees NMEA emises par l'ag132 sur la liaison serie
    24// revision le 23/08/2004 PhB et GD : trame_gga_dbl
     
    68#define STRUCTURE_GPS_H
    79
     10#include <QString>
    811#include "Pacpus/kernel/road_time.h"
     12
     13#define TRAME_CORRIMUDATAA 625 // TODO : Add in kernel enum SpanCptType
     14#define TRAME_INSPVAXA 626 // TODO : Add in kernel enum SpanCptType
    915
    1016/// POSITION WGS84
     
    324330    NARROW_INT = 50,
    325331    RTK_DIRECT_INS = 51,
    326     INS = 52,
    327     INS_PSRSP =53,
    328     INS_PSRDIFF =54,
     332    INS_SBAS = 52,
     333    INS_PSRSP = 53,
     334    INS_PSRDIFF = 54,
    329335    INS_RTKFLOAT = 55,
    330336    INS_RTKFIXED = 56,
     
    334340    OMNISTAR_HP = 64,
    335341    OMNISTAR_XP = 65,
    336     CDGPS = 66
     342        CDGPS = 66
     343    PPP_CONVERGING = 68,
     344    PPP = 69,
     345    INS_PPP_Converging = 73,
     346    INS_PPP = 74
    337347};
    338348
     
    413423} trame_inscov;
    414424
     425/// TRAME CORRIMUDATAA
     426typedef struct
     427{
     428    uint32_t Week;
     429    double        Seconds;
     430    double        PitchRate;
     431    double        RollRate;
     432    double        YawRate;
     433    double        LateralAcc;
     434    double        LongitudinalAcc;
     435    double        VerticalAcc;
     436} trame_corrimudataa;
     437
     438/// TRAME INSPVAXA
     439typedef struct
     440{
     441    QString     Status;
     442    QString     posType;
     443    double      Lat;
     444    double      Lon;
     445    double      Hgt;
     446    float       Undulation;
     447    double      NorthVel;
     448    double      EastVel;
     449    double      UpVel;
     450    double      Roll;
     451    double      Pitch;
     452    double      Azimuth;
     453    float       LatSd;
     454    float       LonSd;
     455    float       HgtSd;
     456    float       NorthVelSd;
     457    float       EastVelSd;
     458    float       UpVelSd;
     459    float       RollSd;
     460    float       PitchSd;
     461    float       AzimuthSd;
     462} trame_inspvaxa;
     463
    415464/// trame_bestgpsposa structure with timestamping
    416465struct TimestampedBestgpsposaFrame
     
    445494};
    446495
     496/// trame_corrimudataa structure with timestamping
     497struct TimestampedCorrimudataaFrame
     498{
     499    trame_corrimudataa frame;
     500    road_time_t time;
     501    road_timerange_t timerange;
     502};
     503
     504/// trame_inspvaxa structure with timestamping
     505struct TimestampedInspvaxaFrame
     506{
     507    trame_inspvaxa frame;
     508    road_time_t time;
     509    road_timerange_t timerange;
     510};
     511
    447512/// trame_gga structure with timestamping
    448513struct TimestampedGgaFrame
  • branches/0.2.x/src/CMakeLists.txt

    r345 r371  
    1919add_subdirectory(DBITEPlayer)
    2020add_subdirectory(PacpusSensor)
    21 #add_subdirectory(dbcDecriptor)
     21add_subdirectory(dbcDecriptor)
  • branches/0.2.x/src/dbcDecriptor/CMakeLists.txt

    r370 r371  
    1515
    1616# ========================================
    17 # Pre-configuration of the compiler
     17# Include directories
    1818# ========================================
    19 find_package(Pacpus REQUIRED)
    20 # Includes directories
    21 if(PACPUS_FOUND)
    2219include_directories(
    23   ${PACPUS_DEPENDENCIES_INC}
    24   ${PACPUS_INCLUDE_DIR}
     20    ${CMAKE_BINARY_DIR}/DBITEPlayer
     21    ${QT_INCLUDE_DIR}
    2522)
    2623# Compiler flags coming from PacpusDependencies and PacpusPlatforms
     
    2926
    3027# ========================================
    31 # Include directories
     28# Link directories
    3229# ========================================
    33 include_directories(
    34     ${CMAKE_BINARY_DIR}/DBITEPlayer
    35     ${QT_INCLUDE_DIR}
     30link_directories(
     31    ${PROJECT_BINARY_DIR}/../PacpusLib
     32    ${PROJECT_BINARY_DIR}/../FileLib
     33    ${PROJECT_BINARY_DIR}/../DBITEPlayerLib
     34        ${PROJECT_BINARY_DIR}/../PacpusTools
     35        ${PROJECT_BINARY_DIR}/../RoadTime
    3636)
    3737
     
    5858    src/mainwindow.h
    5959    src/structure.h
    60     #../ico/heudiasycIco.rc
     60    ../ico/heudiasycIco.rc
    6161)
    6262
Note: See TracChangeset for help on using the changeset viewer.