wai.mak
September 28, 2021, 11:08am
21
Sure @albertoezquerro ,
here it is ,
ubuntu@ubuntu:~$ rostopic list
/attached_collision_object
/clicked_point
/clock
/collision_object
/display_robot_state
/execute_trajectory/cancel
/execute_trajectory/feedback
/execute_trajectory/goal
/execute_trajectory/result
/execute_trajectory/status
/gazebo/link_states
/gazebo/model_states
/gazebo/parameter_descriptions
/gazebo/parameter_updates
/gazebo/set_link_state
/gazebo/set_model_state
/gazebo_gui/parameter_descriptions
/gazebo_gui/parameter_updates
/goal
/head_mount_kinect/depth_registered/points
/initialpose
/joint_command
/joint_states
/motor_status
/move_base_simple/goal
/move_group/cancel
/move_group/display_contacts
/move_group/display_cost_sources
/move_group/display_grasp_markers
/move_group/display_planned_path
/move_group/fake_controller_joint_states
/move_group/feedback
/move_group/filtered_cloud
/move_group/goal
/move_group/monitored_planning_scene
/move_group/motion_plan_request
/move_group/ompl/parameter_descriptions
/move_group/ompl/parameter_updates
/move_group/plan_execution/parameter_descriptions
/move_group/plan_execution/parameter_updates
/move_group/planning_scene_monitor/parameter_descriptions
/move_group/planning_scene_monitor/parameter_updates
/move_group/result
/move_group/sense_for_plan/parameter_descriptions
/move_group/sense_for_plan/parameter_updates
/move_group/status
/move_group/trajectory_execution/parameter_descriptions
/move_group/trajectory_execution/parameter_updates
/pickup/cancel
/pickup/feedback
/pickup/goal
/pickup/result
/pickup/status
/place/cancel
/place/feedback
/place/goal
/place/result
/place/status
/planning_scene
/planning_scene_world
/rosout
/rosout_agg
/servobus/00/motorcommand
/servobus/01/motorcommand
/servobus/02/motorcommand
/tf
/tf_static
/trajectory_execution_event
also rosnode list below:
ubuntu@ubuntu:~$ rosnode list
/enable_manager
/gazebo
/gazebo_gui
/joint_state_publisher
/move_group
/robot_state_publisher
/rosout
/rviz_1632316887577821087
/rviz_1632317114150987460
/rviz_1632317543003950288
/rviz_1632317606202829164
/rviz_1632364829477688843
/rviz_1632367489382098401
/rviz_1632367947293428584
/rviz_ubuntu_10006_865129417201876548
/rviz_ubuntu_124372_3947630414924630611
/rviz_ubuntu_12955_8051976732193002600
/rviz_ubuntu_130032_7160079098078117304
/rviz_ubuntu_1436_7845895752676653512
/rviz_ubuntu_32598_3749768185927076946
/rviz_ubuntu_39157_5247179004595101319
/rviz_ubuntu_44790_5912384228246147510
/rviz_ubuntu_47507_5162881166463453367
/rviz_ubuntu_48288_1349990942787186592
/rviz_ubuntu_52262_5128078128060298358
/rviz_ubuntu_74238_2553441362876284356
/rviz_ubuntu_77914_2961039313976716644
/rviz_ubuntu_80550_889290725115740525
/rviz_ubuntu_83005_3059503405535880180
/rviz_ubuntu_84369_574003839747837706
/rviz_ubuntu_93224_6305975809269310677
So what are the topics for controlling the arm of the robot? I cannot identify them on the list. Also, which type of controller are you using?
In the ros_controllers.yaml
configuration file you are trying to connect to a FollowJointTrajectory
controller named arm_controller
which doesn’t seem to exist.
wai.mak
September 30, 2021, 9:16am
23
@albertoezquerro , thanks good question …, I’m not sure actually, now you pointed that out…yea it is missing the topic to control the robot arm…,
and yes in the moveit package, the controller it tries to use is the arm_controller topic,
now my question is, should this topic (arm_controller) be spawned by the moveit package when I launch it?
or should this arm_controller topic be spawned when I fire up this robot itself?
so in other words, is , does the arm_controller topic belongs to the moveit package? or does it come out of the robot when I launch it? I got confused here… please advice
It has to be started by the robot, MoveIt only connects to it. Check this: Low Level Controllers — moveit_tutorials Noetic documentation
wai.mak
September 30, 2021, 1:17pm
25
@albertoezquerro , ok I ran my robot by: roslaunch inmoov_bringup bringup.launch
and then I saw this error rosserial_python error…, please advice?
This is the code in the bringup.launch file:
And I did a rostopic list and I dont seem to see any arm_controller topic , please advice on what I can do from here?
ubuntu@ubuntu:~$ rostopic list
/attached_collision_object
/clicked_point
/clock
/collision_object
/display_robot_state
/execute_trajectory/cancel
/execute_trajectory/feedback
/execute_trajectory/goal
/execute_trajectory/result
/execute_trajectory/status
/gazebo/link_states
/gazebo/model_states
/gazebo/parameter_descriptions
/gazebo/parameter_updates
/gazebo/set_link_state
/gazebo/set_model_state
/gazebo_gui/parameter_descriptions
/gazebo_gui/parameter_updates
/goal
/head_mount_kinect/depth_registered/points
/initialpose
/joint_command
/joint_state
/joint_states
/motor_status
/move_base_simple/goal
/move_group/cancel
/move_group/display_contacts
/move_group/display_cost_sources
/move_group/display_grasp_markers
/move_group/display_planned_path
/move_group/fake_controller_joint_states
/move_group/feedback
/move_group/filtered_cloud
/move_group/goal
/move_group/monitored_planning_scene
/move_group/motion_plan_request
/move_group/ompl/parameter_descriptions
/move_group/ompl/parameter_updates
/move_group/plan_execution/parameter_descriptions
/move_group/plan_execution/parameter_updates
/move_group/planning_scene_monitor/parameter_descriptions
/move_group/planning_scene_monitor/parameter_updates
/move_group/result
/move_group/sense_for_plan/parameter_descriptions
/move_group/sense_for_plan/parameter_updates
/move_group/status
/move_group/trajectory_execution/parameter_descriptions
/move_group/trajectory_execution/parameter_updates
/pickup/cancel
/pickup/feedback
/pickup/goal
/pickup/result
/pickup/status
/place/cancel
/place/feedback
/place/goal
/place/result
/place/status
/planning_scene
/planning_scene_world
/rosout
/rosout_agg
/rviz_command
/servobus/00/motorcommand
/servobus/01/motorcommand
/servobus/02/motorcommand
/tf
/tf_static
/trajectory_execution_event
@albertoezquerro …I’m still waiting for replies…,
is there a subject or course that teaches you on how to build a robot arm controller from scratch?? using hobby rc servos as a minimum…,
wai.mak
October 8, 2021, 11:29am
27
@albertoezquerro any updates on this ??
Hello @wai.mak ,
No, there’s no such course (at least that I’m aware of), unfortunately. You should have a look at the ROS Control course though (especially units 5 and 6) to better understand how this works.