Skip to content
This repository has been archived by the owner on Sep 23, 2024. It is now read-only.

Commit

Permalink
Update Node.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
inusha47 committed Jan 31, 2024
1 parent 22d5ecc commit 9117464
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/Node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,8 @@ Node::Node()
[this] () { return micros(); },
[this] (CanardFrame const & frame) { return _can_mgr->transmit(frame); },
cyphal::Node::DEFAULT_NODE_ID,
get_parameter("can_node_id").as_int()
CYPHAL_TX_QUEUE_SIZE,
CYPHAL_RX_QUEUE_SIZE,
get_parameter("can_bitrate").as_int(),
cyphal::Node::DEFAULT_MTU_SIZE}
, _node_mtx{}
, _node_start{std::chrono::steady_clock::now()}
Expand All @@ -55,7 +53,6 @@ Node::Node()

declare_parameter("can_iface", "can0");
declare_parameter("can_node_id", 100);
declare_parameter("can_bitrate", 1000000);

RCLCPP_INFO(get_logger(),
"configuring CAN223 bus:\n\tDevice: %s\n\tNode Id: %ld",
Expand Down

0 comments on commit 9117464

Please sign in to comment.