Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Main loop for the filter #9

Open
HandsomeDragon3 opened this issue Jun 26, 2019 · 0 comments
Open

Main loop for the filter #9

HandsomeDragon3 opened this issue Jun 26, 2019 · 0 comments

Comments

@HandsomeDragon3
Copy link

As a function is written as:

void GpsIns::loop()
{
//m.lock();
std::lock_guardstd::mutex lock(m);
set_data();
filter->process(*_sensor_data);
_prev_gps_counter = _gpscounter;
//m.unlock();
}

The function above is being introduced as "Main loop for the filter". I am confused about the functions:read_gps_data, read_imu_data, read_encoders seem not working here ,and some counters are forgot to plus "1". Is there some work should be done by ourselves and you simplify the main loop here? Thanks, just too confused.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant