I have a question about how to write unit test codes for robot controllers.
Since you do not use a physical robot while unit testing your controller, you can only use a simulator, in this case, Gazebo, as you elaborated in this code, but this is not really following the syntax recommended in the ROS instruction.
Instead of just running each command-line written on the top of the code one by one and run your test.py executable, is there any other way to check if your controller works fine by just using catkin_make with the run_tests option?
Any advice would be appreciated. Thank you in advance,
Ryan
Hi @garaemon,
I have a question about how to write unit test codes for robot controllers. Since you do not use a physical robot while unit testing your controller, you can only use a simulator, in this case, Gazebo, as you elaborated in this code, but this is not really following the syntax recommended in the ROS instruction. Instead of just running each command-line written on the top of the code one by one and run your test.py executable, is there any other way to check if your controller works fine by just using catkin_make with the run_tests option?
Any advice would be appreciated. Thank you in advance, Ryan