Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
bfd2e7e
Add helper functions to check socket's ready state
douglascayers Nov 10, 2025
6951dac
Add transport factory option for customizing socket impls
douglascayers Nov 10, 2025
0be90af
Add transport factory option for customizing socket impls
douglascayers Nov 10, 2025
a80a90b
Fix lint warning by removing private modifier
douglascayers Nov 10, 2025
84d5546
Test SocketAdapter readystate helper methods
douglascayers Nov 10, 2025
ac75d5e
Test Ros class creating transports
douglascayers Nov 10, 2025
791eb1b
Refactor SocketAdapter to new Transport classes
douglascayers Nov 13, 2025
94c0cb2
Assign ROS_DISTRO to default if not set, which will run tests that wo…
douglascayers Nov 13, 2025
0af50c0
Explain why disable lint rule. Want to use generic type with method.
douglascayers Nov 13, 2025
27fe391
Add Transport tests
douglascayers Nov 13, 2025
1c5eebd
Ensure errors are known by emitting to "error" channel
douglascayers Nov 13, 2025
0581935
Allow some variables to be unused with explicit _ prefix
douglascayers Nov 13, 2025
aadb3a5
Transport tests
douglascayers Nov 13, 2025
f5f6ae3
Update types for cbor-js
douglascayers Nov 13, 2025
ce0cf65
Emit error for invalid json fragments
douglascayers Nov 13, 2025
d31f547
Test transport handling of messages
douglascayers Nov 13, 2025
6f3eee2
Restore auth method's comments
douglascayers Nov 13, 2025
2820868
Refactor transport factory from object to function
douglascayers Nov 13, 2025
9a08eed
Revert @typescript-eslint/no-unused-vars rule change
douglascayers Nov 13, 2025
88b87ee
Add return type and include PNG in error message for clarity
douglascayers Nov 13, 2025
0e29886
Move transports to own folder/files for easier dynamic loading. Updat…
douglascayers Nov 13, 2025
9fa8687
For good measure, dynamic load both transports just in case
douglascayers Nov 13, 2025
b60160e
Remove .only from tests
douglascayers Nov 13, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions src/RosLib.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,15 @@ export { default as Param } from "./core/Param.js";
export { default as Service } from "./core/Service.js";
export { default as Action } from "./core/Action.js";

// Core Transport exports
export {
AbstractTransport,
type ITransport,
type ITransportFactory,
type TransportEvent,
} from "./core/transport/Transport.js";
export { WebSocketTransportFactory } from "./core/transport/WebSocketTransportFactory.js";

// ActionLib exports
export { default as ActionClient } from "./actionlib/ActionClient.js";
export { default as ActionListener } from "./actionlib/ActionListener.js";
Expand Down
Loading