Skip to content

Barometer Initialization Crashes Serpent #1

@nashj

Description

@nashj

Running serpent with barometer factors enabled crashes the system on the first LIDAR callback in frontend.cpp.

The following lines cause the crash:

// Save timestamp for barometer interpolation
if (barometer_enabled) {
std::lock_guard<std::mutex> guard{barometer_data_mutex};
barometer_timestamp_buffer.push_back(new_state_time);
barometer_try_publish();
}

Likely an issue with how the mutex is being used.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions