fixed timedelay for publishing structure when bigger time delays than queue allows for
This commit is contained in:
@ -405,12 +405,19 @@ void MsckfVio::imageCallback(
|
||||
const sensor_msgs::ImageConstPtr& cam1_img,
|
||||
const CameraMeasurementConstPtr& feature_msg)
|
||||
{
|
||||
// Return if the gravity vector has not been set.
|
||||
if (!is_gravity_set) return;
|
||||
|
||||
// stop playing bagfile if printing images
|
||||
cout << "hello" << endl;
|
||||
// stop playing bagfile if printing images
|
||||
if(STREAMPAUSE)
|
||||
nh.setParam("/play_bag", false);
|
||||
// Return if the gravity vector has not been set.
|
||||
if (!is_gravity_set)
|
||||
{
|
||||
if(STREAMPAUSE)
|
||||
nh.setParam("/play_bag", true);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
|
||||
// Start the system if the first image is received.
|
||||
// The frame where the first image is received will be
|
||||
|
Reference in New Issue
Block a user