irobot-ros / ros2-performance

Framework to evaluate peformance of ROS 2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to set `ROS2_PERFORMANCE_TEST_INSTALL_PATH`

calvinyy-oss opened this issue · comments

图片
SORRY,I have update the bug you fixed,But there is still the same problem.I just follow the bash_scriptsREADME.md to do.

The problem is that /home/calvin/performance01_ws/performance_test_factory/lib/performance_test_factory/simple_pub_sub_main does not exist.

How did you edit env.sh ?
In particular I suspect that you set the wrong ROS2_PERFORMANCE_TEST_INSTALL_PATH.

From the log it looks like you set

ROS2_PERFORMANCE_TEST_INSTALL_PATH=/home/calvin/performance01_ws/`

what's the content of this library?
This is probably not the correct install path

Thank you.Yes,the ROS2_PERFORMANCE_TEST_INSTALL_PATH is wrong,I have changed it to ~/ros2_performance_ws/install .I try to build the package one more time.But this time I get wrong on colcon build
图片
Then if I source the env.sh it apears that:
图片

图片
I find when I follow the bash_scriptsREADME.md.In the install directory,there is no performance_test_factory.Because it only populate the performance_test_msgs and performance_test package.Do I need to populate the performance_test_factory too?

Yesterday you were able to build successfully, so the build error has nothing to do with the code.
I suggest you to start from scratches.

图片
Thank you I can now bash the the pub_sub_ros2.sh.But there is nothing on the results files.
Here is the terminal:
图片

The experiments folder is empty because all tests are failing.
I pushed a commit that should fix the problem.
Unfortunately the scripts are not tested and not used by anyone, so you may find other problems along the way.

You should pull the latest changes to the repository and try again.
If you find other errors please open a new issue