Skip to content


Browse files Browse the repository at this point in the history
* fixed bug #812: PCDGrabberBase::isRunning can't tell if the playbac…
…k has stopped (thanks Hannu!)

git-svn-id: svn+ssh:// a9d63959-f2ad-4865-b262-bf0e56cfafb6
  • Loading branch information
rbrusu committed Sep 9, 2012
1 parent da5b94c commit e03532a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions io/include/pcl/io/pcd_grabber.h
Expand Up @@ -105,8 +105,8 @@ namespace pcl
virtual void
trigger ();

/** \brief whether the grabber is started (publishing) or not.
* \return true only if publishing.
/** \brief Indicates whether the grabber is streaming or not.
* \return true if grabber is started and hasn't run out of PCD files.
virtual bool
isRunning () const;
Expand Down
2 changes: 1 addition & 1 deletion io/src/pcd_grabber.cpp
Expand Up @@ -318,7 +318,7 @@ pcl::PCDGrabberBase::trigger ()
pcl::PCDGrabberBase::isRunning () const
return (impl_->running_);
return (impl_->running_ && (impl_->pcd_iterator_ != impl_->pcd_files_.end()));

Expand Down

1 comment on commit e03532a

Copy link

@dancek dancek commented on e03532a Oct 27, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For future reference, I'd like to just note that I sent this patch. :)

Please sign in to comment.