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

Can't find "move" operation in service list #81

Open
hyeonjjjin opened this issue Jul 24, 2024 · 2 comments
Open

Can't find "move" operation in service list #81

hyeonjjjin opened this issue Jul 24, 2024 · 2 comments

Comments

@hyeonjjjin
Copy link

Hello,

I am following a tutorial video for ROS2, where after running ros2 service list, I expect to see commands related to "move" as shown in the video. However, when I run the command, I only see the following list:


$ ros2 service list | grep dsr01

/dsr01/connection_node/describe_parameters
/dsr01/connection_node/get_parameter_types
/dsr01/connection_node/get_parameters
/dsr01/connection_node/list_parameters
/dsr01/connection_node/set_parameters
/dsr01/connection_node/set_parameters_atomically
/dsr01/gazebo_connection/describe_parameters
/dsr01/gazebo_connection/get_parameter_types
/dsr01/gazebo_connection/get_parameters
/dsr01/gazebo_connection/list_parameters
/dsr01/gazebo_connection/set_parameters
/dsr01/gazebo_connection/set_parameters_atomically
/dsr01/gz/controller_manager/configure_controller
/dsr01/gz/controller_manager/describe_parameters
/dsr01/gz/controller_manager/get_parameter_types
/dsr01/gz/controller_manager/get_parameters
/dsr01/gz/controller_manager/list_controller_types
/dsr01/gz/controller_manager/list_controllers
/dsr01/gz/controller_manager/list_hardware_components
/dsr01/gz/controller_manager/list_hardware_interfaces
/dsr01/gz/controller_manager/list_parameters
/dsr01/gz/controller_manager/load_controller
/dsr01/gz/controller_manager/reload_controller_libraries
/dsr01/gz/controller_manager/set_hardware_component_state
/dsr01/gz/controller_manager/set_parameters
/dsr01/gz/controller_manager/set_parameters_atomically
/dsr01/gz/controller_manager/switch_controller
/dsr01/gz/controller_manager/unload_controller
/dsr01/gz/dsr_position_controller/describe_parameters
/dsr01/gz/dsr_position_controller/get_parameter_types
/dsr01/gz/dsr_position_controller/get_parameters
/dsr01/gz/dsr_position_controller/list_parameters
/dsr01/gz/dsr_position_controller/set_parameters
/dsr01/gz/dsr_position_controller/set_parameters_atomically
/dsr01/gz/gz_ros2_control/describe_parameters
/dsr01/gz/gz_ros2_control/get_parameter_types
/dsr01/gz/gz_ros2_control/get_parameters
/dsr01/gz/gz_ros2_control/list_parameters
/dsr01/gz/gz_ros2_control/set_parameters
/dsr01/gz/gz_ros2_control/set_parameters_atomically
/dsr01/gz/joint_state_broadcaster/describe_parameters
/dsr01/gz/joint_state_broadcaster/get_parameter_types
/dsr01/gz/joint_state_broadcaster/get_parameters
/dsr01/gz/joint_state_broadcaster/list_parameters
/dsr01/gz/joint_state_broadcaster/set_parameters
/dsr01/gz/joint_state_broadcaster/set_parameters_atomically
/dsr01/gz/robot_state_publisher/describe_parameters
/dsr01/gz/robot_state_publisher/get_parameter_types
/dsr01/gz/robot_state_publisher/get_parameters
/dsr01/gz/robot_state_publisher/list_parameters
/dsr01/gz/robot_state_publisher/set_parameters
/dsr01/gz/robot_state_publisher/set_parameters_atomically
/dsr01/robot_state_publisher/describe_parameters
/dsr01/robot_state_publisher/get_parameter_types
/dsr01/robot_state_publisher/get_parameters
/dsr01/robot_state_publisher/list_parameters
/dsr01/robot_state_publisher/set_parameters
/dsr01/robot_state_publisher/set_parameters_atomically

It seems like the "move" commands are missing. Could someone please assist me with this issue?
Any guidance would be greatly appreciated.

Thank you.

@SakethTecholution
Copy link

@hyeonjjjin Run gazebo with gui:=True or else run rviz paralley , then you can see that service call are availble. I am also not sure why it is like this , but this got helped

@hyeonjjjin
Copy link
Author

Thank you for your response.

I have resolved the issue; the reason motion could not be found in my environment was due to an installation problem.
The command
$ rosdep install -r --from-paths . --ignore-src --rosdistro $ROS_DISTRO -y
was not executed properly, which caused the motion feature to not appear.

After reinstalling with the command
$ sudo rosdep install -r --from-paths . --ignore-src --rosdistro $ROS_DISTRO -y

I was able to find the motion command.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants