Skip to content

Commit 5b15427

Browse files
authored
Update README.md (#49)
* Update README.md * Update message_publisher.cpp
1 parent 399d268 commit 5b15427

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

vortex_utility_nodes/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ These are standalone helper nodes not core pipeline components. Use them to insp
77

88
| Node | Description |
99
|------|-------------|
10-
| `euler_odometry_publisher_node` | Subscribes to `odometry` (resolved from config) and publishes odometry pose in Euler angles (roll, pitch, yaw). |
10+
| `message_publisher` | Subscribes to `odometry` (resolved from config) and publishes odometry pose in Euler angles (x, y, z, roll, pitch, yaw). |
1111

1212
## Build
1313
```bash
@@ -17,7 +17,7 @@ source install/setup.bash
1717

1818
## Run
1919
```bash
20-
ros2 launch vortex_utility_nodes euler_odometry_publisher_node.launch.py
20+
ros2 launch vortex_utility_nodes message_publisher.launch.py
2121
```
2222

2323
## Adding New Nodes

vortex_utility_nodes/src/message_publisher.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ class MessagePublisherNode : public rclcpp::Node {
169169
void imu_callback(const sensor_msgs::msg::Imu::SharedPtr msg) {
170170
const auto& q = msg->orientation;
171171
auto euler = convert_quat(q.w, q.x, q.y, q.z);
172-
publish_rpy(msg->header, euler);
172+
publish_pose(msg->header, 0.0, 0.0, 0.0, euler);
173173
}
174174

175175
using SubVariant = std::variant<

0 commit comments

Comments
 (0)