Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added documentation #12

Merged
merged 8 commits into from Aug 3, 2020
Merged

Added documentation #12

merged 8 commits into from Aug 3, 2020

Conversation

ahcorde
Copy link
Collaborator

@ahcorde ahcorde commented Jun 22, 2020

This PR added the documentation to understand, compile and run gazebo_ros2_control

These PRs are related to this PR

One PR is also on the way when the PID wrapper in control_toolbox is ready ros-controls/control_toolbox#97 (comment)

Signed-off-by: ahcorde ahcorde@gmail.com

Signed-off-by: ahcorde <ahcorde@gmail.com>
@ahcorde ahcorde added documentation Improvements or additions to documentation enhancement New feature or request labels Jun 22, 2020
@ahcorde ahcorde requested a review from chapulina June 22, 2020 09:22
@ahcorde ahcorde self-assigned this Jun 22, 2020
Copy link
Collaborator

@chapulina chapulina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For these instructions to work, I had to:

  • Make the change on Fix compilation on master #13
  • Comment out #find_package(rclcpp REQUIRED) on joint_limits_interface, I have no idea why. With that I was getting this compilation error:
--- stderr: joint_limits_interface                                                                                                          
CMake Error at /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:146 (message):                                             
  Could NOT find FastRTPS (missing: FastRTPS_INCLUDE_DIR FastRTPS_LIBRARIES)                                                                
Call Stack (most recent call first):                                                                                                        
  /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:393 (_FPHSA_FAILURE_MESSAGE)                                            
  /opt/ros/foxy/share/fastrtps_cmake_module/cmake/Modules/FindFastRTPS.cmake:95 (find_package_handle_standard_args)                         
  /opt/ros/foxy/share/rosidl_typesupport_fastrtps_c/cmake/rosidl_typesupport_fastrtps_c-extras.cmake:7 (find_package)                       
  /opt/ros/foxy/share/rosidl_typesupport_fastrtps_c/cmake/rosidl_typesupport_fastrtps_cConfig.cmake:41 (include)                            
  /opt/ros/foxy/share/rosidl_typesupport_c/cmake/rosidl_typesupport_c-extras.cmake:13 (find_package)
  /opt/ros/foxy/share/rosidl_typesupport_c/cmake/rosidl_typesupport_cConfig.cmake:41 (include)                                              
  /opt/ros/foxy/share/rosidl_default_runtime/cmake/rosidl_default_runtime-extras.cmake:12 (find_package)                                    
  /opt/ros/foxy/share/rosidl_default_runtime/cmake/rosidl_default_runtimeConfig.cmake:41 (include)                                          
  /opt/ros/foxy/share/builtin_interfaces/cmake/ament_cmake_export_dependencies-extras.cmake:21 (find_package)                               
  /opt/ros/foxy/share/builtin_interfaces/cmake/builtin_interfacesConfig.cmake:41 (include)                                                  
  /opt/ros/foxy/share/rcl_interfaces/cmake/ament_cmake_export_dependencies-extras.cmake:21 (find_package)                                   
  /opt/ros/foxy/share/rcl_interfaces/cmake/rcl_interfacesConfig.cmake:41 (include)                                                          
  /opt/ros/foxy/share/rcl/cmake/ament_cmake_export_dependencies-extras.cmake:21 (find_package)                                              
  /opt/ros/foxy/share/rcl/cmake/rclConfig.cmake:41 (include)                                                                                
  /opt/ros/foxy/share/libstatistics_collector/cmake/ament_cmake_export_dependencies-extras.cmake:21 (find_package)
  /opt/ros/foxy/share/libstatistics_collector/cmake/libstatistics_collectorConfig.cmake:41 (include)                                        
  /opt/ros/foxy/share/rclcpp/cmake/ament_cmake_export_dependencies-extras.cmake:21 (find_package)                                           
  /opt/ros/foxy/share/rclcpp/cmake/rclcppConfig.cmake:41 (include)
  CMakeLists.txt:6 (find_package)


---
Failed   <<< joint_limits_interface     [ Exited with code 1 ]

README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
Signed-off-by: ahcorde <ahcorde@gmail.com>
README.md Show resolved Hide resolved
README.md Outdated
<plugin filename="libgazebo_ros2_control.so" name="gazebo_ros2_control">
<robotSimType>gazebo_ros2_control/DefaultRobotHWSim</robotSimType>
<robotParamNode>robot_state_publisher</robotParamNode>
<legacyModeNS>True</legacyModeNS>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Legacy can be removed.

Also, now that we're using gazebo_ros::Node, you could add some examples inside <plugin><ros>, like namespaces and remappings.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ping @ahcorde

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added <remapping> and <namespace> b8ce192

@ahcorde
Copy link
Collaborator Author

ahcorde commented Jul 29, 2020

Ready for another review @chapulina

Signed-off-by: ahcorde <ahcorde@gmail.com>
Signed-off-by: ahcorde <ahcorde@gmail.com>
@ahcorde ahcorde requested a review from chapulina July 29, 2020 20:06
@chapulina chapulina merged commit c70a6a1 into master Aug 3, 2020
@chapulina chapulina deleted the ahcorde/documentation branch August 3, 2020 23:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants