Skip to content

Commit

Permalink
Add GetSource to get rosbag.source
Browse files Browse the repository at this point in the history
  • Loading branch information
laurikoobas committed Feb 12, 2020
1 parent 1969352 commit 6fb4dec
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,5 @@ require (
go.uber.org/multierr v1.1.0 // indirect
go.uber.org/zap v1.9.1
)

go 1.13
5 changes: 5 additions & 0 deletions rosbag/rosbag_functions.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ func (r *RosBag) SetSource(source string) {
r.source = source
}

// GetSource get's name for the source
func (r *RosBag) GetSource() string {
return r.source
}

// DumpChunkInfo dumps all messages with related data for debuging
func (r *RosBag) DumpChunkInfo(filename string) error {
// For every chunk
Expand Down

0 comments on commit 6fb4dec

Please sign in to comment.