Skip to content

Commit ec9ab7f

Browse files
committed
feat: renamed ns to me5413_project
1 parent cc76ed9 commit ec9ab7f

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

src/me5413_world/rviz/navigation.rviz

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ Visualization Manager:
518518
Enabled: true
519519
Name: ADE (m)
520520
Show Value: true
521-
Topic: /interactive_tools/absolute/position_error
521+
Topic: /me5413_project/absolute/position_error
522522
Value: true
523523
auto color change: true
524524
auto scale: true
@@ -543,7 +543,7 @@ Visualization Manager:
543543
Enabled: true
544544
Name: AHE (deg)
545545
Show Value: true
546-
Topic: /interactive_tools/absolute/heading_error
546+
Topic: /me5413_project/absolute/heading_error
547547
Value: true
548548
auto color change: true
549549
auto scale: true
@@ -566,7 +566,7 @@ Visualization Manager:
566566
- Class: jsk_rviz_plugin/PieChart
567567
Enabled: false
568568
Name: AHE (deg)
569-
Topic: /interactive_tools/absolute/heading_error
569+
Topic: /me5413_project/absolute/heading_error
570570
Value: false
571571
auto color change: true
572572
background color: 0; 0; 0
@@ -595,7 +595,7 @@ Visualization Manager:
595595
Enabled: true
596596
Name: RDE (m)
597597
Show Value: true
598-
Topic: /interactive_tools/relative/position_error
598+
Topic: /me5413_project/relative/position_error
599599
Value: true
600600
auto color change: true
601601
auto scale: true
@@ -620,7 +620,7 @@ Visualization Manager:
620620
Enabled: true
621621
Name: RHE (deg)
622622
Show Value: true
623-
Topic: /interactive_tools/relative/heading_error
623+
Topic: /me5413_project/relative/heading_error
624624
Value: true
625625
auto color change: true
626626
auto scale: true
@@ -643,7 +643,7 @@ Visualization Manager:
643643
- Class: jsk_rviz_plugin/PieChart
644644
Enabled: false
645645
Name: RHE (deg)
646-
Topic: /interactive_tools/relative/heading_error
646+
Topic: /me5413_project/relative/heading_error
647647
Value: false
648648
auto color change: true
649649
background color: 0; 0; 0

src/me5413_world/src/goal_publisher_node.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
#include <tf2_ros/transform_broadcaster.h>
2828
#include <tf2_geometry_msgs/tf2_geometry_msgs.h>
2929

30-
namespace interactive_tools
30+
namespace me5413_project
3131
{
3232

3333
class GoalPublisherNode
@@ -81,10 +81,10 @@ GoalPublisherNode::GoalPublisherNode() : tf2_listener_(tf2_buffer_)
8181
this->sub_goal_name_ = nh_.subscribe("/rviz_panel/goal_name", 1, &GoalPublisherNode::goalNameCallback, this);
8282
this->sub_goal_pose_ = nh_.subscribe("/move_base_simple/goal", 1, &GoalPublisherNode::goalPoseCallback, this);
8383
this->pub_goal_ = nh_.advertise<geometry_msgs::PoseStamped>("/move_base_simple/goal", 1);
84-
this->pub_absolute_position_error_ = nh_.advertise<std_msgs::Float32>("/interactive_tools/absolute/position_error", 1);
85-
this->pub_absolute_heading_error_ = nh_.advertise<std_msgs::Float32>("/interactive_tools/absolute/heading_error", 1);
86-
this->pub_relative_position_error_ = nh_.advertise<std_msgs::Float32>("/interactive_tools/relative/position_error", 1);
87-
this->pub_relative_heading_error_ = nh_.advertise<std_msgs::Float32>("/interactive_tools/relative/heading_error", 1);
84+
this->pub_absolute_position_error_ = nh_.advertise<std_msgs::Float32>("/me5413_project/absolute/position_error", 1);
85+
this->pub_absolute_heading_error_ = nh_.advertise<std_msgs::Float32>("/me5413_project/absolute/heading_error", 1);
86+
this->pub_relative_position_error_ = nh_.advertise<std_msgs::Float32>("/me5413_project/relative/position_error", 1);
87+
this->pub_relative_heading_error_ = nh_.advertise<std_msgs::Float32>("/me5413_project/relative/heading_error", 1);
8888

8989
// Initialization
9090
this->robot_frame_ = "base_link";
@@ -245,7 +245,7 @@ std::pair<double, double> GoalPublisherNode::calculatePoseError(const geometry_m
245245
int main(int argc, char** argv)
246246
{
247247
ros::init(argc, argv, "goal_publisher_node");
248-
interactive_tools::GoalPublisherNode goal_publisher_node;
248+
me5413_project::GoalPublisherNode goal_publisher_node;
249249
ros::spin(); // spin the ros node.
250250
return 0;
251251
}

0 commit comments

Comments
 (0)