SelfSync

Segment lap message

A segment lap message holds the statistics of a segment raced during an activity, like a lap message but for the portion of the activity covering the segment.

FIT name
segment_lap
Global message number
142
JavaScript SDK key
segmentLapMesgs
Fields
98

Fields

  • Index of the message among the messages of the same kind in the file, starting at 0. Other messages use it to reference this one.

  • timestampDateTimes

    Moment the segment ended, in UTC.

  • eventEnum

    Kind of event: timer, lap, session, activity, workout step, course point, battery, gear change, rider position change…

    46 possible values
    • length
    • session
    • activity
    • workout
    • lap
    • workoutStep
    • coursePoint
    • battery
    • fitnessEquipment
    • timer
    • powerDown
    • powerUp
    • offCourse
    • virtualPartnerPace
    • hrHighAlert
    • hrLowAlert
    • speedHighAlert
    • speedLowAlert
    • cadHighAlert
    • cadLowAlert
    • powerHighAlert
    • powerLowAlert
    • recoveryHr
    • batteryLow
    • timeDurationAlert
    • distanceDurationAlert
    • calorieDurationAlert
    • userMarker
    • sportPoint
    • calibration
    • frontGearChange
    • rearGearChange
    • riderPositionChange
    • elevHighAlert
    • elevLowAlert
    • commTimeout
    • autoActivityDetect
    • diveAlert
    • diveGasSwitched
    • tankPressureReserve
    • tankPressureCritical
    • tankLost
    • radarThreatAlert
    • tankBatteryLow
    • tankPodConnected
    • tankPodDisconnected
  • What happened for the event: start, stop, stopAll, marker, begin or end of a depreciated range…

    10 possible values
    • stop
    • start
    • marker
    • consecutiveDepreciated
    • stopAll
    • beginDepreciated
    • endDepreciated
    • endAllDepreciated
    • stopDisable
    • stopDisableAll
  • startTimeDateTime

    Moment the period described by the message started.

  • startPositionLatSint32semicircles

    Latitude where the period started, in semicircles (multiply by 180 / 2^31 to get degrees).

  • startPositionLongSint32semicircles

    Longitude where the period started, in semicircles (multiply by 180 / 2^31 to get degrees).

  • endPositionLatSint32semicircles

    Latitude where the period ended, in semicircles (multiply by 180 / 2^31 to get degrees).

  • endPositionLongSint32semicircles

    Longitude where the period ended, in semicircles (multiply by 180 / 2^31 to get degrees).

  • Total duration from start to end, pauses included (wall-clock time).

  • Duration during which the timer was running, pauses excluded. This is the time usually displayed as the duration.

  • Total distance covered.

  • totalCyclesUint32cycles

    Total number of cycles: pedal revolutions, strides or strokes depending on the sport.

  • totalStrokesUint32strokes

    Total number of strokes (swimming, paddling, rowing).

  • totalCaloriesUint16kcal

    Total energy expenditure.

  • Share of the total calories coming from fat.

  • avgSpeedFloat64m/s

    Average speed: total distance divided by timer time.

  • maxSpeedFloat64m/s

    Maximum speed reached.

  • avgHeartRateUint8bpm

    Average heart rate, pauses excluded.

  • maxHeartRateUint8bpm

    Maximum heart rate reached.

  • avgCadenceUint8rpm

    Average cadence: revolutions per minute for cycling, steps per minute for running (depending on the sport).

  • maxCadenceUint8rpm

    Maximum cadence reached.

  • avgPowerUint16watts

    Average power output.

  • maxPowerUint16watts

    Maximum power output.

  • Cumulated elevation gain.

  • Cumulated elevation loss.

  • sportEnum

    Main sport, such as running, cycling, swimming, hiking or training.

    82 possible values
    • all
    • running
    • transition
    • generic
    • cycling
    • fitnessEquipment
    • swimming
    • basketball
    • soccer
    • tennis
    • americanFootball
    • training
    • walking
    • crossCountrySkiing
    • alpineSkiing
    • snowboarding
    • rowing
    • mountaineering
    • hiking
    • multisport
    • paddling
    • flying
    • eBiking
    • motorcycling
    • boating
    • driving
    • golf
    • hangGliding
    • horsebackRiding
    • hunting
    • fishing
    • inlineSkating
    • rockClimbing
    • sailing
    • iceSkating
    • skyDiving
    • snowshoeing
    • snowmobiling
    • standUpPaddleboarding
    • surfing
    • wakeboarding
    • waterSkiing
    • kayaking
    • rafting
    • windsurfing
    • kitesurfing
    • tactical
    • jumpmaster
    • boxing
    • floorClimbing
    • baseball
    • diving
    • shooting
    • winterSport
    • grinding
    • hiit
    • videoGaming
    • racket
    • wheelchairPushWalk
    • wheelchairPushRun
    • meditation
    • paraSport
    • discGolf
    • teamSport
    • cricket
    • rugby
    • hockey
    • lacrosse
    • volleyball
    • waterTubing
    • wakesurfing
    • waterSport
    • archery
    • mixedMartialArts
    • motorSports
    • snorkeling
    • dance
    • jumpRope
    • poolApnea
    • mobility
    • geocaching
    • canoeing
  • Groups related events together, so that start and stop events of the same group can be paired.

  • necLatSint32semicircles

    Latitude of the north-east corner of the bounding box containing the track, in semicircles.

  • necLongSint32semicircles

    Longitude of the north-east corner of the bounding box containing the track, in semicircles.

  • swcLatSint32semicircles

    Latitude of the south-west corner of the bounding box containing the track, in semicircles.

  • swcLongSint32semicircles

    Longitude of the south-west corner of the bounding box containing the track, in semicircles.

  • nameString

    Name of the segment.

  • normalizedPowerUint16watts

    Normalized power (NP): an estimate of the power that could have been sustained for the same physiological cost if the effort had been perfectly steady.

  • Power contribution of the right leg, when the right bit is set, as a percentage of the total. The left leg makes up the rest.

    2 possible values
    • right
    • mask
  • Refinement of the sport, such as trail, treadmill or track for running, road, mountain or indoor for cycling, lapSwimming or openWater for swimming.

    112 possible values
    • match
    • map
    • platform
    • all
    • track
    • navigate
    • field
    • generic
    • hiit
    • treadmill
    • street
    • trail
    • spin
    • indoorCycling
    • road
    • mountain
    • downhill
    • recumbent
    • cyclocross
    • handCycling
    • trackCycling
    • indoorRowing
    • elliptical
    • stairClimbing
    • lapSwimming
    • openWater
    • flexibilityTraining
    • strengthTraining
    • warmUp
    • exercise
    • challenge
    • indoorSkiing
    • cardioTraining
    • indoorWalking
    • eBikeFitness
    • bmx
    • casualWalking
    • speedWalking
    • bikeToRunTransition
    • runToBikeTransition
    • swimToBikeTransition
    • atv
    • motocross
    • backcountry
    • resort
    • rcDrone
    • wingsuit
    • whitewater
    • skateSkiing
    • yoga
    • pilates
    • indoorRunning
    • gravelCycling
    • eBikeMountain
    • commuting
    • mixedSurface
    • trackMe
    • singleGasDiving
    • multiGasDiving
    • gaugeDiving
    • apneaDiving
    • apneaHunting
    • virtualActivity
    • obstacle
    • breathing
    • ccrDiving
    • sailRace
    • expedition
    • ultra
    • indoorClimbing
    • bouldering
    • indoorGrinding
    • huntingWithDogs
    • amrap
    • emom
    • tabata
    • esport
    • triathlon
    • duathlon
    • brick
    • swimRun
    • adventureRace
    • truckerWorkout
    • pickleball
    • padel
    • indoorWheelchairWalk
    • indoorWheelchairRun
    • indoorHandCycling
    • ice
    • ultimate
    • squash
    • badminton
    • racquetball
    • tableTennis
    • overland
    • trollingMotor
    • flyCanopy
    • flyParaglide
    • flyParamotor
    • flyPressurized
    • flyNavigate
    • flyTimer
    • flyAltimeter
    • flyWx
    • flyVfr
    • flyIfr
    • dynamicApnea
    • enduro
    • rucking
    • rally
    • poolTriathlon
    • eBikeEnduro
  • totalWorkUint32J

    Total mechanical work produced.

  • Average altitude.

  • Highest altitude reached.

  • Estimated accuracy of the GPS position.

  • avgGradeFloat64%

    Average slope.

  • avgPosGradeFloat64%

    Average slope while climbing.

  • avgNegGradeFloat64%

    Average slope while descending.

  • maxPosGradeFloat64%

    Steepest uphill slope.

  • maxNegGradeFloat64%

    Steepest downhill slope.

  • Average ambient temperature measured by the device.

  • Highest ambient temperature measured by the device.

  • Time spent actually moving, excluding the time stopped even when the timer was running.

  • Average vertical speed while climbing.

  • Average vertical speed while descending.

  • Maximum vertical speed while climbing.

  • Maximum vertical speed while descending.

  • timeInHrZoneFloat64[]s

    Time spent in each heart rate zone. The first element is the time below zone 1, then zone 1, zone 2 and so on.

  • timeInSpeedZoneFloat64[]s

    Time spent in each speed zone.

  • Time spent in each cadence zone.

  • timeInPowerZoneFloat64[]s

    Time spent in each power zone. The first element is the time below zone 1, then zone 1, zone 2 and so on.

  • Repetition number, when the lap is part of a repeated workout step.

  • Lowest altitude reached.

  • minHeartRateUint8bpm

    Minimum heart rate recorded.

  • activeTimeFloat64s

    Time spent actually moving or working, excluding rest periods and pauses.

  • messageIndex of the workout step the data belongs to, in the workout file.

  • Kind of sport event: training, race, recreation, fitness…

    9 possible values
    • training
    • geocaching
    • uncategorized
    • fitness
    • recreation
    • race
    • specialEvent
    • transportation
    • touring
  • Average torque effectiveness of the left leg: share of the pedal stroke producing positive power.

  • Average torque effectiveness of the right leg: share of the pedal stroke producing positive power.

  • Average pedal smoothness of the left leg: how evenly power is applied across the stroke.

  • Average pedal smoothness of the right leg: how evenly power is applied across the stroke.

  • Average pedal smoothness of both legs combined, for single-sided power meters.

  • statusEnum

    Whether the segment was completed (end) or abandoned (fail).

    2 possible values
    • end
    • fail
  • uuidString

    Universally unique identifier of the segment.

  • Fractional part of avgCadence, to add to it for a more precise value.

  • Fractional part of maxCadence, to add to it for a more precise value.

  • Fractional part of totalCycles, to add to it for a more precise value.

  • Number of front derailleur shifts (electronic groupsets).

  • Number of rear derailleur shifts (electronic groupsets).

  • timeStandingFloat64s

    Total time spent standing on the pedals.

  • Number of times the rider moved from seated to standing.

  • avgLeftPcoSint8mm

    Average platform center offset of the left foot: how far from the center of the pedal the force is applied.

  • Average platform center offset of the right foot: how far from the center of the pedal the force is applied.

  • avgLeftPowerPhaseFloat64[]degrees

    Average start and end angles of the left pedal stroke portion producing positive power.

  • avgLeftPowerPhasePeakFloat64[]degrees

    Average start and end angles of the left pedal stroke portion producing peak power.

  • avgRightPowerPhaseFloat64[]degrees

    Average start and end angles of the right pedal stroke portion producing positive power.

  • avgRightPowerPhasePeakFloat64[]degrees

    Average start and end angles of the right pedal stroke portion producing peak power.

  • avgPowerPositionUint16[]watts

    Average power for each rider position (seated, standing).

  • maxPowerPositionUint16[]watts

    Maximum power for each rider position (seated, standing).

  • Average cadence for each rider position (seated, standing).

  • Maximum cadence for each rider position (seated, standing).

  • Manufacturer of the segment.

    247 possible values
    • form
    • garmin
    • garminFr405Antfs
    • zephyr
    • dayton
    • idt
    • srm
    • quarq
    • ibike
    • saris
    • sparkHk
    • tanita
    • echowell
    • dynastreamOem
    • nautilus
    • dynastream
    • timex
    • metrigear
    • xelic
    • beurer
    • cardiosport
    • aAndD
    • hmm
    • suunto
    • thitaElektronik
    • gpulse
    • cleanMobile
    • pedalBrain
    • peaksware
    • saxonar
    • lemondFitness
    • dexcom
    • wahooFitness
    • octaneFitness
    • archinoetics
    • theHurtBox
    • citizenSystems
    • magellan
    • osynce
    • holux
    • concept2
    • shimano
    • oneGiantLeap
    • aceSensor
    • brimBrothers
    • xplova
    • perceptionDigital
    • bf1systems
    • pioneer
    • spantec
    • metalogics
    • 4iiiis
    • seikoEpson
    • seikoEpsonOem
    • iforPowell
    • maxwellGuider
    • starTrac
    • breakaway
    • alatechTechnologyLtd
    • mioTechnologyEurope
    • rotor
    • geonaute
    • idBike
    • specialized
    • wtek
    • physicalEnterprises
    • northPoleEngineering
    • bkool
    • cateye
    • stagesCycling
    • sigmasport
    • tomtom
    • peripedal
    • wattbike
    • moxy
    • ciclosport
    • powerbahn
    • acornProjectsAps
    • lifebeam
    • bontrager
    • wellgo
    • scosche
    • magura
    • woodway
    • elite
    • nielsenKellerman
    • dkCity
    • tacx
    • directionTechnology
    • magtonic
    • 1partcarbon
    • insideRideTechnologies
    • soundOfMotion
    • stryd
    • icg
    • miPulse
    • bsxAthletics
    • look
    • campagnoloSrl
    • bodyBikeSmart
    • praxisworks
    • limitsTechnology
    • topactionTechnology
    • cosinuss
    • fitcare
    • magene
    • giantManufacturingCo
    • tigrasport
    • salutron
    • technogym
    • brytonSensors
    • latitudeLimited
    • soaringTechnology
    • igpsport
    • thinkrider
    • gopherSport
    • waterrower
    • orangetheory
    • inpeak
    • kinetic
    • johnsonHealthTech
    • polarElectro
    • seesense
    • nciTechnology
    • iqsquare
    • leomo
    • ifitCom
    • corosByte
    • versaDesign
    • chileaf
    • cycplus
    • gravaaByte
    • sigeyi
    • coospo
    • geoid
    • bosch
    • kyto
    • kineticSports
    • decathlonByte
    • tqSystems
    • tagHeuer
    • keiserFitness
    • zwiftByte
    • porscheEp
    • blackbird
    • meilanByte
    • ezon
    • laisi
    • myzone
    • abawo
    • bafang
    • luhongTechnology
    • development
    • healthandlife
    • lezyne
    • scribeLabs
    • zwift
    • watteam
    • recon
    • faveroElectronics
    • dynovelo
    • strava
    • precor
    • bryton
    • sram
    • navman
    • cobi
    • spivi
    • mioMagellan
    • evesports
    • sensitivusGauge
    • podoon
    • lifeTimeFitness
    • falcoEMotors
    • minoura
    • cycliq
    • luxottica
    • trainerRoad
    • theSufferfest
    • fullspeedahead
    • virtualtraining
    • feedbacksports
    • omata
    • vdo
    • magneticdays
    • hammerhead
    • kineticByKurt
    • shapelog
    • dabuziduo
    • jetblack
    • coros
    • virtugo
    • velosense
    • cycligentinc
    • trailforks
    • mahleEbikemotion
    • nurvv
    • microprogram
    • zone5cloud
    • greenteg
    • yamahaMotors
    • whoop
    • gravaa
    • onelap
    • monarkExercise
    • decathlon
    • syncros
    • heatup
    • cannondale
    • trueFitness
    • rGTCycling
    • vasa
    • raceRepublic
    • fazua
    • orekaTraining
    • lsec
    • lululemonStudio
    • shanyue
    • spinningMda
    • hilldating
    • aeroSensor
    • nike
    • magicshine
    • ictrainer
    • absoluteCycling
    • eoSwimbetter
    • mywhoosh
    • ravemen
    • tektroRacingProducts
    • daradInnovationCorporation
    • cycloptim
    • runna
    • zepp
    • peloton
    • carv
    • tissot
    • realVelo
    • wetech
    • jespr
    • huawei
    • gotoes
    • cadenceApp
    • unaWatch
    • tymewear
    • exposureLights
    • fortoCycling
    • actigraphcorp
  • totalGritFloat32kGrit

    Grit score: how difficult the trail was, based on its slopes and sharp turns. The higher, the harder.

  • totalFlowFloat32Flow

    Flow score: how smoothly the rider kept their momentum through the trail. The lower, the smoother.

  • avgGritFloat32kGrit

    Average grit score: difficulty of the trail per unit of distance.

  • avgFlowFloat32Flow

    Average flow score: how smoothly the rider kept their momentum.

  • Calories burned by the metabolism at rest during the period (basal metabolic rate), included in the total.

  • Fractional part of totalAscent, to add to it for a more precise value.

  • Fractional part of totalDescent, to add to it for a more precise value.

  • Average altitude, with a larger range than avgAltitude. Prefer it when present.

  • Highest altitude, with a larger range than maxAltitude. Prefer it when present.

  • Lowest altitude, with a larger range than minAltitude. Prefer it when present.

  • mesgNumString

    Global message number identifying the kind of message. Decoders use it to know which profile to apply to the data.

Other courses, segments and workouts messages

See all the FIT messages