PickNikRobotics / rviz_visual_tools

C++ API wrapper for displaying shapes and meshes in Rviz
772 stars 243 forks source link

No member named trigger in INDIGO? #77

Closed CesMak closed 6 years ago

CesMak commented 6 years ago

Hey there,

I have kinetic code that i need to be able to run on indigo.

My code runs completely fine on kinetic but on indigo I got this error:

error: ‘class rviz_visual_tools::RvizVisualTools’ has no member named ‘trigger’ visualtools->trigger();

Code Snipped: rviz_visual_tools::RvizVisualToolsPtr visual_tools_;

mcevoyandy commented 6 years ago

are you installing rviz_visual_tools from source or apt-get?

CesMak commented 6 years ago

I installed it via apt-get (as I said i just installed rviz_visual_tools for indigo)

by the way how does this matter?

mcevoyandy commented 6 years ago

Sorry, I just saw that you have kinetic code you need to run on indigo and wanted to clarify.

You will need to install the kinetic-devel branch from source. There are some features that in the kinetic-devel branch that are not available in indigo-devel.

CesMak commented 6 years ago

so there is no other smart way instead of writing trigger() ??

I do not wanna risk that other things I have done will not work anymore -- I mean rviz_visual_tools should be also for indigo or? So how I use it with indigo?

mcevoyandy commented 6 years ago

Follow the build from source instructions. Before building, ensure you're on the kinetic-devel branch. git checkout kinetic-devel

davetcoleman commented 6 years ago

We make breaking changes between ROS versions to improve the overall feature set. This means you cannot use Indigo debian and expect it to work like Kinetic - that ruins the whole point. However like Andy said building from source is a great work around. There are likely other work arounds but we cannot support that ourselves, that's up to you to figure out.

CesMak commented 6 years ago

All right thanks :) -> I just came around not using rviz_visual_tools it also works for me now :)