Skip to content

Commit

Permalink
Fix incompatibility issues with rviz version 1.14.23
Browse files Browse the repository at this point in the history
  • Loading branch information
Levi-Armstrong committed Jun 4, 2024
1 parent a6b1a7b commit c8952b2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
3 changes: 1 addition & 2 deletions tesseract_rviz/src/environment_display.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@ int EnvironmentDisplay::Implementation::environment_display_counter = -1;

EnvironmentDisplay::EnvironmentDisplay() : data_(std::make_unique<Implementation>())
{
auto monitor_property =
new rviz::Property("Environment Properties", "", "Tesseract environment properties", this, nullptr, this);
auto monitor_property = new rviz::Property("Environment Properties", "", "Tesseract environment properties", this);

data_->monitor_properties =
std::make_unique<EnvironmentMonitorProperties>(this, data_->environment_display_ns, monitor_property);
Expand Down
7 changes: 3 additions & 4 deletions tesseract_rviz/src/workbench_display.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,9 @@ int WorkbenchDisplay::Implementation::workbench_display_counter = -1; // NOLINT

WorkbenchDisplay::WorkbenchDisplay() : data_(std::make_unique<Implementation>())
{
auto* monitor_property =
new rviz::Property("Environment Properties", "", "Tesseract environment properties", this, nullptr, this);
auto* joint_trajectory_property = new rviz::Property(
"Joint Trajectory Properties", "", "Tesseract joint trajectory properties", this, nullptr, this);
auto* monitor_property = new rviz::Property("Environment Properties", "", "Tesseract environment properties", this);
auto* joint_trajectory_property =
new rviz::Property("Joint Trajectory Properties", "", "Tesseract joint trajectory properties", this);

data_->monitor_properties =
std::make_unique<EnvironmentMonitorProperties>(this, data_->workbench_display_ns, monitor_property);
Expand Down

0 comments on commit c8952b2

Please sign in to comment.