Skip to content

Instantly share code, notes, and snippets.

Message statistics
| Start | End | Volume | MessageCount | Frequency |
|---------------------------|---------------------------|----------|----------------|-----------------------|
| 2016-11-18T15:46:00-08:00 | 2016-11-18T15:47:00-08:00 | 2 MB | 19876 | 331.26666666666665 Hz |
| 2016-11-18T15:47:00-08:00 | 2016-11-18T15:48:00-08:00 | 2 MB | 24000 | 400 Hz |
| 2016-11-18T15:48:00-08:00 | 2016-11-18T15:49:00-08:00 | 2 MB | 24000 | 400 Hz |
| 2016-11-18T15:49:00-08:00 | 2016-11-18T15:50:00-08:00 | 2 MB | 24000 | 400 Hz |
| 2016-11-18T15:50:00-08:00 | 2016-11-18T15:51:00-08:00 | 2 MB | 24000 | 400 Hz |
| 2016-11-18T15:51:00-08:00 | 2016-11-18T15:52:00-08:00 | 1 MB | 10362 | 172.7 Hz |
# The desired heading in radians
float32 theta
---
# The angular displacement in radians to the starting position
float32 delta
---
# The remaining rotation in radians
float32 remaining

Foxglove CLI

The foxglove CLI tool enables command line interaction with remotely stored data in Foxglove Data Platform.

The tool is currently in development and lacks a packaging pipeline. To get started, install using go:

go get github.com/foxglove/foxglove-cli/foxglove

Foxglove CLI

The foxglove CLI tool enables command line interaction with remotely stored data in Foxglove Data Platform.

The tool is currently in development and lacks a packaging pipeline. To get started, install using go:

go get github.com/foxglove/foxglove-cli/foxglove

Foxglove CLI

The foxglove CLI tool enables command line interaction with remotely stored data in Foxglove Data Platform.

The tool is currently in development and lacks a packaging pipeline. To get started, install using go:

go get github.com/foxglove/foxglove-cli/foxglove

Foxglove CLI

The foxglove CLI tool enables command line interaction with remotely stored data in Foxglove Data Platform.

The tool is currently in development and lacks a packaging pipeline. To get started, install using go:

go get github.com/foxglove/foxglove-cli/foxglove
#!/bin/env python3
import rosbag
import sys
_, inputfile, outputfile = sys.argv
bag = rosbag.Bag(inputfile)
message_count = bag.get_message_count()
c = 0
with rosbag.Bag(outputfile, "w") as output:
path: turtlebot3-burger-2021-04-22-15-35-44.bag
version: 2.0
duration: 2:19s (139s)
start: Apr 22 2021 15:35:45.44 (1619130945.44)
end: Apr 22 2021 15:38:05.40 (1619131085.40)
size: 219.6 MB
messages: 75094
compression: none [277/277 chunks]
types: actionlib_msgs/GoalStatusArray [8b2b82f13216d0a8ea88bd3af735e619]
diagnostic_msgs/DiagnosticArray [60810da900de1dd6ddd437c3503511da]
{"version":3,"sources":["webpack:///../node_modules/@sentry/hub/esm/session.js","webpack:///../node_modules/@sentry/hub/esm/hub.js","webpack:///../node_modules/@sentry/hub/esm/scope.js","webpack:///../node_modules/@sentry/hub/node_modules/tslib/tslib.es6.js","webpack:///../node_modules/@sentry/minimal/node_modules/tslib/tslib.es6.js","webpack:///../node_modules/@sentry/minimal/esm/index.js","webpack:///../node_modules/@sentry/types/esm/session.js","webpack:///../node_modules/@sentry/types/esm/severity.js","webpack:///../node_modules/@sentry/utils/esm/is.js","webpack:///../node_modules/@sentry/utils/esm/logger.js","webpack:///../node_modules/@sentry/utils/esm/misc.js","webpack:///../node_modules/@sentry/utils/esm/node.js","webpack:///../node_modules/@sentry/utils/esm/object.js","webpack:///../node_modules/@sentry/utils/esm/syncpromise.js","webpack:///../node_modules/@sentry/utils/esm/time.js","webpack:///../node_modules/@sentry/utils/node_modules/tslib/tslib.es6.js","webpack:///../node_modules/process/browser.
(self.webpackChunk=self.webpackChunk||[]).push([[435],{49168:(t,e,n)=>{"use strict";n.d(e,{Gd:()=>d});var r=n(68773),i=n(63699),o=n(7790),s=n(58536),a=n(37392),c=n(51684),u=n(55971),p=n(21995),h=function(){function t(t){this.errors=0,this.sid=(0,i.DM)(),this.timestamp=Date.now(),this.started=Date.now(),this.duration=0,this.status=u.$.Ok,t&&this.update(t)}return t.prototype.update=function(t){void 0===t&&(t={}),t.user&&(t.user.ip_address&&(this.ipAddress=t.user.ip_address),t.did||(this.did=t.user.id||t.user.email||t.user.username)),this.timestamp=t.timestamp||Date.now(),t.sid&&(this.sid=32===t.sid.length?t.sid:(0,i.DM)()),t.did&&(this.did=""+t.did),"number"==typeof t.started&&(this.started=t.started),"number"==typeof t.duration?this.duration=t.duration:this.duration=this.timestamp-this.started,t.release&&(this.release=t.release),t.environment&&(this.environment=t.environment),t.ipAddress&&(this.ipAddress=t.ipAddress),t.userAgent&&(this.userAgent=t.userAgent),"number"==typeof t.errors&&(this.errors=t.errors),t.