We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a9511e commit a0d56eeCopy full SHA for a0d56ee
ts_demo/topics/package.json
@@ -2,7 +2,7 @@
2
"name": "rclnodejs-ts-topics-demo",
3
"version": "1.0.0",
4
"description": "TypeScript demo for rclnodejs topics (publisher and subscriber)",
5
- "main": "index.js",
+ "main": "dist/publisher.js",
6
"scripts": {
7
"prebuild": "npm run clean",
8
"build": "tsc",
ts_demo/topics/src/publisher.ts
@@ -8,7 +8,7 @@
import * as rclnodejs from 'rclnodejs';
9
10
const TOPIC_NAME = 'ts_demo';
11
-const PUBLISH_INTERVAL = 1000000000n; // milliseconds
+const PUBLISH_INTERVAL = 1000000000n; // nanoseconds
12
13
/**
14
* Main publisher function
0 commit comments