No name 'action' in module 'control_msgs'

Hi @rzegers,

as mentioned above that is what I did but nothing happened.
Not even an error message

Cheers,
Volker

Hi @vkuehn,

this is very good, the script runs without producing any output message.

Whats important is that your script is being executed without any error messages. The error message that was appearing before has gone!

If you want to confirm that the node is running you can go to a second terminal and type:

ros2 node list

It should show you the name of the node.

Or you could type ros2 action list and yous should see /joint_trajectory_controller/follow_joint_trajectory under the list of action names.

I think this issue is solved.

Cheers,

Roberto

Hi @rzegers ,

As of your statement I have restarted all

terminal 1 ros2 launch my_box_bot_gazebo start_world.launch.py
terminal 2 ros2 launch my_box_bot_gazebo spawn_robot_ros2_control_velocity.launch.xml
terminal 3 ros2 run my_box_bot_gazebo move_laser.py 0.0

now it shows

[INFO] [1676034335.147019755] [move_laser_actionclient]: Goal accepted :)
[INFO] [1676034335.966443082] [move_laser_actionclient]: Result: control_msgs.action.FollowJointTrajectory_Result(error_code=0, error_string='')
terminal 4 ros2 node list

shows

/box_bot_joint_state
/controller_manager
/differential_drive_controller/gazebo
/gazebo_ros2_control/joint_state_broadcaster
/joint_trajectory_controller
/my_robot_state_publisher_node
/rviz_node
/transform_listener_impl_55cbd69c1b60
/velocity_controller

And the Robot still does not move the laser up and down

image

which would be expected right ?

Cheers,
Volker

Hi @rzegers

ups my fault. It works with

ros2 run my_box_bot_gazebo move_laser.py -20.0

Thank a lot for your passion on the topic

Solved, have a nice Weekend !

Cheers,
Volker

Hi @vkuehn,

no worries, that’s why we are here. I am glad we got it solved!
Nice weekend too!

Roberto

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.