Skip to content

Commit

Permalink
Make the domain id be controlled by uros agent
Browse files Browse the repository at this point in the history
  • Loading branch information
bjsowa committed Nov 15, 2023
1 parent b2a0dda commit 0027a13
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Inc/firmware/configuration.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ constexpr uint32_t UROS_HEAP_SIZE = 30000;
static constexpr UART_HandleTypeDef& UROS_UART = huart1;

// Domain ID used for ROS communication
constexpr size_t ROS_DOMAIN_ID = 0;
// When set to 255 it is automatically overridden by the uROS agent
constexpr size_t ROS_DOMAIN_ID = 255;

// Name of the ROS node
constexpr const char* ROS_NODE_NAME = "firmware";
Expand Down

0 comments on commit 0027a13

Please sign in to comment.