Package symbol

axiomatic_adapter package from socketcan_adapter repo

axiomatic_adapter socketcan_adapter socketcan_adapter_ros

ROS Distro
humble

Package Summary

Version 0.0.1
License Apache-2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/polymathrobotics/socketcan_adapter.git
VCS Type git
VCS Version main
Last Updated 2026-10-20
Dev Status MAINTAINED
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

An Adapter Library and socketcan bridge for Axiomatic eth-can interface

Maintainers

  • Polymath Robotics

Authors

  • David Tarazi

Axiomatic Adapter

Library and Adapter for Axiomatic CAN-Ethernet converters.

For more information on the decoding/encoding, see:

https://www.notion.so/polymathrobotics/Axiomatic-CAN-to-Ethernet-Converter-08e078d8914f40d6b7cd99ebf39fe1b0

Supported Models

--model Device Protocol reference
ax140900 (default) AX140900 CAN/Ethernet Converter Ethernet to CAN Converter Communication Protocol
ax142100a AX142100A Protocol Converter, Ethernet/RS-422/2x RS-232/CAN UMAX142100A, section 4.2

Every model shares the 11-byte AXIO message header in axiomatic_protocol.hpp. Each model is a subclass of AxiomaticModel (axiomatic_model.hpp) in include/axiomatic_adapter/models/ and src/models/. A model takes bytes and CanFrames only, so it can be used without a socket.

Adding a model

  1. Add include/axiomatic_adapter/models/<model>.hpp and src/models/<model>.cpp with a <model>::<Model> class deriving AxiomaticModel. Override protocolId, encode (build on protocol::encodeMessage), and decodeMessage (one message body; return false for Message IDs that carry no CAN frames). The base class decode splits the buffer into messages and calls decodeMessage for each.
  2. Add the source to the axiomatic_adapter library in CMakeLists.txt.
  3. Add its entry to modelFactories in src/axiomatic_model.cpp.
  4. Add a decode test of the manual’s example bytes in test/axiomatic_model_test.cpp; the round trip test covers every name in modelNames.

Usage

Socketcan-Axiomatic Bridge

ros2 run axiomatic_adapter axiomatic_socketcan_bridge [CAN_INTERFACE_NAME] [IP_ADDRESS] [PORT] [OPTIONAL]--model[-m] [OPTIONAL]--retry-connection[-r] [OPTIONAL]--max-retry-attempts [OPTIONAL]--verbose[-v] [OPTIONAL]--no-tcp-nodelay

# Examples
# generic example to bridge vcan0 with axiomatic using 192.168.50.34:4000
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000

# bridge vcan0 with an AX142100A
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000 --model ax142100a

# this will continue retrying to connect forever and not exit on first failure. It will also print more detailed logs
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000 -r -v

# this will attempt to reconnect a max number of 100 times before failing
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000 -r --max-retry-attempts 100

# disable TCP_NODELAY (re-enable Nagle's algorithm). Default is on; only use if
# you are pushing bulk traffic where throughput matters more than per-frame latency.
# See the Library section below for the full tradeoff discussion.
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000 --no-tcp-nodelay

Library

// construct the adapter
std::string ip_address = "192.168.0.34";
std::string port = "4000";
std::chrono::milliseconds receive_timeout_ms(100);

// the two functions passed in are the receive and error callback functions, receive timeout has a default
polymath::can::AxiomaticAdapter adapter(
  ip_address,
  port,
  [](std::unique_ptr<const CanFrame> /*frame*/) { /* No-op */ },
  [](polymath::can::AxiomaticAdapter::socket_error_string_t /*error*/) { /*do nothing*/ },
  receive_timeout_ms,
  /*tcp_nodelay=*/true,  // optional, defaults to true; see below
  std::make_unique<polymath::can::ax142100a::Ax142100a>()  // optional, defaults to ax140900::Ax140900
);

// open the socket
adapter.openSocket();

// start the reception thread. At this point, it's running
adapter.startReceptionThread();

// on shutdown/destruction, thread will join and socket will close

tcp_nodelay parameter

Controls whether TCP_NODELAY is set on the socket after a successful connect. Defaults to true.

  • true (default): Nagle’s algorithm is disabled. Each CAN frame leaves the host as its own TCP segment. The converter’s delayed-ACK behaviour otherwise interacts with Nagle to produce 30–450 ms inter-segment stalls under sustained CAN traffic, which breaks UDS-style request/response timing (flash sessions, control loops). This is the right choice for any latency-sensitive workload.
  • false: Nagle’s algorithm stays enabled. The kernel may coalesce many small CAN frames into fewer, larger TCP segments. This lowers packets-per-second on the network and reduces per-segment header overhead (~40 bytes IP+TCP per ~24 byte CAN frame payload), at the cost of much higher worst-case latency per individual frame. Useful only if you are pushing bulk data where overall throughput matters more than per-frame latency, or if the network path / receiving device cannot keep up at high PPS.

If you have any doubt, leave it at the default.

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package axiomatic_adapter

Package Dependencies

System Dependencies

Dependant Packages

No known dependants.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged axiomatic_adapter at Robotics Stack Exchange

Package symbol

axiomatic_adapter package from socketcan_adapter repo

axiomatic_adapter socketcan_adapter socketcan_adapter_ros

ROS Distro
jazzy

Package Summary

Version 0.0.1
License Apache-2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/polymathrobotics/socketcan_adapter.git
VCS Type git
VCS Version main
Last Updated 2026-10-20
Dev Status MAINTAINED
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

An Adapter Library and socketcan bridge for Axiomatic eth-can interface

Maintainers

  • Polymath Robotics

Authors

  • David Tarazi

Axiomatic Adapter

Library and Adapter for Axiomatic CAN-Ethernet converters.

For more information on the decoding/encoding, see:

https://www.notion.so/polymathrobotics/Axiomatic-CAN-to-Ethernet-Converter-08e078d8914f40d6b7cd99ebf39fe1b0

Supported Models

--model Device Protocol reference
ax140900 (default) AX140900 CAN/Ethernet Converter Ethernet to CAN Converter Communication Protocol
ax142100a AX142100A Protocol Converter, Ethernet/RS-422/2x RS-232/CAN UMAX142100A, section 4.2

Every model shares the 11-byte AXIO message header in axiomatic_protocol.hpp. Each model is a subclass of AxiomaticModel (axiomatic_model.hpp) in include/axiomatic_adapter/models/ and src/models/. A model takes bytes and CanFrames only, so it can be used without a socket.

Adding a model

  1. Add include/axiomatic_adapter/models/<model>.hpp and src/models/<model>.cpp with a <model>::<Model> class deriving AxiomaticModel. Override protocolId, encode (build on protocol::encodeMessage), and decodeMessage (one message body; return false for Message IDs that carry no CAN frames). The base class decode splits the buffer into messages and calls decodeMessage for each.
  2. Add the source to the axiomatic_adapter library in CMakeLists.txt.
  3. Add its entry to modelFactories in src/axiomatic_model.cpp.
  4. Add a decode test of the manual’s example bytes in test/axiomatic_model_test.cpp; the round trip test covers every name in modelNames.

Usage

Socketcan-Axiomatic Bridge

ros2 run axiomatic_adapter axiomatic_socketcan_bridge [CAN_INTERFACE_NAME] [IP_ADDRESS] [PORT] [OPTIONAL]--model[-m] [OPTIONAL]--retry-connection[-r] [OPTIONAL]--max-retry-attempts [OPTIONAL]--verbose[-v] [OPTIONAL]--no-tcp-nodelay

# Examples
# generic example to bridge vcan0 with axiomatic using 192.168.50.34:4000
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000

# bridge vcan0 with an AX142100A
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000 --model ax142100a

# this will continue retrying to connect forever and not exit on first failure. It will also print more detailed logs
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000 -r -v

# this will attempt to reconnect a max number of 100 times before failing
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000 -r --max-retry-attempts 100

# disable TCP_NODELAY (re-enable Nagle's algorithm). Default is on; only use if
# you are pushing bulk traffic where throughput matters more than per-frame latency.
# See the Library section below for the full tradeoff discussion.
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000 --no-tcp-nodelay

Library

// construct the adapter
std::string ip_address = "192.168.0.34";
std::string port = "4000";
std::chrono::milliseconds receive_timeout_ms(100);

// the two functions passed in are the receive and error callback functions, receive timeout has a default
polymath::can::AxiomaticAdapter adapter(
  ip_address,
  port,
  [](std::unique_ptr<const CanFrame> /*frame*/) { /* No-op */ },
  [](polymath::can::AxiomaticAdapter::socket_error_string_t /*error*/) { /*do nothing*/ },
  receive_timeout_ms,
  /*tcp_nodelay=*/true,  // optional, defaults to true; see below
  std::make_unique<polymath::can::ax142100a::Ax142100a>()  // optional, defaults to ax140900::Ax140900
);

// open the socket
adapter.openSocket();

// start the reception thread. At this point, it's running
adapter.startReceptionThread();

// on shutdown/destruction, thread will join and socket will close

tcp_nodelay parameter

Controls whether TCP_NODELAY is set on the socket after a successful connect. Defaults to true.

  • true (default): Nagle’s algorithm is disabled. Each CAN frame leaves the host as its own TCP segment. The converter’s delayed-ACK behaviour otherwise interacts with Nagle to produce 30–450 ms inter-segment stalls under sustained CAN traffic, which breaks UDS-style request/response timing (flash sessions, control loops). This is the right choice for any latency-sensitive workload.
  • false: Nagle’s algorithm stays enabled. The kernel may coalesce many small CAN frames into fewer, larger TCP segments. This lowers packets-per-second on the network and reduces per-segment header overhead (~40 bytes IP+TCP per ~24 byte CAN frame payload), at the cost of much higher worst-case latency per individual frame. Useful only if you are pushing bulk data where overall throughput matters more than per-frame latency, or if the network path / receiving device cannot keep up at high PPS.

If you have any doubt, leave it at the default.

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package axiomatic_adapter

Package Dependencies

System Dependencies

Dependant Packages

No known dependants.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged axiomatic_adapter at Robotics Stack Exchange

Package symbol

axiomatic_adapter package from socketcan_adapter repo

axiomatic_adapter socketcan_adapter socketcan_adapter_ros

ROS Distro
kilted

Package Summary

Version 0.0.1
License Apache-2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/polymathrobotics/socketcan_adapter.git
VCS Type git
VCS Version main
Last Updated 2026-10-20
Dev Status MAINTAINED
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

An Adapter Library and socketcan bridge for Axiomatic eth-can interface

Maintainers

  • Polymath Robotics

Authors

  • David Tarazi

Axiomatic Adapter

Library and Adapter for Axiomatic CAN-Ethernet converters.

For more information on the decoding/encoding, see:

https://www.notion.so/polymathrobotics/Axiomatic-CAN-to-Ethernet-Converter-08e078d8914f40d6b7cd99ebf39fe1b0

Supported Models

--model Device Protocol reference
ax140900 (default) AX140900 CAN/Ethernet Converter Ethernet to CAN Converter Communication Protocol
ax142100a AX142100A Protocol Converter, Ethernet/RS-422/2x RS-232/CAN UMAX142100A, section 4.2

Every model shares the 11-byte AXIO message header in axiomatic_protocol.hpp. Each model is a subclass of AxiomaticModel (axiomatic_model.hpp) in include/axiomatic_adapter/models/ and src/models/. A model takes bytes and CanFrames only, so it can be used without a socket.

Adding a model

  1. Add include/axiomatic_adapter/models/<model>.hpp and src/models/<model>.cpp with a <model>::<Model> class deriving AxiomaticModel. Override protocolId, encode (build on protocol::encodeMessage), and decodeMessage (one message body; return false for Message IDs that carry no CAN frames). The base class decode splits the buffer into messages and calls decodeMessage for each.
  2. Add the source to the axiomatic_adapter library in CMakeLists.txt.
  3. Add its entry to modelFactories in src/axiomatic_model.cpp.
  4. Add a decode test of the manual’s example bytes in test/axiomatic_model_test.cpp; the round trip test covers every name in modelNames.

Usage

Socketcan-Axiomatic Bridge

ros2 run axiomatic_adapter axiomatic_socketcan_bridge [CAN_INTERFACE_NAME] [IP_ADDRESS] [PORT] [OPTIONAL]--model[-m] [OPTIONAL]--retry-connection[-r] [OPTIONAL]--max-retry-attempts [OPTIONAL]--verbose[-v] [OPTIONAL]--no-tcp-nodelay

# Examples
# generic example to bridge vcan0 with axiomatic using 192.168.50.34:4000
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000

# bridge vcan0 with an AX142100A
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000 --model ax142100a

# this will continue retrying to connect forever and not exit on first failure. It will also print more detailed logs
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000 -r -v

# this will attempt to reconnect a max number of 100 times before failing
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000 -r --max-retry-attempts 100

# disable TCP_NODELAY (re-enable Nagle's algorithm). Default is on; only use if
# you are pushing bulk traffic where throughput matters more than per-frame latency.
# See the Library section below for the full tradeoff discussion.
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000 --no-tcp-nodelay

Library

// construct the adapter
std::string ip_address = "192.168.0.34";
std::string port = "4000";
std::chrono::milliseconds receive_timeout_ms(100);

// the two functions passed in are the receive and error callback functions, receive timeout has a default
polymath::can::AxiomaticAdapter adapter(
  ip_address,
  port,
  [](std::unique_ptr<const CanFrame> /*frame*/) { /* No-op */ },
  [](polymath::can::AxiomaticAdapter::socket_error_string_t /*error*/) { /*do nothing*/ },
  receive_timeout_ms,
  /*tcp_nodelay=*/true,  // optional, defaults to true; see below
  std::make_unique<polymath::can::ax142100a::Ax142100a>()  // optional, defaults to ax140900::Ax140900
);

// open the socket
adapter.openSocket();

// start the reception thread. At this point, it's running
adapter.startReceptionThread();

// on shutdown/destruction, thread will join and socket will close

tcp_nodelay parameter

Controls whether TCP_NODELAY is set on the socket after a successful connect. Defaults to true.

  • true (default): Nagle’s algorithm is disabled. Each CAN frame leaves the host as its own TCP segment. The converter’s delayed-ACK behaviour otherwise interacts with Nagle to produce 30–450 ms inter-segment stalls under sustained CAN traffic, which breaks UDS-style request/response timing (flash sessions, control loops). This is the right choice for any latency-sensitive workload.
  • false: Nagle’s algorithm stays enabled. The kernel may coalesce many small CAN frames into fewer, larger TCP segments. This lowers packets-per-second on the network and reduces per-segment header overhead (~40 bytes IP+TCP per ~24 byte CAN frame payload), at the cost of much higher worst-case latency per individual frame. Useful only if you are pushing bulk data where overall throughput matters more than per-frame latency, or if the network path / receiving device cannot keep up at high PPS.

If you have any doubt, leave it at the default.

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package axiomatic_adapter

Package Dependencies

System Dependencies

Dependant Packages

No known dependants.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged axiomatic_adapter at Robotics Stack Exchange

Package symbol

axiomatic_adapter package from socketcan_adapter repo

axiomatic_adapter socketcan_adapter socketcan_adapter_ros

ROS Distro
lyrical

Package Summary

Version 0.0.1
License Apache-2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/polymathrobotics/socketcan_adapter.git
VCS Type git
VCS Version main
Last Updated 2026-10-20
Dev Status MAINTAINED
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

An Adapter Library and socketcan bridge for Axiomatic eth-can interface

Maintainers

  • Polymath Robotics

Authors

  • David Tarazi

Axiomatic Adapter

Library and Adapter for Axiomatic CAN-Ethernet converters.

For more information on the decoding/encoding, see:

https://www.notion.so/polymathrobotics/Axiomatic-CAN-to-Ethernet-Converter-08e078d8914f40d6b7cd99ebf39fe1b0

Supported Models

--model Device Protocol reference
ax140900 (default) AX140900 CAN/Ethernet Converter Ethernet to CAN Converter Communication Protocol
ax142100a AX142100A Protocol Converter, Ethernet/RS-422/2x RS-232/CAN UMAX142100A, section 4.2

Every model shares the 11-byte AXIO message header in axiomatic_protocol.hpp. Each model is a subclass of AxiomaticModel (axiomatic_model.hpp) in include/axiomatic_adapter/models/ and src/models/. A model takes bytes and CanFrames only, so it can be used without a socket.

Adding a model

  1. Add include/axiomatic_adapter/models/<model>.hpp and src/models/<model>.cpp with a <model>::<Model> class deriving AxiomaticModel. Override protocolId, encode (build on protocol::encodeMessage), and decodeMessage (one message body; return false for Message IDs that carry no CAN frames). The base class decode splits the buffer into messages and calls decodeMessage for each.
  2. Add the source to the axiomatic_adapter library in CMakeLists.txt.
  3. Add its entry to modelFactories in src/axiomatic_model.cpp.
  4. Add a decode test of the manual’s example bytes in test/axiomatic_model_test.cpp; the round trip test covers every name in modelNames.

Usage

Socketcan-Axiomatic Bridge

ros2 run axiomatic_adapter axiomatic_socketcan_bridge [CAN_INTERFACE_NAME] [IP_ADDRESS] [PORT] [OPTIONAL]--model[-m] [OPTIONAL]--retry-connection[-r] [OPTIONAL]--max-retry-attempts [OPTIONAL]--verbose[-v] [OPTIONAL]--no-tcp-nodelay

# Examples
# generic example to bridge vcan0 with axiomatic using 192.168.50.34:4000
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000

# bridge vcan0 with an AX142100A
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000 --model ax142100a

# this will continue retrying to connect forever and not exit on first failure. It will also print more detailed logs
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000 -r -v

# this will attempt to reconnect a max number of 100 times before failing
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000 -r --max-retry-attempts 100

# disable TCP_NODELAY (re-enable Nagle's algorithm). Default is on; only use if
# you are pushing bulk traffic where throughput matters more than per-frame latency.
# See the Library section below for the full tradeoff discussion.
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000 --no-tcp-nodelay

Library

// construct the adapter
std::string ip_address = "192.168.0.34";
std::string port = "4000";
std::chrono::milliseconds receive_timeout_ms(100);

// the two functions passed in are the receive and error callback functions, receive timeout has a default
polymath::can::AxiomaticAdapter adapter(
  ip_address,
  port,
  [](std::unique_ptr<const CanFrame> /*frame*/) { /* No-op */ },
  [](polymath::can::AxiomaticAdapter::socket_error_string_t /*error*/) { /*do nothing*/ },
  receive_timeout_ms,
  /*tcp_nodelay=*/true,  // optional, defaults to true; see below
  std::make_unique<polymath::can::ax142100a::Ax142100a>()  // optional, defaults to ax140900::Ax140900
);

// open the socket
adapter.openSocket();

// start the reception thread. At this point, it's running
adapter.startReceptionThread();

// on shutdown/destruction, thread will join and socket will close

tcp_nodelay parameter

Controls whether TCP_NODELAY is set on the socket after a successful connect. Defaults to true.

  • true (default): Nagle’s algorithm is disabled. Each CAN frame leaves the host as its own TCP segment. The converter’s delayed-ACK behaviour otherwise interacts with Nagle to produce 30–450 ms inter-segment stalls under sustained CAN traffic, which breaks UDS-style request/response timing (flash sessions, control loops). This is the right choice for any latency-sensitive workload.
  • false: Nagle’s algorithm stays enabled. The kernel may coalesce many small CAN frames into fewer, larger TCP segments. This lowers packets-per-second on the network and reduces per-segment header overhead (~40 bytes IP+TCP per ~24 byte CAN frame payload), at the cost of much higher worst-case latency per individual frame. Useful only if you are pushing bulk data where overall throughput matters more than per-frame latency, or if the network path / receiving device cannot keep up at high PPS.

If you have any doubt, leave it at the default.

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package axiomatic_adapter

Package Dependencies

System Dependencies

Dependant Packages

No known dependants.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged axiomatic_adapter at Robotics Stack Exchange

Package symbol

axiomatic_adapter package from socketcan_adapter repo

axiomatic_adapter socketcan_adapter socketcan_adapter_ros

ROS Distro
rolling

Package Summary

Version 0.0.1
License Apache-2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/polymathrobotics/socketcan_adapter.git
VCS Type git
VCS Version main
Last Updated 2026-10-20
Dev Status MAINTAINED
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

An Adapter Library and socketcan bridge for Axiomatic eth-can interface

Maintainers

  • Polymath Robotics

Authors

  • David Tarazi

Axiomatic Adapter

Library and Adapter for Axiomatic CAN-Ethernet converters.

For more information on the decoding/encoding, see:

https://www.notion.so/polymathrobotics/Axiomatic-CAN-to-Ethernet-Converter-08e078d8914f40d6b7cd99ebf39fe1b0

Supported Models

--model Device Protocol reference
ax140900 (default) AX140900 CAN/Ethernet Converter Ethernet to CAN Converter Communication Protocol
ax142100a AX142100A Protocol Converter, Ethernet/RS-422/2x RS-232/CAN UMAX142100A, section 4.2

Every model shares the 11-byte AXIO message header in axiomatic_protocol.hpp. Each model is a subclass of AxiomaticModel (axiomatic_model.hpp) in include/axiomatic_adapter/models/ and src/models/. A model takes bytes and CanFrames only, so it can be used without a socket.

Adding a model

  1. Add include/axiomatic_adapter/models/<model>.hpp and src/models/<model>.cpp with a <model>::<Model> class deriving AxiomaticModel. Override protocolId, encode (build on protocol::encodeMessage), and decodeMessage (one message body; return false for Message IDs that carry no CAN frames). The base class decode splits the buffer into messages and calls decodeMessage for each.
  2. Add the source to the axiomatic_adapter library in CMakeLists.txt.
  3. Add its entry to modelFactories in src/axiomatic_model.cpp.
  4. Add a decode test of the manual’s example bytes in test/axiomatic_model_test.cpp; the round trip test covers every name in modelNames.

Usage

Socketcan-Axiomatic Bridge

ros2 run axiomatic_adapter axiomatic_socketcan_bridge [CAN_INTERFACE_NAME] [IP_ADDRESS] [PORT] [OPTIONAL]--model[-m] [OPTIONAL]--retry-connection[-r] [OPTIONAL]--max-retry-attempts [OPTIONAL]--verbose[-v] [OPTIONAL]--no-tcp-nodelay

# Examples
# generic example to bridge vcan0 with axiomatic using 192.168.50.34:4000
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000

# bridge vcan0 with an AX142100A
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000 --model ax142100a

# this will continue retrying to connect forever and not exit on first failure. It will also print more detailed logs
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000 -r -v

# this will attempt to reconnect a max number of 100 times before failing
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000 -r --max-retry-attempts 100

# disable TCP_NODELAY (re-enable Nagle's algorithm). Default is on; only use if
# you are pushing bulk traffic where throughput matters more than per-frame latency.
# See the Library section below for the full tradeoff discussion.
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000 --no-tcp-nodelay

Library

// construct the adapter
std::string ip_address = "192.168.0.34";
std::string port = "4000";
std::chrono::milliseconds receive_timeout_ms(100);

// the two functions passed in are the receive and error callback functions, receive timeout has a default
polymath::can::AxiomaticAdapter adapter(
  ip_address,
  port,
  [](std::unique_ptr<const CanFrame> /*frame*/) { /* No-op */ },
  [](polymath::can::AxiomaticAdapter::socket_error_string_t /*error*/) { /*do nothing*/ },
  receive_timeout_ms,
  /*tcp_nodelay=*/true,  // optional, defaults to true; see below
  std::make_unique<polymath::can::ax142100a::Ax142100a>()  // optional, defaults to ax140900::Ax140900
);

// open the socket
adapter.openSocket();

// start the reception thread. At this point, it's running
adapter.startReceptionThread();

// on shutdown/destruction, thread will join and socket will close

tcp_nodelay parameter

Controls whether TCP_NODELAY is set on the socket after a successful connect. Defaults to true.

  • true (default): Nagle’s algorithm is disabled. Each CAN frame leaves the host as its own TCP segment. The converter’s delayed-ACK behaviour otherwise interacts with Nagle to produce 30–450 ms inter-segment stalls under sustained CAN traffic, which breaks UDS-style request/response timing (flash sessions, control loops). This is the right choice for any latency-sensitive workload.
  • false: Nagle’s algorithm stays enabled. The kernel may coalesce many small CAN frames into fewer, larger TCP segments. This lowers packets-per-second on the network and reduces per-segment header overhead (~40 bytes IP+TCP per ~24 byte CAN frame payload), at the cost of much higher worst-case latency per individual frame. Useful only if you are pushing bulk data where overall throughput matters more than per-frame latency, or if the network path / receiving device cannot keep up at high PPS.

If you have any doubt, leave it at the default.

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package axiomatic_adapter

Package Dependencies

System Dependencies

Dependant Packages

No known dependants.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged axiomatic_adapter at Robotics Stack Exchange

No version for distro ardent showing humble. Known supported distros are highlighted in the buttons above.
Package symbol

axiomatic_adapter package from socketcan_adapter repo

axiomatic_adapter socketcan_adapter socketcan_adapter_ros

ROS Distro
humble

Package Summary

Version 0.0.1
License Apache-2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/polymathrobotics/socketcan_adapter.git
VCS Type git
VCS Version main
Last Updated 2026-10-20
Dev Status MAINTAINED
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

An Adapter Library and socketcan bridge for Axiomatic eth-can interface

Maintainers

  • Polymath Robotics

Authors

  • David Tarazi

Axiomatic Adapter

Library and Adapter for Axiomatic CAN-Ethernet converters.

For more information on the decoding/encoding, see:

https://www.notion.so/polymathrobotics/Axiomatic-CAN-to-Ethernet-Converter-08e078d8914f40d6b7cd99ebf39fe1b0

Supported Models

--model Device Protocol reference
ax140900 (default) AX140900 CAN/Ethernet Converter Ethernet to CAN Converter Communication Protocol
ax142100a AX142100A Protocol Converter, Ethernet/RS-422/2x RS-232/CAN UMAX142100A, section 4.2

Every model shares the 11-byte AXIO message header in axiomatic_protocol.hpp. Each model is a subclass of AxiomaticModel (axiomatic_model.hpp) in include/axiomatic_adapter/models/ and src/models/. A model takes bytes and CanFrames only, so it can be used without a socket.

Adding a model

  1. Add include/axiomatic_adapter/models/<model>.hpp and src/models/<model>.cpp with a <model>::<Model> class deriving AxiomaticModel. Override protocolId, encode (build on protocol::encodeMessage), and decodeMessage (one message body; return false for Message IDs that carry no CAN frames). The base class decode splits the buffer into messages and calls decodeMessage for each.
  2. Add the source to the axiomatic_adapter library in CMakeLists.txt.
  3. Add its entry to modelFactories in src/axiomatic_model.cpp.
  4. Add a decode test of the manual’s example bytes in test/axiomatic_model_test.cpp; the round trip test covers every name in modelNames.

Usage

Socketcan-Axiomatic Bridge

ros2 run axiomatic_adapter axiomatic_socketcan_bridge [CAN_INTERFACE_NAME] [IP_ADDRESS] [PORT] [OPTIONAL]--model[-m] [OPTIONAL]--retry-connection[-r] [OPTIONAL]--max-retry-attempts [OPTIONAL]--verbose[-v] [OPTIONAL]--no-tcp-nodelay

# Examples
# generic example to bridge vcan0 with axiomatic using 192.168.50.34:4000
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000

# bridge vcan0 with an AX142100A
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000 --model ax142100a

# this will continue retrying to connect forever and not exit on first failure. It will also print more detailed logs
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000 -r -v

# this will attempt to reconnect a max number of 100 times before failing
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000 -r --max-retry-attempts 100

# disable TCP_NODELAY (re-enable Nagle's algorithm). Default is on; only use if
# you are pushing bulk traffic where throughput matters more than per-frame latency.
# See the Library section below for the full tradeoff discussion.
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000 --no-tcp-nodelay

Library

// construct the adapter
std::string ip_address = "192.168.0.34";
std::string port = "4000";
std::chrono::milliseconds receive_timeout_ms(100);

// the two functions passed in are the receive and error callback functions, receive timeout has a default
polymath::can::AxiomaticAdapter adapter(
  ip_address,
  port,
  [](std::unique_ptr<const CanFrame> /*frame*/) { /* No-op */ },
  [](polymath::can::AxiomaticAdapter::socket_error_string_t /*error*/) { /*do nothing*/ },
  receive_timeout_ms,
  /*tcp_nodelay=*/true,  // optional, defaults to true; see below
  std::make_unique<polymath::can::ax142100a::Ax142100a>()  // optional, defaults to ax140900::Ax140900
);

// open the socket
adapter.openSocket();

// start the reception thread. At this point, it's running
adapter.startReceptionThread();

// on shutdown/destruction, thread will join and socket will close

tcp_nodelay parameter

Controls whether TCP_NODELAY is set on the socket after a successful connect. Defaults to true.

  • true (default): Nagle’s algorithm is disabled. Each CAN frame leaves the host as its own TCP segment. The converter’s delayed-ACK behaviour otherwise interacts with Nagle to produce 30–450 ms inter-segment stalls under sustained CAN traffic, which breaks UDS-style request/response timing (flash sessions, control loops). This is the right choice for any latency-sensitive workload.
  • false: Nagle’s algorithm stays enabled. The kernel may coalesce many small CAN frames into fewer, larger TCP segments. This lowers packets-per-second on the network and reduces per-segment header overhead (~40 bytes IP+TCP per ~24 byte CAN frame payload), at the cost of much higher worst-case latency per individual frame. Useful only if you are pushing bulk data where overall throughput matters more than per-frame latency, or if the network path / receiving device cannot keep up at high PPS.

If you have any doubt, leave it at the default.

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package axiomatic_adapter

Package Dependencies

System Dependencies

Dependant Packages

No known dependants.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged axiomatic_adapter at Robotics Stack Exchange

No version for distro bouncy showing humble. Known supported distros are highlighted in the buttons above.
Package symbol

axiomatic_adapter package from socketcan_adapter repo

axiomatic_adapter socketcan_adapter socketcan_adapter_ros

ROS Distro
humble

Package Summary

Version 0.0.1
License Apache-2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/polymathrobotics/socketcan_adapter.git
VCS Type git
VCS Version main
Last Updated 2026-10-20
Dev Status MAINTAINED
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

An Adapter Library and socketcan bridge for Axiomatic eth-can interface

Maintainers

  • Polymath Robotics

Authors

  • David Tarazi

Axiomatic Adapter

Library and Adapter for Axiomatic CAN-Ethernet converters.

For more information on the decoding/encoding, see:

https://www.notion.so/polymathrobotics/Axiomatic-CAN-to-Ethernet-Converter-08e078d8914f40d6b7cd99ebf39fe1b0

Supported Models

--model Device Protocol reference
ax140900 (default) AX140900 CAN/Ethernet Converter Ethernet to CAN Converter Communication Protocol
ax142100a AX142100A Protocol Converter, Ethernet/RS-422/2x RS-232/CAN UMAX142100A, section 4.2

Every model shares the 11-byte AXIO message header in axiomatic_protocol.hpp. Each model is a subclass of AxiomaticModel (axiomatic_model.hpp) in include/axiomatic_adapter/models/ and src/models/. A model takes bytes and CanFrames only, so it can be used without a socket.

Adding a model

  1. Add include/axiomatic_adapter/models/<model>.hpp and src/models/<model>.cpp with a <model>::<Model> class deriving AxiomaticModel. Override protocolId, encode (build on protocol::encodeMessage), and decodeMessage (one message body; return false for Message IDs that carry no CAN frames). The base class decode splits the buffer into messages and calls decodeMessage for each.
  2. Add the source to the axiomatic_adapter library in CMakeLists.txt.
  3. Add its entry to modelFactories in src/axiomatic_model.cpp.
  4. Add a decode test of the manual’s example bytes in test/axiomatic_model_test.cpp; the round trip test covers every name in modelNames.

Usage

Socketcan-Axiomatic Bridge

ros2 run axiomatic_adapter axiomatic_socketcan_bridge [CAN_INTERFACE_NAME] [IP_ADDRESS] [PORT] [OPTIONAL]--model[-m] [OPTIONAL]--retry-connection[-r] [OPTIONAL]--max-retry-attempts [OPTIONAL]--verbose[-v] [OPTIONAL]--no-tcp-nodelay

# Examples
# generic example to bridge vcan0 with axiomatic using 192.168.50.34:4000
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000

# bridge vcan0 with an AX142100A
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000 --model ax142100a

# this will continue retrying to connect forever and not exit on first failure. It will also print more detailed logs
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000 -r -v

# this will attempt to reconnect a max number of 100 times before failing
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000 -r --max-retry-attempts 100

# disable TCP_NODELAY (re-enable Nagle's algorithm). Default is on; only use if
# you are pushing bulk traffic where throughput matters more than per-frame latency.
# See the Library section below for the full tradeoff discussion.
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000 --no-tcp-nodelay

Library

// construct the adapter
std::string ip_address = "192.168.0.34";
std::string port = "4000";
std::chrono::milliseconds receive_timeout_ms(100);

// the two functions passed in are the receive and error callback functions, receive timeout has a default
polymath::can::AxiomaticAdapter adapter(
  ip_address,
  port,
  [](std::unique_ptr<const CanFrame> /*frame*/) { /* No-op */ },
  [](polymath::can::AxiomaticAdapter::socket_error_string_t /*error*/) { /*do nothing*/ },
  receive_timeout_ms,
  /*tcp_nodelay=*/true,  // optional, defaults to true; see below
  std::make_unique<polymath::can::ax142100a::Ax142100a>()  // optional, defaults to ax140900::Ax140900
);

// open the socket
adapter.openSocket();

// start the reception thread. At this point, it's running
adapter.startReceptionThread();

// on shutdown/destruction, thread will join and socket will close

tcp_nodelay parameter

Controls whether TCP_NODELAY is set on the socket after a successful connect. Defaults to true.

  • true (default): Nagle’s algorithm is disabled. Each CAN frame leaves the host as its own TCP segment. The converter’s delayed-ACK behaviour otherwise interacts with Nagle to produce 30–450 ms inter-segment stalls under sustained CAN traffic, which breaks UDS-style request/response timing (flash sessions, control loops). This is the right choice for any latency-sensitive workload.
  • false: Nagle’s algorithm stays enabled. The kernel may coalesce many small CAN frames into fewer, larger TCP segments. This lowers packets-per-second on the network and reduces per-segment header overhead (~40 bytes IP+TCP per ~24 byte CAN frame payload), at the cost of much higher worst-case latency per individual frame. Useful only if you are pushing bulk data where overall throughput matters more than per-frame latency, or if the network path / receiving device cannot keep up at high PPS.

If you have any doubt, leave it at the default.

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package axiomatic_adapter

Package Dependencies

System Dependencies

Dependant Packages

No known dependants.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged axiomatic_adapter at Robotics Stack Exchange

No version for distro crystal showing humble. Known supported distros are highlighted in the buttons above.
Package symbol

axiomatic_adapter package from socketcan_adapter repo

axiomatic_adapter socketcan_adapter socketcan_adapter_ros

ROS Distro
humble

Package Summary

Version 0.0.1
License Apache-2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/polymathrobotics/socketcan_adapter.git
VCS Type git
VCS Version main
Last Updated 2026-10-20
Dev Status MAINTAINED
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

An Adapter Library and socketcan bridge for Axiomatic eth-can interface

Maintainers

  • Polymath Robotics

Authors

  • David Tarazi

Axiomatic Adapter

Library and Adapter for Axiomatic CAN-Ethernet converters.

For more information on the decoding/encoding, see:

https://www.notion.so/polymathrobotics/Axiomatic-CAN-to-Ethernet-Converter-08e078d8914f40d6b7cd99ebf39fe1b0

Supported Models

--model Device Protocol reference
ax140900 (default) AX140900 CAN/Ethernet Converter Ethernet to CAN Converter Communication Protocol
ax142100a AX142100A Protocol Converter, Ethernet/RS-422/2x RS-232/CAN UMAX142100A, section 4.2

Every model shares the 11-byte AXIO message header in axiomatic_protocol.hpp. Each model is a subclass of AxiomaticModel (axiomatic_model.hpp) in include/axiomatic_adapter/models/ and src/models/. A model takes bytes and CanFrames only, so it can be used without a socket.

Adding a model

  1. Add include/axiomatic_adapter/models/<model>.hpp and src/models/<model>.cpp with a <model>::<Model> class deriving AxiomaticModel. Override protocolId, encode (build on protocol::encodeMessage), and decodeMessage (one message body; return false for Message IDs that carry no CAN frames). The base class decode splits the buffer into messages and calls decodeMessage for each.
  2. Add the source to the axiomatic_adapter library in CMakeLists.txt.
  3. Add its entry to modelFactories in src/axiomatic_model.cpp.
  4. Add a decode test of the manual’s example bytes in test/axiomatic_model_test.cpp; the round trip test covers every name in modelNames.

Usage

Socketcan-Axiomatic Bridge

ros2 run axiomatic_adapter axiomatic_socketcan_bridge [CAN_INTERFACE_NAME] [IP_ADDRESS] [PORT] [OPTIONAL]--model[-m] [OPTIONAL]--retry-connection[-r] [OPTIONAL]--max-retry-attempts [OPTIONAL]--verbose[-v] [OPTIONAL]--no-tcp-nodelay

# Examples
# generic example to bridge vcan0 with axiomatic using 192.168.50.34:4000
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000

# bridge vcan0 with an AX142100A
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000 --model ax142100a

# this will continue retrying to connect forever and not exit on first failure. It will also print more detailed logs
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000 -r -v

# this will attempt to reconnect a max number of 100 times before failing
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000 -r --max-retry-attempts 100

# disable TCP_NODELAY (re-enable Nagle's algorithm). Default is on; only use if
# you are pushing bulk traffic where throughput matters more than per-frame latency.
# See the Library section below for the full tradeoff discussion.
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000 --no-tcp-nodelay

Library

// construct the adapter
std::string ip_address = "192.168.0.34";
std::string port = "4000";
std::chrono::milliseconds receive_timeout_ms(100);

// the two functions passed in are the receive and error callback functions, receive timeout has a default
polymath::can::AxiomaticAdapter adapter(
  ip_address,
  port,
  [](std::unique_ptr<const CanFrame> /*frame*/) { /* No-op */ },
  [](polymath::can::AxiomaticAdapter::socket_error_string_t /*error*/) { /*do nothing*/ },
  receive_timeout_ms,
  /*tcp_nodelay=*/true,  // optional, defaults to true; see below
  std::make_unique<polymath::can::ax142100a::Ax142100a>()  // optional, defaults to ax140900::Ax140900
);

// open the socket
adapter.openSocket();

// start the reception thread. At this point, it's running
adapter.startReceptionThread();

// on shutdown/destruction, thread will join and socket will close

tcp_nodelay parameter

Controls whether TCP_NODELAY is set on the socket after a successful connect. Defaults to true.

  • true (default): Nagle’s algorithm is disabled. Each CAN frame leaves the host as its own TCP segment. The converter’s delayed-ACK behaviour otherwise interacts with Nagle to produce 30–450 ms inter-segment stalls under sustained CAN traffic, which breaks UDS-style request/response timing (flash sessions, control loops). This is the right choice for any latency-sensitive workload.
  • false: Nagle’s algorithm stays enabled. The kernel may coalesce many small CAN frames into fewer, larger TCP segments. This lowers packets-per-second on the network and reduces per-segment header overhead (~40 bytes IP+TCP per ~24 byte CAN frame payload), at the cost of much higher worst-case latency per individual frame. Useful only if you are pushing bulk data where overall throughput matters more than per-frame latency, or if the network path / receiving device cannot keep up at high PPS.

If you have any doubt, leave it at the default.

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package axiomatic_adapter

Package Dependencies

System Dependencies

Dependant Packages

No known dependants.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged axiomatic_adapter at Robotics Stack Exchange

No version for distro eloquent showing humble. Known supported distros are highlighted in the buttons above.
Package symbol

axiomatic_adapter package from socketcan_adapter repo

axiomatic_adapter socketcan_adapter socketcan_adapter_ros

ROS Distro
humble

Package Summary

Version 0.0.1
License Apache-2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/polymathrobotics/socketcan_adapter.git
VCS Type git
VCS Version main
Last Updated 2026-10-20
Dev Status MAINTAINED
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

An Adapter Library and socketcan bridge for Axiomatic eth-can interface

Maintainers

  • Polymath Robotics

Authors

  • David Tarazi

Axiomatic Adapter

Library and Adapter for Axiomatic CAN-Ethernet converters.

For more information on the decoding/encoding, see:

https://www.notion.so/polymathrobotics/Axiomatic-CAN-to-Ethernet-Converter-08e078d8914f40d6b7cd99ebf39fe1b0

Supported Models

--model Device Protocol reference
ax140900 (default) AX140900 CAN/Ethernet Converter Ethernet to CAN Converter Communication Protocol
ax142100a AX142100A Protocol Converter, Ethernet/RS-422/2x RS-232/CAN UMAX142100A, section 4.2

Every model shares the 11-byte AXIO message header in axiomatic_protocol.hpp. Each model is a subclass of AxiomaticModel (axiomatic_model.hpp) in include/axiomatic_adapter/models/ and src/models/. A model takes bytes and CanFrames only, so it can be used without a socket.

Adding a model

  1. Add include/axiomatic_adapter/models/<model>.hpp and src/models/<model>.cpp with a <model>::<Model> class deriving AxiomaticModel. Override protocolId, encode (build on protocol::encodeMessage), and decodeMessage (one message body; return false for Message IDs that carry no CAN frames). The base class decode splits the buffer into messages and calls decodeMessage for each.
  2. Add the source to the axiomatic_adapter library in CMakeLists.txt.
  3. Add its entry to modelFactories in src/axiomatic_model.cpp.
  4. Add a decode test of the manual’s example bytes in test/axiomatic_model_test.cpp; the round trip test covers every name in modelNames.

Usage

Socketcan-Axiomatic Bridge

ros2 run axiomatic_adapter axiomatic_socketcan_bridge [CAN_INTERFACE_NAME] [IP_ADDRESS] [PORT] [OPTIONAL]--model[-m] [OPTIONAL]--retry-connection[-r] [OPTIONAL]--max-retry-attempts [OPTIONAL]--verbose[-v] [OPTIONAL]--no-tcp-nodelay

# Examples
# generic example to bridge vcan0 with axiomatic using 192.168.50.34:4000
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000

# bridge vcan0 with an AX142100A
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000 --model ax142100a

# this will continue retrying to connect forever and not exit on first failure. It will also print more detailed logs
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000 -r -v

# this will attempt to reconnect a max number of 100 times before failing
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000 -r --max-retry-attempts 100

# disable TCP_NODELAY (re-enable Nagle's algorithm). Default is on; only use if
# you are pushing bulk traffic where throughput matters more than per-frame latency.
# See the Library section below for the full tradeoff discussion.
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000 --no-tcp-nodelay

Library

// construct the adapter
std::string ip_address = "192.168.0.34";
std::string port = "4000";
std::chrono::milliseconds receive_timeout_ms(100);

// the two functions passed in are the receive and error callback functions, receive timeout has a default
polymath::can::AxiomaticAdapter adapter(
  ip_address,
  port,
  [](std::unique_ptr<const CanFrame> /*frame*/) { /* No-op */ },
  [](polymath::can::AxiomaticAdapter::socket_error_string_t /*error*/) { /*do nothing*/ },
  receive_timeout_ms,
  /*tcp_nodelay=*/true,  // optional, defaults to true; see below
  std::make_unique<polymath::can::ax142100a::Ax142100a>()  // optional, defaults to ax140900::Ax140900
);

// open the socket
adapter.openSocket();

// start the reception thread. At this point, it's running
adapter.startReceptionThread();

// on shutdown/destruction, thread will join and socket will close

tcp_nodelay parameter

Controls whether TCP_NODELAY is set on the socket after a successful connect. Defaults to true.

  • true (default): Nagle’s algorithm is disabled. Each CAN frame leaves the host as its own TCP segment. The converter’s delayed-ACK behaviour otherwise interacts with Nagle to produce 30–450 ms inter-segment stalls under sustained CAN traffic, which breaks UDS-style request/response timing (flash sessions, control loops). This is the right choice for any latency-sensitive workload.
  • false: Nagle’s algorithm stays enabled. The kernel may coalesce many small CAN frames into fewer, larger TCP segments. This lowers packets-per-second on the network and reduces per-segment header overhead (~40 bytes IP+TCP per ~24 byte CAN frame payload), at the cost of much higher worst-case latency per individual frame. Useful only if you are pushing bulk data where overall throughput matters more than per-frame latency, or if the network path / receiving device cannot keep up at high PPS.

If you have any doubt, leave it at the default.

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package axiomatic_adapter

Package Dependencies

System Dependencies

Dependant Packages

No known dependants.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged axiomatic_adapter at Robotics Stack Exchange

No version for distro dashing showing humble. Known supported distros are highlighted in the buttons above.
Package symbol

axiomatic_adapter package from socketcan_adapter repo

axiomatic_adapter socketcan_adapter socketcan_adapter_ros

ROS Distro
humble

Package Summary

Version 0.0.1
License Apache-2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/polymathrobotics/socketcan_adapter.git
VCS Type git
VCS Version main
Last Updated 2026-10-20
Dev Status MAINTAINED
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

An Adapter Library and socketcan bridge for Axiomatic eth-can interface

Maintainers

  • Polymath Robotics

Authors

  • David Tarazi

Axiomatic Adapter

Library and Adapter for Axiomatic CAN-Ethernet converters.

For more information on the decoding/encoding, see:

https://www.notion.so/polymathrobotics/Axiomatic-CAN-to-Ethernet-Converter-08e078d8914f40d6b7cd99ebf39fe1b0

Supported Models

--model Device Protocol reference
ax140900 (default) AX140900 CAN/Ethernet Converter Ethernet to CAN Converter Communication Protocol
ax142100a AX142100A Protocol Converter, Ethernet/RS-422/2x RS-232/CAN UMAX142100A, section 4.2

Every model shares the 11-byte AXIO message header in axiomatic_protocol.hpp. Each model is a subclass of AxiomaticModel (axiomatic_model.hpp) in include/axiomatic_adapter/models/ and src/models/. A model takes bytes and CanFrames only, so it can be used without a socket.

Adding a model

  1. Add include/axiomatic_adapter/models/<model>.hpp and src/models/<model>.cpp with a <model>::<Model> class deriving AxiomaticModel. Override protocolId, encode (build on protocol::encodeMessage), and decodeMessage (one message body; return false for Message IDs that carry no CAN frames). The base class decode splits the buffer into messages and calls decodeMessage for each.
  2. Add the source to the axiomatic_adapter library in CMakeLists.txt.
  3. Add its entry to modelFactories in src/axiomatic_model.cpp.
  4. Add a decode test of the manual’s example bytes in test/axiomatic_model_test.cpp; the round trip test covers every name in modelNames.

Usage

Socketcan-Axiomatic Bridge

ros2 run axiomatic_adapter axiomatic_socketcan_bridge [CAN_INTERFACE_NAME] [IP_ADDRESS] [PORT] [OPTIONAL]--model[-m] [OPTIONAL]--retry-connection[-r] [OPTIONAL]--max-retry-attempts [OPTIONAL]--verbose[-v] [OPTIONAL]--no-tcp-nodelay

# Examples
# generic example to bridge vcan0 with axiomatic using 192.168.50.34:4000
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000

# bridge vcan0 with an AX142100A
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000 --model ax142100a

# this will continue retrying to connect forever and not exit on first failure. It will also print more detailed logs
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000 -r -v

# this will attempt to reconnect a max number of 100 times before failing
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000 -r --max-retry-attempts 100

# disable TCP_NODELAY (re-enable Nagle's algorithm). Default is on; only use if
# you are pushing bulk traffic where throughput matters more than per-frame latency.
# See the Library section below for the full tradeoff discussion.
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000 --no-tcp-nodelay

Library

// construct the adapter
std::string ip_address = "192.168.0.34";
std::string port = "4000";
std::chrono::milliseconds receive_timeout_ms(100);

// the two functions passed in are the receive and error callback functions, receive timeout has a default
polymath::can::AxiomaticAdapter adapter(
  ip_address,
  port,
  [](std::unique_ptr<const CanFrame> /*frame*/) { /* No-op */ },
  [](polymath::can::AxiomaticAdapter::socket_error_string_t /*error*/) { /*do nothing*/ },
  receive_timeout_ms,
  /*tcp_nodelay=*/true,  // optional, defaults to true; see below
  std::make_unique<polymath::can::ax142100a::Ax142100a>()  // optional, defaults to ax140900::Ax140900
);

// open the socket
adapter.openSocket();

// start the reception thread. At this point, it's running
adapter.startReceptionThread();

// on shutdown/destruction, thread will join and socket will close

tcp_nodelay parameter

Controls whether TCP_NODELAY is set on the socket after a successful connect. Defaults to true.

  • true (default): Nagle’s algorithm is disabled. Each CAN frame leaves the host as its own TCP segment. The converter’s delayed-ACK behaviour otherwise interacts with Nagle to produce 30–450 ms inter-segment stalls under sustained CAN traffic, which breaks UDS-style request/response timing (flash sessions, control loops). This is the right choice for any latency-sensitive workload.
  • false: Nagle’s algorithm stays enabled. The kernel may coalesce many small CAN frames into fewer, larger TCP segments. This lowers packets-per-second on the network and reduces per-segment header overhead (~40 bytes IP+TCP per ~24 byte CAN frame payload), at the cost of much higher worst-case latency per individual frame. Useful only if you are pushing bulk data where overall throughput matters more than per-frame latency, or if the network path / receiving device cannot keep up at high PPS.

If you have any doubt, leave it at the default.

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package axiomatic_adapter

Package Dependencies

System Dependencies

Dependant Packages

No known dependants.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged axiomatic_adapter at Robotics Stack Exchange

No version for distro galactic showing humble. Known supported distros are highlighted in the buttons above.
Package symbol

axiomatic_adapter package from socketcan_adapter repo

axiomatic_adapter socketcan_adapter socketcan_adapter_ros

ROS Distro
humble

Package Summary

Version 0.0.1
License Apache-2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/polymathrobotics/socketcan_adapter.git
VCS Type git
VCS Version main
Last Updated 2026-10-20
Dev Status MAINTAINED
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

An Adapter Library and socketcan bridge for Axiomatic eth-can interface

Maintainers

  • Polymath Robotics

Authors

  • David Tarazi

Axiomatic Adapter

Library and Adapter for Axiomatic CAN-Ethernet converters.

For more information on the decoding/encoding, see:

https://www.notion.so/polymathrobotics/Axiomatic-CAN-to-Ethernet-Converter-08e078d8914f40d6b7cd99ebf39fe1b0

Supported Models

--model Device Protocol reference
ax140900 (default) AX140900 CAN/Ethernet Converter Ethernet to CAN Converter Communication Protocol
ax142100a AX142100A Protocol Converter, Ethernet/RS-422/2x RS-232/CAN UMAX142100A, section 4.2

Every model shares the 11-byte AXIO message header in axiomatic_protocol.hpp. Each model is a subclass of AxiomaticModel (axiomatic_model.hpp) in include/axiomatic_adapter/models/ and src/models/. A model takes bytes and CanFrames only, so it can be used without a socket.

Adding a model

  1. Add include/axiomatic_adapter/models/<model>.hpp and src/models/<model>.cpp with a <model>::<Model> class deriving AxiomaticModel. Override protocolId, encode (build on protocol::encodeMessage), and decodeMessage (one message body; return false for Message IDs that carry no CAN frames). The base class decode splits the buffer into messages and calls decodeMessage for each.
  2. Add the source to the axiomatic_adapter library in CMakeLists.txt.
  3. Add its entry to modelFactories in src/axiomatic_model.cpp.
  4. Add a decode test of the manual’s example bytes in test/axiomatic_model_test.cpp; the round trip test covers every name in modelNames.

Usage

Socketcan-Axiomatic Bridge

ros2 run axiomatic_adapter axiomatic_socketcan_bridge [CAN_INTERFACE_NAME] [IP_ADDRESS] [PORT] [OPTIONAL]--model[-m] [OPTIONAL]--retry-connection[-r] [OPTIONAL]--max-retry-attempts [OPTIONAL]--verbose[-v] [OPTIONAL]--no-tcp-nodelay

# Examples
# generic example to bridge vcan0 with axiomatic using 192.168.50.34:4000
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000

# bridge vcan0 with an AX142100A
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000 --model ax142100a

# this will continue retrying to connect forever and not exit on first failure. It will also print more detailed logs
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000 -r -v

# this will attempt to reconnect a max number of 100 times before failing
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000 -r --max-retry-attempts 100

# disable TCP_NODELAY (re-enable Nagle's algorithm). Default is on; only use if
# you are pushing bulk traffic where throughput matters more than per-frame latency.
# See the Library section below for the full tradeoff discussion.
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000 --no-tcp-nodelay

Library

// construct the adapter
std::string ip_address = "192.168.0.34";
std::string port = "4000";
std::chrono::milliseconds receive_timeout_ms(100);

// the two functions passed in are the receive and error callback functions, receive timeout has a default
polymath::can::AxiomaticAdapter adapter(
  ip_address,
  port,
  [](std::unique_ptr<const CanFrame> /*frame*/) { /* No-op */ },
  [](polymath::can::AxiomaticAdapter::socket_error_string_t /*error*/) { /*do nothing*/ },
  receive_timeout_ms,
  /*tcp_nodelay=*/true,  // optional, defaults to true; see below
  std::make_unique<polymath::can::ax142100a::Ax142100a>()  // optional, defaults to ax140900::Ax140900
);

// open the socket
adapter.openSocket();

// start the reception thread. At this point, it's running
adapter.startReceptionThread();

// on shutdown/destruction, thread will join and socket will close

tcp_nodelay parameter

Controls whether TCP_NODELAY is set on the socket after a successful connect. Defaults to true.

  • true (default): Nagle’s algorithm is disabled. Each CAN frame leaves the host as its own TCP segment. The converter’s delayed-ACK behaviour otherwise interacts with Nagle to produce 30–450 ms inter-segment stalls under sustained CAN traffic, which breaks UDS-style request/response timing (flash sessions, control loops). This is the right choice for any latency-sensitive workload.
  • false: Nagle’s algorithm stays enabled. The kernel may coalesce many small CAN frames into fewer, larger TCP segments. This lowers packets-per-second on the network and reduces per-segment header overhead (~40 bytes IP+TCP per ~24 byte CAN frame payload), at the cost of much higher worst-case latency per individual frame. Useful only if you are pushing bulk data where overall throughput matters more than per-frame latency, or if the network path / receiving device cannot keep up at high PPS.

If you have any doubt, leave it at the default.

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package axiomatic_adapter

Package Dependencies

System Dependencies

Dependant Packages

No known dependants.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged axiomatic_adapter at Robotics Stack Exchange

No version for distro foxy showing humble. Known supported distros are highlighted in the buttons above.
Package symbol

axiomatic_adapter package from socketcan_adapter repo

axiomatic_adapter socketcan_adapter socketcan_adapter_ros

ROS Distro
humble

Package Summary

Version 0.0.1
License Apache-2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/polymathrobotics/socketcan_adapter.git
VCS Type git
VCS Version main
Last Updated 2026-10-20
Dev Status MAINTAINED
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

An Adapter Library and socketcan bridge for Axiomatic eth-can interface

Maintainers

  • Polymath Robotics

Authors

  • David Tarazi

Axiomatic Adapter

Library and Adapter for Axiomatic CAN-Ethernet converters.

For more information on the decoding/encoding, see:

https://www.notion.so/polymathrobotics/Axiomatic-CAN-to-Ethernet-Converter-08e078d8914f40d6b7cd99ebf39fe1b0

Supported Models

--model Device Protocol reference
ax140900 (default) AX140900 CAN/Ethernet Converter Ethernet to CAN Converter Communication Protocol
ax142100a AX142100A Protocol Converter, Ethernet/RS-422/2x RS-232/CAN UMAX142100A, section 4.2

Every model shares the 11-byte AXIO message header in axiomatic_protocol.hpp. Each model is a subclass of AxiomaticModel (axiomatic_model.hpp) in include/axiomatic_adapter/models/ and src/models/. A model takes bytes and CanFrames only, so it can be used without a socket.

Adding a model

  1. Add include/axiomatic_adapter/models/<model>.hpp and src/models/<model>.cpp with a <model>::<Model> class deriving AxiomaticModel. Override protocolId, encode (build on protocol::encodeMessage), and decodeMessage (one message body; return false for Message IDs that carry no CAN frames). The base class decode splits the buffer into messages and calls decodeMessage for each.
  2. Add the source to the axiomatic_adapter library in CMakeLists.txt.
  3. Add its entry to modelFactories in src/axiomatic_model.cpp.
  4. Add a decode test of the manual’s example bytes in test/axiomatic_model_test.cpp; the round trip test covers every name in modelNames.

Usage

Socketcan-Axiomatic Bridge

ros2 run axiomatic_adapter axiomatic_socketcan_bridge [CAN_INTERFACE_NAME] [IP_ADDRESS] [PORT] [OPTIONAL]--model[-m] [OPTIONAL]--retry-connection[-r] [OPTIONAL]--max-retry-attempts [OPTIONAL]--verbose[-v] [OPTIONAL]--no-tcp-nodelay

# Examples
# generic example to bridge vcan0 with axiomatic using 192.168.50.34:4000
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000

# bridge vcan0 with an AX142100A
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000 --model ax142100a

# this will continue retrying to connect forever and not exit on first failure. It will also print more detailed logs
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000 -r -v

# this will attempt to reconnect a max number of 100 times before failing
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000 -r --max-retry-attempts 100

# disable TCP_NODELAY (re-enable Nagle's algorithm). Default is on; only use if
# you are pushing bulk traffic where throughput matters more than per-frame latency.
# See the Library section below for the full tradeoff discussion.
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000 --no-tcp-nodelay

Library

// construct the adapter
std::string ip_address = "192.168.0.34";
std::string port = "4000";
std::chrono::milliseconds receive_timeout_ms(100);

// the two functions passed in are the receive and error callback functions, receive timeout has a default
polymath::can::AxiomaticAdapter adapter(
  ip_address,
  port,
  [](std::unique_ptr<const CanFrame> /*frame*/) { /* No-op */ },
  [](polymath::can::AxiomaticAdapter::socket_error_string_t /*error*/) { /*do nothing*/ },
  receive_timeout_ms,
  /*tcp_nodelay=*/true,  // optional, defaults to true; see below
  std::make_unique<polymath::can::ax142100a::Ax142100a>()  // optional, defaults to ax140900::Ax140900
);

// open the socket
adapter.openSocket();

// start the reception thread. At this point, it's running
adapter.startReceptionThread();

// on shutdown/destruction, thread will join and socket will close

tcp_nodelay parameter

Controls whether TCP_NODELAY is set on the socket after a successful connect. Defaults to true.

  • true (default): Nagle’s algorithm is disabled. Each CAN frame leaves the host as its own TCP segment. The converter’s delayed-ACK behaviour otherwise interacts with Nagle to produce 30–450 ms inter-segment stalls under sustained CAN traffic, which breaks UDS-style request/response timing (flash sessions, control loops). This is the right choice for any latency-sensitive workload.
  • false: Nagle’s algorithm stays enabled. The kernel may coalesce many small CAN frames into fewer, larger TCP segments. This lowers packets-per-second on the network and reduces per-segment header overhead (~40 bytes IP+TCP per ~24 byte CAN frame payload), at the cost of much higher worst-case latency per individual frame. Useful only if you are pushing bulk data where overall throughput matters more than per-frame latency, or if the network path / receiving device cannot keep up at high PPS.

If you have any doubt, leave it at the default.

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package axiomatic_adapter

Package Dependencies

System Dependencies

Dependant Packages

No known dependants.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged axiomatic_adapter at Robotics Stack Exchange

No version for distro iron showing humble. Known supported distros are highlighted in the buttons above.
Package symbol

axiomatic_adapter package from socketcan_adapter repo

axiomatic_adapter socketcan_adapter socketcan_adapter_ros

ROS Distro
humble

Package Summary

Version 0.0.1
License Apache-2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/polymathrobotics/socketcan_adapter.git
VCS Type git
VCS Version main
Last Updated 2026-10-20
Dev Status MAINTAINED
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

An Adapter Library and socketcan bridge for Axiomatic eth-can interface

Maintainers

  • Polymath Robotics

Authors

  • David Tarazi

Axiomatic Adapter

Library and Adapter for Axiomatic CAN-Ethernet converters.

For more information on the decoding/encoding, see:

https://www.notion.so/polymathrobotics/Axiomatic-CAN-to-Ethernet-Converter-08e078d8914f40d6b7cd99ebf39fe1b0

Supported Models

--model Device Protocol reference
ax140900 (default) AX140900 CAN/Ethernet Converter Ethernet to CAN Converter Communication Protocol
ax142100a AX142100A Protocol Converter, Ethernet/RS-422/2x RS-232/CAN UMAX142100A, section 4.2

Every model shares the 11-byte AXIO message header in axiomatic_protocol.hpp. Each model is a subclass of AxiomaticModel (axiomatic_model.hpp) in include/axiomatic_adapter/models/ and src/models/. A model takes bytes and CanFrames only, so it can be used without a socket.

Adding a model

  1. Add include/axiomatic_adapter/models/<model>.hpp and src/models/<model>.cpp with a <model>::<Model> class deriving AxiomaticModel. Override protocolId, encode (build on protocol::encodeMessage), and decodeMessage (one message body; return false for Message IDs that carry no CAN frames). The base class decode splits the buffer into messages and calls decodeMessage for each.
  2. Add the source to the axiomatic_adapter library in CMakeLists.txt.
  3. Add its entry to modelFactories in src/axiomatic_model.cpp.
  4. Add a decode test of the manual’s example bytes in test/axiomatic_model_test.cpp; the round trip test covers every name in modelNames.

Usage

Socketcan-Axiomatic Bridge

ros2 run axiomatic_adapter axiomatic_socketcan_bridge [CAN_INTERFACE_NAME] [IP_ADDRESS] [PORT] [OPTIONAL]--model[-m] [OPTIONAL]--retry-connection[-r] [OPTIONAL]--max-retry-attempts [OPTIONAL]--verbose[-v] [OPTIONAL]--no-tcp-nodelay

# Examples
# generic example to bridge vcan0 with axiomatic using 192.168.50.34:4000
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000

# bridge vcan0 with an AX142100A
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000 --model ax142100a

# this will continue retrying to connect forever and not exit on first failure. It will also print more detailed logs
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000 -r -v

# this will attempt to reconnect a max number of 100 times before failing
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000 -r --max-retry-attempts 100

# disable TCP_NODELAY (re-enable Nagle's algorithm). Default is on; only use if
# you are pushing bulk traffic where throughput matters more than per-frame latency.
# See the Library section below for the full tradeoff discussion.
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000 --no-tcp-nodelay

Library

// construct the adapter
std::string ip_address = "192.168.0.34";
std::string port = "4000";
std::chrono::milliseconds receive_timeout_ms(100);

// the two functions passed in are the receive and error callback functions, receive timeout has a default
polymath::can::AxiomaticAdapter adapter(
  ip_address,
  port,
  [](std::unique_ptr<const CanFrame> /*frame*/) { /* No-op */ },
  [](polymath::can::AxiomaticAdapter::socket_error_string_t /*error*/) { /*do nothing*/ },
  receive_timeout_ms,
  /*tcp_nodelay=*/true,  // optional, defaults to true; see below
  std::make_unique<polymath::can::ax142100a::Ax142100a>()  // optional, defaults to ax140900::Ax140900
);

// open the socket
adapter.openSocket();

// start the reception thread. At this point, it's running
adapter.startReceptionThread();

// on shutdown/destruction, thread will join and socket will close

tcp_nodelay parameter

Controls whether TCP_NODELAY is set on the socket after a successful connect. Defaults to true.

  • true (default): Nagle’s algorithm is disabled. Each CAN frame leaves the host as its own TCP segment. The converter’s delayed-ACK behaviour otherwise interacts with Nagle to produce 30–450 ms inter-segment stalls under sustained CAN traffic, which breaks UDS-style request/response timing (flash sessions, control loops). This is the right choice for any latency-sensitive workload.
  • false: Nagle’s algorithm stays enabled. The kernel may coalesce many small CAN frames into fewer, larger TCP segments. This lowers packets-per-second on the network and reduces per-segment header overhead (~40 bytes IP+TCP per ~24 byte CAN frame payload), at the cost of much higher worst-case latency per individual frame. Useful only if you are pushing bulk data where overall throughput matters more than per-frame latency, or if the network path / receiving device cannot keep up at high PPS.

If you have any doubt, leave it at the default.

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package axiomatic_adapter

Package Dependencies

System Dependencies

Dependant Packages

No known dependants.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged axiomatic_adapter at Robotics Stack Exchange

No version for distro lunar showing humble. Known supported distros are highlighted in the buttons above.
Package symbol

axiomatic_adapter package from socketcan_adapter repo

axiomatic_adapter socketcan_adapter socketcan_adapter_ros

ROS Distro
humble

Package Summary

Version 0.0.1
License Apache-2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/polymathrobotics/socketcan_adapter.git
VCS Type git
VCS Version main
Last Updated 2026-10-20
Dev Status MAINTAINED
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

An Adapter Library and socketcan bridge for Axiomatic eth-can interface

Maintainers

  • Polymath Robotics

Authors

  • David Tarazi

Axiomatic Adapter

Library and Adapter for Axiomatic CAN-Ethernet converters.

For more information on the decoding/encoding, see:

https://www.notion.so/polymathrobotics/Axiomatic-CAN-to-Ethernet-Converter-08e078d8914f40d6b7cd99ebf39fe1b0

Supported Models

--model Device Protocol reference
ax140900 (default) AX140900 CAN/Ethernet Converter Ethernet to CAN Converter Communication Protocol
ax142100a AX142100A Protocol Converter, Ethernet/RS-422/2x RS-232/CAN UMAX142100A, section 4.2

Every model shares the 11-byte AXIO message header in axiomatic_protocol.hpp. Each model is a subclass of AxiomaticModel (axiomatic_model.hpp) in include/axiomatic_adapter/models/ and src/models/. A model takes bytes and CanFrames only, so it can be used without a socket.

Adding a model

  1. Add include/axiomatic_adapter/models/<model>.hpp and src/models/<model>.cpp with a <model>::<Model> class deriving AxiomaticModel. Override protocolId, encode (build on protocol::encodeMessage), and decodeMessage (one message body; return false for Message IDs that carry no CAN frames). The base class decode splits the buffer into messages and calls decodeMessage for each.
  2. Add the source to the axiomatic_adapter library in CMakeLists.txt.
  3. Add its entry to modelFactories in src/axiomatic_model.cpp.
  4. Add a decode test of the manual’s example bytes in test/axiomatic_model_test.cpp; the round trip test covers every name in modelNames.

Usage

Socketcan-Axiomatic Bridge

ros2 run axiomatic_adapter axiomatic_socketcan_bridge [CAN_INTERFACE_NAME] [IP_ADDRESS] [PORT] [OPTIONAL]--model[-m] [OPTIONAL]--retry-connection[-r] [OPTIONAL]--max-retry-attempts [OPTIONAL]--verbose[-v] [OPTIONAL]--no-tcp-nodelay

# Examples
# generic example to bridge vcan0 with axiomatic using 192.168.50.34:4000
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000

# bridge vcan0 with an AX142100A
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000 --model ax142100a

# this will continue retrying to connect forever and not exit on first failure. It will also print more detailed logs
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000 -r -v

# this will attempt to reconnect a max number of 100 times before failing
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000 -r --max-retry-attempts 100

# disable TCP_NODELAY (re-enable Nagle's algorithm). Default is on; only use if
# you are pushing bulk traffic where throughput matters more than per-frame latency.
# See the Library section below for the full tradeoff discussion.
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000 --no-tcp-nodelay

Library

// construct the adapter
std::string ip_address = "192.168.0.34";
std::string port = "4000";
std::chrono::milliseconds receive_timeout_ms(100);

// the two functions passed in are the receive and error callback functions, receive timeout has a default
polymath::can::AxiomaticAdapter adapter(
  ip_address,
  port,
  [](std::unique_ptr<const CanFrame> /*frame*/) { /* No-op */ },
  [](polymath::can::AxiomaticAdapter::socket_error_string_t /*error*/) { /*do nothing*/ },
  receive_timeout_ms,
  /*tcp_nodelay=*/true,  // optional, defaults to true; see below
  std::make_unique<polymath::can::ax142100a::Ax142100a>()  // optional, defaults to ax140900::Ax140900
);

// open the socket
adapter.openSocket();

// start the reception thread. At this point, it's running
adapter.startReceptionThread();

// on shutdown/destruction, thread will join and socket will close

tcp_nodelay parameter

Controls whether TCP_NODELAY is set on the socket after a successful connect. Defaults to true.

  • true (default): Nagle’s algorithm is disabled. Each CAN frame leaves the host as its own TCP segment. The converter’s delayed-ACK behaviour otherwise interacts with Nagle to produce 30–450 ms inter-segment stalls under sustained CAN traffic, which breaks UDS-style request/response timing (flash sessions, control loops). This is the right choice for any latency-sensitive workload.
  • false: Nagle’s algorithm stays enabled. The kernel may coalesce many small CAN frames into fewer, larger TCP segments. This lowers packets-per-second on the network and reduces per-segment header overhead (~40 bytes IP+TCP per ~24 byte CAN frame payload), at the cost of much higher worst-case latency per individual frame. Useful only if you are pushing bulk data where overall throughput matters more than per-frame latency, or if the network path / receiving device cannot keep up at high PPS.

If you have any doubt, leave it at the default.

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package axiomatic_adapter

Package Dependencies

System Dependencies

Dependant Packages

No known dependants.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged axiomatic_adapter at Robotics Stack Exchange

No version for distro jade showing humble. Known supported distros are highlighted in the buttons above.
Package symbol

axiomatic_adapter package from socketcan_adapter repo

axiomatic_adapter socketcan_adapter socketcan_adapter_ros

ROS Distro
humble

Package Summary

Version 0.0.1
License Apache-2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/polymathrobotics/socketcan_adapter.git
VCS Type git
VCS Version main
Last Updated 2026-10-20
Dev Status MAINTAINED
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

An Adapter Library and socketcan bridge for Axiomatic eth-can interface

Maintainers

  • Polymath Robotics

Authors

  • David Tarazi

Axiomatic Adapter

Library and Adapter for Axiomatic CAN-Ethernet converters.

For more information on the decoding/encoding, see:

https://www.notion.so/polymathrobotics/Axiomatic-CAN-to-Ethernet-Converter-08e078d8914f40d6b7cd99ebf39fe1b0

Supported Models

--model Device Protocol reference
ax140900 (default) AX140900 CAN/Ethernet Converter Ethernet to CAN Converter Communication Protocol
ax142100a AX142100A Protocol Converter, Ethernet/RS-422/2x RS-232/CAN UMAX142100A, section 4.2

Every model shares the 11-byte AXIO message header in axiomatic_protocol.hpp. Each model is a subclass of AxiomaticModel (axiomatic_model.hpp) in include/axiomatic_adapter/models/ and src/models/. A model takes bytes and CanFrames only, so it can be used without a socket.

Adding a model

  1. Add include/axiomatic_adapter/models/<model>.hpp and src/models/<model>.cpp with a <model>::<Model> class deriving AxiomaticModel. Override protocolId, encode (build on protocol::encodeMessage), and decodeMessage (one message body; return false for Message IDs that carry no CAN frames). The base class decode splits the buffer into messages and calls decodeMessage for each.
  2. Add the source to the axiomatic_adapter library in CMakeLists.txt.
  3. Add its entry to modelFactories in src/axiomatic_model.cpp.
  4. Add a decode test of the manual’s example bytes in test/axiomatic_model_test.cpp; the round trip test covers every name in modelNames.

Usage

Socketcan-Axiomatic Bridge

ros2 run axiomatic_adapter axiomatic_socketcan_bridge [CAN_INTERFACE_NAME] [IP_ADDRESS] [PORT] [OPTIONAL]--model[-m] [OPTIONAL]--retry-connection[-r] [OPTIONAL]--max-retry-attempts [OPTIONAL]--verbose[-v] [OPTIONAL]--no-tcp-nodelay

# Examples
# generic example to bridge vcan0 with axiomatic using 192.168.50.34:4000
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000

# bridge vcan0 with an AX142100A
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000 --model ax142100a

# this will continue retrying to connect forever and not exit on first failure. It will also print more detailed logs
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000 -r -v

# this will attempt to reconnect a max number of 100 times before failing
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000 -r --max-retry-attempts 100

# disable TCP_NODELAY (re-enable Nagle's algorithm). Default is on; only use if
# you are pushing bulk traffic where throughput matters more than per-frame latency.
# See the Library section below for the full tradeoff discussion.
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000 --no-tcp-nodelay

Library

// construct the adapter
std::string ip_address = "192.168.0.34";
std::string port = "4000";
std::chrono::milliseconds receive_timeout_ms(100);

// the two functions passed in are the receive and error callback functions, receive timeout has a default
polymath::can::AxiomaticAdapter adapter(
  ip_address,
  port,
  [](std::unique_ptr<const CanFrame> /*frame*/) { /* No-op */ },
  [](polymath::can::AxiomaticAdapter::socket_error_string_t /*error*/) { /*do nothing*/ },
  receive_timeout_ms,
  /*tcp_nodelay=*/true,  // optional, defaults to true; see below
  std::make_unique<polymath::can::ax142100a::Ax142100a>()  // optional, defaults to ax140900::Ax140900
);

// open the socket
adapter.openSocket();

// start the reception thread. At this point, it's running
adapter.startReceptionThread();

// on shutdown/destruction, thread will join and socket will close

tcp_nodelay parameter

Controls whether TCP_NODELAY is set on the socket after a successful connect. Defaults to true.

  • true (default): Nagle’s algorithm is disabled. Each CAN frame leaves the host as its own TCP segment. The converter’s delayed-ACK behaviour otherwise interacts with Nagle to produce 30–450 ms inter-segment stalls under sustained CAN traffic, which breaks UDS-style request/response timing (flash sessions, control loops). This is the right choice for any latency-sensitive workload.
  • false: Nagle’s algorithm stays enabled. The kernel may coalesce many small CAN frames into fewer, larger TCP segments. This lowers packets-per-second on the network and reduces per-segment header overhead (~40 bytes IP+TCP per ~24 byte CAN frame payload), at the cost of much higher worst-case latency per individual frame. Useful only if you are pushing bulk data where overall throughput matters more than per-frame latency, or if the network path / receiving device cannot keep up at high PPS.

If you have any doubt, leave it at the default.

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package axiomatic_adapter

Package Dependencies

System Dependencies

Dependant Packages

No known dependants.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged axiomatic_adapter at Robotics Stack Exchange

No version for distro indigo showing humble. Known supported distros are highlighted in the buttons above.
Package symbol

axiomatic_adapter package from socketcan_adapter repo

axiomatic_adapter socketcan_adapter socketcan_adapter_ros

ROS Distro
humble

Package Summary

Version 0.0.1
License Apache-2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/polymathrobotics/socketcan_adapter.git
VCS Type git
VCS Version main
Last Updated 2026-10-20
Dev Status MAINTAINED
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

An Adapter Library and socketcan bridge for Axiomatic eth-can interface

Maintainers

  • Polymath Robotics

Authors

  • David Tarazi

Axiomatic Adapter

Library and Adapter for Axiomatic CAN-Ethernet converters.

For more information on the decoding/encoding, see:

https://www.notion.so/polymathrobotics/Axiomatic-CAN-to-Ethernet-Converter-08e078d8914f40d6b7cd99ebf39fe1b0

Supported Models

--model Device Protocol reference
ax140900 (default) AX140900 CAN/Ethernet Converter Ethernet to CAN Converter Communication Protocol
ax142100a AX142100A Protocol Converter, Ethernet/RS-422/2x RS-232/CAN UMAX142100A, section 4.2

Every model shares the 11-byte AXIO message header in axiomatic_protocol.hpp. Each model is a subclass of AxiomaticModel (axiomatic_model.hpp) in include/axiomatic_adapter/models/ and src/models/. A model takes bytes and CanFrames only, so it can be used without a socket.

Adding a model

  1. Add include/axiomatic_adapter/models/<model>.hpp and src/models/<model>.cpp with a <model>::<Model> class deriving AxiomaticModel. Override protocolId, encode (build on protocol::encodeMessage), and decodeMessage (one message body; return false for Message IDs that carry no CAN frames). The base class decode splits the buffer into messages and calls decodeMessage for each.
  2. Add the source to the axiomatic_adapter library in CMakeLists.txt.
  3. Add its entry to modelFactories in src/axiomatic_model.cpp.
  4. Add a decode test of the manual’s example bytes in test/axiomatic_model_test.cpp; the round trip test covers every name in modelNames.

Usage

Socketcan-Axiomatic Bridge

ros2 run axiomatic_adapter axiomatic_socketcan_bridge [CAN_INTERFACE_NAME] [IP_ADDRESS] [PORT] [OPTIONAL]--model[-m] [OPTIONAL]--retry-connection[-r] [OPTIONAL]--max-retry-attempts [OPTIONAL]--verbose[-v] [OPTIONAL]--no-tcp-nodelay

# Examples
# generic example to bridge vcan0 with axiomatic using 192.168.50.34:4000
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000

# bridge vcan0 with an AX142100A
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000 --model ax142100a

# this will continue retrying to connect forever and not exit on first failure. It will also print more detailed logs
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000 -r -v

# this will attempt to reconnect a max number of 100 times before failing
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000 -r --max-retry-attempts 100

# disable TCP_NODELAY (re-enable Nagle's algorithm). Default is on; only use if
# you are pushing bulk traffic where throughput matters more than per-frame latency.
# See the Library section below for the full tradeoff discussion.
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000 --no-tcp-nodelay

Library

// construct the adapter
std::string ip_address = "192.168.0.34";
std::string port = "4000";
std::chrono::milliseconds receive_timeout_ms(100);

// the two functions passed in are the receive and error callback functions, receive timeout has a default
polymath::can::AxiomaticAdapter adapter(
  ip_address,
  port,
  [](std::unique_ptr<const CanFrame> /*frame*/) { /* No-op */ },
  [](polymath::can::AxiomaticAdapter::socket_error_string_t /*error*/) { /*do nothing*/ },
  receive_timeout_ms,
  /*tcp_nodelay=*/true,  // optional, defaults to true; see below
  std::make_unique<polymath::can::ax142100a::Ax142100a>()  // optional, defaults to ax140900::Ax140900
);

// open the socket
adapter.openSocket();

// start the reception thread. At this point, it's running
adapter.startReceptionThread();

// on shutdown/destruction, thread will join and socket will close

tcp_nodelay parameter

Controls whether TCP_NODELAY is set on the socket after a successful connect. Defaults to true.

  • true (default): Nagle’s algorithm is disabled. Each CAN frame leaves the host as its own TCP segment. The converter’s delayed-ACK behaviour otherwise interacts with Nagle to produce 30–450 ms inter-segment stalls under sustained CAN traffic, which breaks UDS-style request/response timing (flash sessions, control loops). This is the right choice for any latency-sensitive workload.
  • false: Nagle’s algorithm stays enabled. The kernel may coalesce many small CAN frames into fewer, larger TCP segments. This lowers packets-per-second on the network and reduces per-segment header overhead (~40 bytes IP+TCP per ~24 byte CAN frame payload), at the cost of much higher worst-case latency per individual frame. Useful only if you are pushing bulk data where overall throughput matters more than per-frame latency, or if the network path / receiving device cannot keep up at high PPS.

If you have any doubt, leave it at the default.

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package axiomatic_adapter

Package Dependencies

System Dependencies

Dependant Packages

No known dependants.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged axiomatic_adapter at Robotics Stack Exchange

No version for distro hydro showing humble. Known supported distros are highlighted in the buttons above.
Package symbol

axiomatic_adapter package from socketcan_adapter repo

axiomatic_adapter socketcan_adapter socketcan_adapter_ros

ROS Distro
humble

Package Summary

Version 0.0.1
License Apache-2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/polymathrobotics/socketcan_adapter.git
VCS Type git
VCS Version main
Last Updated 2026-10-20
Dev Status MAINTAINED
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

An Adapter Library and socketcan bridge for Axiomatic eth-can interface

Maintainers

  • Polymath Robotics

Authors

  • David Tarazi

Axiomatic Adapter

Library and Adapter for Axiomatic CAN-Ethernet converters.

For more information on the decoding/encoding, see:

https://www.notion.so/polymathrobotics/Axiomatic-CAN-to-Ethernet-Converter-08e078d8914f40d6b7cd99ebf39fe1b0

Supported Models

--model Device Protocol reference
ax140900 (default) AX140900 CAN/Ethernet Converter Ethernet to CAN Converter Communication Protocol
ax142100a AX142100A Protocol Converter, Ethernet/RS-422/2x RS-232/CAN UMAX142100A, section 4.2

Every model shares the 11-byte AXIO message header in axiomatic_protocol.hpp. Each model is a subclass of AxiomaticModel (axiomatic_model.hpp) in include/axiomatic_adapter/models/ and src/models/. A model takes bytes and CanFrames only, so it can be used without a socket.

Adding a model

  1. Add include/axiomatic_adapter/models/<model>.hpp and src/models/<model>.cpp with a <model>::<Model> class deriving AxiomaticModel. Override protocolId, encode (build on protocol::encodeMessage), and decodeMessage (one message body; return false for Message IDs that carry no CAN frames). The base class decode splits the buffer into messages and calls decodeMessage for each.
  2. Add the source to the axiomatic_adapter library in CMakeLists.txt.
  3. Add its entry to modelFactories in src/axiomatic_model.cpp.
  4. Add a decode test of the manual’s example bytes in test/axiomatic_model_test.cpp; the round trip test covers every name in modelNames.

Usage

Socketcan-Axiomatic Bridge

ros2 run axiomatic_adapter axiomatic_socketcan_bridge [CAN_INTERFACE_NAME] [IP_ADDRESS] [PORT] [OPTIONAL]--model[-m] [OPTIONAL]--retry-connection[-r] [OPTIONAL]--max-retry-attempts [OPTIONAL]--verbose[-v] [OPTIONAL]--no-tcp-nodelay

# Examples
# generic example to bridge vcan0 with axiomatic using 192.168.50.34:4000
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000

# bridge vcan0 with an AX142100A
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000 --model ax142100a

# this will continue retrying to connect forever and not exit on first failure. It will also print more detailed logs
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000 -r -v

# this will attempt to reconnect a max number of 100 times before failing
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000 -r --max-retry-attempts 100

# disable TCP_NODELAY (re-enable Nagle's algorithm). Default is on; only use if
# you are pushing bulk traffic where throughput matters more than per-frame latency.
# See the Library section below for the full tradeoff discussion.
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000 --no-tcp-nodelay

Library

// construct the adapter
std::string ip_address = "192.168.0.34";
std::string port = "4000";
std::chrono::milliseconds receive_timeout_ms(100);

// the two functions passed in are the receive and error callback functions, receive timeout has a default
polymath::can::AxiomaticAdapter adapter(
  ip_address,
  port,
  [](std::unique_ptr<const CanFrame> /*frame*/) { /* No-op */ },
  [](polymath::can::AxiomaticAdapter::socket_error_string_t /*error*/) { /*do nothing*/ },
  receive_timeout_ms,
  /*tcp_nodelay=*/true,  // optional, defaults to true; see below
  std::make_unique<polymath::can::ax142100a::Ax142100a>()  // optional, defaults to ax140900::Ax140900
);

// open the socket
adapter.openSocket();

// start the reception thread. At this point, it's running
adapter.startReceptionThread();

// on shutdown/destruction, thread will join and socket will close

tcp_nodelay parameter

Controls whether TCP_NODELAY is set on the socket after a successful connect. Defaults to true.

  • true (default): Nagle’s algorithm is disabled. Each CAN frame leaves the host as its own TCP segment. The converter’s delayed-ACK behaviour otherwise interacts with Nagle to produce 30–450 ms inter-segment stalls under sustained CAN traffic, which breaks UDS-style request/response timing (flash sessions, control loops). This is the right choice for any latency-sensitive workload.
  • false: Nagle’s algorithm stays enabled. The kernel may coalesce many small CAN frames into fewer, larger TCP segments. This lowers packets-per-second on the network and reduces per-segment header overhead (~40 bytes IP+TCP per ~24 byte CAN frame payload), at the cost of much higher worst-case latency per individual frame. Useful only if you are pushing bulk data where overall throughput matters more than per-frame latency, or if the network path / receiving device cannot keep up at high PPS.

If you have any doubt, leave it at the default.

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package axiomatic_adapter

Package Dependencies

System Dependencies

Dependant Packages

No known dependants.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged axiomatic_adapter at Robotics Stack Exchange

No version for distro kinetic showing humble. Known supported distros are highlighted in the buttons above.
Package symbol

axiomatic_adapter package from socketcan_adapter repo

axiomatic_adapter socketcan_adapter socketcan_adapter_ros

ROS Distro
humble

Package Summary

Version 0.0.1
License Apache-2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/polymathrobotics/socketcan_adapter.git
VCS Type git
VCS Version main
Last Updated 2026-10-20
Dev Status MAINTAINED
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

An Adapter Library and socketcan bridge for Axiomatic eth-can interface

Maintainers

  • Polymath Robotics

Authors

  • David Tarazi

Axiomatic Adapter

Library and Adapter for Axiomatic CAN-Ethernet converters.

For more information on the decoding/encoding, see:

https://www.notion.so/polymathrobotics/Axiomatic-CAN-to-Ethernet-Converter-08e078d8914f40d6b7cd99ebf39fe1b0

Supported Models

--model Device Protocol reference
ax140900 (default) AX140900 CAN/Ethernet Converter Ethernet to CAN Converter Communication Protocol
ax142100a AX142100A Protocol Converter, Ethernet/RS-422/2x RS-232/CAN UMAX142100A, section 4.2

Every model shares the 11-byte AXIO message header in axiomatic_protocol.hpp. Each model is a subclass of AxiomaticModel (axiomatic_model.hpp) in include/axiomatic_adapter/models/ and src/models/. A model takes bytes and CanFrames only, so it can be used without a socket.

Adding a model

  1. Add include/axiomatic_adapter/models/<model>.hpp and src/models/<model>.cpp with a <model>::<Model> class deriving AxiomaticModel. Override protocolId, encode (build on protocol::encodeMessage), and decodeMessage (one message body; return false for Message IDs that carry no CAN frames). The base class decode splits the buffer into messages and calls decodeMessage for each.
  2. Add the source to the axiomatic_adapter library in CMakeLists.txt.
  3. Add its entry to modelFactories in src/axiomatic_model.cpp.
  4. Add a decode test of the manual’s example bytes in test/axiomatic_model_test.cpp; the round trip test covers every name in modelNames.

Usage

Socketcan-Axiomatic Bridge

ros2 run axiomatic_adapter axiomatic_socketcan_bridge [CAN_INTERFACE_NAME] [IP_ADDRESS] [PORT] [OPTIONAL]--model[-m] [OPTIONAL]--retry-connection[-r] [OPTIONAL]--max-retry-attempts [OPTIONAL]--verbose[-v] [OPTIONAL]--no-tcp-nodelay

# Examples
# generic example to bridge vcan0 with axiomatic using 192.168.50.34:4000
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000

# bridge vcan0 with an AX142100A
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000 --model ax142100a

# this will continue retrying to connect forever and not exit on first failure. It will also print more detailed logs
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000 -r -v

# this will attempt to reconnect a max number of 100 times before failing
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000 -r --max-retry-attempts 100

# disable TCP_NODELAY (re-enable Nagle's algorithm). Default is on; only use if
# you are pushing bulk traffic where throughput matters more than per-frame latency.
# See the Library section below for the full tradeoff discussion.
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000 --no-tcp-nodelay

Library

// construct the adapter
std::string ip_address = "192.168.0.34";
std::string port = "4000";
std::chrono::milliseconds receive_timeout_ms(100);

// the two functions passed in are the receive and error callback functions, receive timeout has a default
polymath::can::AxiomaticAdapter adapter(
  ip_address,
  port,
  [](std::unique_ptr<const CanFrame> /*frame*/) { /* No-op */ },
  [](polymath::can::AxiomaticAdapter::socket_error_string_t /*error*/) { /*do nothing*/ },
  receive_timeout_ms,
  /*tcp_nodelay=*/true,  // optional, defaults to true; see below
  std::make_unique<polymath::can::ax142100a::Ax142100a>()  // optional, defaults to ax140900::Ax140900
);

// open the socket
adapter.openSocket();

// start the reception thread. At this point, it's running
adapter.startReceptionThread();

// on shutdown/destruction, thread will join and socket will close

tcp_nodelay parameter

Controls whether TCP_NODELAY is set on the socket after a successful connect. Defaults to true.

  • true (default): Nagle’s algorithm is disabled. Each CAN frame leaves the host as its own TCP segment. The converter’s delayed-ACK behaviour otherwise interacts with Nagle to produce 30–450 ms inter-segment stalls under sustained CAN traffic, which breaks UDS-style request/response timing (flash sessions, control loops). This is the right choice for any latency-sensitive workload.
  • false: Nagle’s algorithm stays enabled. The kernel may coalesce many small CAN frames into fewer, larger TCP segments. This lowers packets-per-second on the network and reduces per-segment header overhead (~40 bytes IP+TCP per ~24 byte CAN frame payload), at the cost of much higher worst-case latency per individual frame. Useful only if you are pushing bulk data where overall throughput matters more than per-frame latency, or if the network path / receiving device cannot keep up at high PPS.

If you have any doubt, leave it at the default.

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package axiomatic_adapter

Package Dependencies

System Dependencies

Dependant Packages

No known dependants.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged axiomatic_adapter at Robotics Stack Exchange

No version for distro melodic showing humble. Known supported distros are highlighted in the buttons above.
Package symbol

axiomatic_adapter package from socketcan_adapter repo

axiomatic_adapter socketcan_adapter socketcan_adapter_ros

ROS Distro
humble

Package Summary

Version 0.0.1
License Apache-2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/polymathrobotics/socketcan_adapter.git
VCS Type git
VCS Version main
Last Updated 2026-10-20
Dev Status MAINTAINED
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

An Adapter Library and socketcan bridge for Axiomatic eth-can interface

Maintainers

  • Polymath Robotics

Authors

  • David Tarazi

Axiomatic Adapter

Library and Adapter for Axiomatic CAN-Ethernet converters.

For more information on the decoding/encoding, see:

https://www.notion.so/polymathrobotics/Axiomatic-CAN-to-Ethernet-Converter-08e078d8914f40d6b7cd99ebf39fe1b0

Supported Models

--model Device Protocol reference
ax140900 (default) AX140900 CAN/Ethernet Converter Ethernet to CAN Converter Communication Protocol
ax142100a AX142100A Protocol Converter, Ethernet/RS-422/2x RS-232/CAN UMAX142100A, section 4.2

Every model shares the 11-byte AXIO message header in axiomatic_protocol.hpp. Each model is a subclass of AxiomaticModel (axiomatic_model.hpp) in include/axiomatic_adapter/models/ and src/models/. A model takes bytes and CanFrames only, so it can be used without a socket.

Adding a model

  1. Add include/axiomatic_adapter/models/<model>.hpp and src/models/<model>.cpp with a <model>::<Model> class deriving AxiomaticModel. Override protocolId, encode (build on protocol::encodeMessage), and decodeMessage (one message body; return false for Message IDs that carry no CAN frames). The base class decode splits the buffer into messages and calls decodeMessage for each.
  2. Add the source to the axiomatic_adapter library in CMakeLists.txt.
  3. Add its entry to modelFactories in src/axiomatic_model.cpp.
  4. Add a decode test of the manual’s example bytes in test/axiomatic_model_test.cpp; the round trip test covers every name in modelNames.

Usage

Socketcan-Axiomatic Bridge

ros2 run axiomatic_adapter axiomatic_socketcan_bridge [CAN_INTERFACE_NAME] [IP_ADDRESS] [PORT] [OPTIONAL]--model[-m] [OPTIONAL]--retry-connection[-r] [OPTIONAL]--max-retry-attempts [OPTIONAL]--verbose[-v] [OPTIONAL]--no-tcp-nodelay

# Examples
# generic example to bridge vcan0 with axiomatic using 192.168.50.34:4000
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000

# bridge vcan0 with an AX142100A
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000 --model ax142100a

# this will continue retrying to connect forever and not exit on first failure. It will also print more detailed logs
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000 -r -v

# this will attempt to reconnect a max number of 100 times before failing
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000 -r --max-retry-attempts 100

# disable TCP_NODELAY (re-enable Nagle's algorithm). Default is on; only use if
# you are pushing bulk traffic where throughput matters more than per-frame latency.
# See the Library section below for the full tradeoff discussion.
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000 --no-tcp-nodelay

Library

// construct the adapter
std::string ip_address = "192.168.0.34";
std::string port = "4000";
std::chrono::milliseconds receive_timeout_ms(100);

// the two functions passed in are the receive and error callback functions, receive timeout has a default
polymath::can::AxiomaticAdapter adapter(
  ip_address,
  port,
  [](std::unique_ptr<const CanFrame> /*frame*/) { /* No-op */ },
  [](polymath::can::AxiomaticAdapter::socket_error_string_t /*error*/) { /*do nothing*/ },
  receive_timeout_ms,
  /*tcp_nodelay=*/true,  // optional, defaults to true; see below
  std::make_unique<polymath::can::ax142100a::Ax142100a>()  // optional, defaults to ax140900::Ax140900
);

// open the socket
adapter.openSocket();

// start the reception thread. At this point, it's running
adapter.startReceptionThread();

// on shutdown/destruction, thread will join and socket will close

tcp_nodelay parameter

Controls whether TCP_NODELAY is set on the socket after a successful connect. Defaults to true.

  • true (default): Nagle’s algorithm is disabled. Each CAN frame leaves the host as its own TCP segment. The converter’s delayed-ACK behaviour otherwise interacts with Nagle to produce 30–450 ms inter-segment stalls under sustained CAN traffic, which breaks UDS-style request/response timing (flash sessions, control loops). This is the right choice for any latency-sensitive workload.
  • false: Nagle’s algorithm stays enabled. The kernel may coalesce many small CAN frames into fewer, larger TCP segments. This lowers packets-per-second on the network and reduces per-segment header overhead (~40 bytes IP+TCP per ~24 byte CAN frame payload), at the cost of much higher worst-case latency per individual frame. Useful only if you are pushing bulk data where overall throughput matters more than per-frame latency, or if the network path / receiving device cannot keep up at high PPS.

If you have any doubt, leave it at the default.

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package axiomatic_adapter

Package Dependencies

System Dependencies

Dependant Packages

No known dependants.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged axiomatic_adapter at Robotics Stack Exchange

No version for distro noetic showing humble. Known supported distros are highlighted in the buttons above.
Package symbol

axiomatic_adapter package from socketcan_adapter repo

axiomatic_adapter socketcan_adapter socketcan_adapter_ros

ROS Distro
humble

Package Summary

Version 0.0.1
License Apache-2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/polymathrobotics/socketcan_adapter.git
VCS Type git
VCS Version main
Last Updated 2026-10-20
Dev Status MAINTAINED
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

An Adapter Library and socketcan bridge for Axiomatic eth-can interface

Maintainers

  • Polymath Robotics

Authors

  • David Tarazi

Axiomatic Adapter

Library and Adapter for Axiomatic CAN-Ethernet converters.

For more information on the decoding/encoding, see:

https://www.notion.so/polymathrobotics/Axiomatic-CAN-to-Ethernet-Converter-08e078d8914f40d6b7cd99ebf39fe1b0

Supported Models

--model Device Protocol reference
ax140900 (default) AX140900 CAN/Ethernet Converter Ethernet to CAN Converter Communication Protocol
ax142100a AX142100A Protocol Converter, Ethernet/RS-422/2x RS-232/CAN UMAX142100A, section 4.2

Every model shares the 11-byte AXIO message header in axiomatic_protocol.hpp. Each model is a subclass of AxiomaticModel (axiomatic_model.hpp) in include/axiomatic_adapter/models/ and src/models/. A model takes bytes and CanFrames only, so it can be used without a socket.

Adding a model

  1. Add include/axiomatic_adapter/models/<model>.hpp and src/models/<model>.cpp with a <model>::<Model> class deriving AxiomaticModel. Override protocolId, encode (build on protocol::encodeMessage), and decodeMessage (one message body; return false for Message IDs that carry no CAN frames). The base class decode splits the buffer into messages and calls decodeMessage for each.
  2. Add the source to the axiomatic_adapter library in CMakeLists.txt.
  3. Add its entry to modelFactories in src/axiomatic_model.cpp.
  4. Add a decode test of the manual’s example bytes in test/axiomatic_model_test.cpp; the round trip test covers every name in modelNames.

Usage

Socketcan-Axiomatic Bridge

ros2 run axiomatic_adapter axiomatic_socketcan_bridge [CAN_INTERFACE_NAME] [IP_ADDRESS] [PORT] [OPTIONAL]--model[-m] [OPTIONAL]--retry-connection[-r] [OPTIONAL]--max-retry-attempts [OPTIONAL]--verbose[-v] [OPTIONAL]--no-tcp-nodelay

# Examples
# generic example to bridge vcan0 with axiomatic using 192.168.50.34:4000
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000

# bridge vcan0 with an AX142100A
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000 --model ax142100a

# this will continue retrying to connect forever and not exit on first failure. It will also print more detailed logs
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000 -r -v

# this will attempt to reconnect a max number of 100 times before failing
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000 -r --max-retry-attempts 100

# disable TCP_NODELAY (re-enable Nagle's algorithm). Default is on; only use if
# you are pushing bulk traffic where throughput matters more than per-frame latency.
# See the Library section below for the full tradeoff discussion.
ros2 run axiomatic_adapter axiomatic_socketcan_bridge vcan0 192.168.50.34 4000 --no-tcp-nodelay

Library

// construct the adapter
std::string ip_address = "192.168.0.34";
std::string port = "4000";
std::chrono::milliseconds receive_timeout_ms(100);

// the two functions passed in are the receive and error callback functions, receive timeout has a default
polymath::can::AxiomaticAdapter adapter(
  ip_address,
  port,
  [](std::unique_ptr<const CanFrame> /*frame*/) { /* No-op */ },
  [](polymath::can::AxiomaticAdapter::socket_error_string_t /*error*/) { /*do nothing*/ },
  receive_timeout_ms,
  /*tcp_nodelay=*/true,  // optional, defaults to true; see below
  std::make_unique<polymath::can::ax142100a::Ax142100a>()  // optional, defaults to ax140900::Ax140900
);

// open the socket
adapter.openSocket();

// start the reception thread. At this point, it's running
adapter.startReceptionThread();

// on shutdown/destruction, thread will join and socket will close

tcp_nodelay parameter

Controls whether TCP_NODELAY is set on the socket after a successful connect. Defaults to true.

  • true (default): Nagle’s algorithm is disabled. Each CAN frame leaves the host as its own TCP segment. The converter’s delayed-ACK behaviour otherwise interacts with Nagle to produce 30–450 ms inter-segment stalls under sustained CAN traffic, which breaks UDS-style request/response timing (flash sessions, control loops). This is the right choice for any latency-sensitive workload.
  • false: Nagle’s algorithm stays enabled. The kernel may coalesce many small CAN frames into fewer, larger TCP segments. This lowers packets-per-second on the network and reduces per-segment header overhead (~40 bytes IP+TCP per ~24 byte CAN frame payload), at the cost of much higher worst-case latency per individual frame. Useful only if you are pushing bulk data where overall throughput matters more than per-frame latency, or if the network path / receiving device cannot keep up at high PPS.

If you have any doubt, leave it at the default.

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package axiomatic_adapter

Package Dependencies

System Dependencies

Dependant Packages

No known dependants.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged axiomatic_adapter at Robotics Stack Exchange