custom client stuck waiting for server #597
-
How are you connecting to your Create 3?USB Ethernet (ROS 2) Computer(s) Model(s) and Operating System(s)pi 4 Which version of ROS 2 is installed on your computer?Humble Which firmware version is installed on your robot?H.2.3 Which RMW is your robot running?I don't know Does your robot have an assigned namespace? If so, please share.No response Is the robot connected to a network? If so, what is the network type?pi is connected to a phone hotspot Are there multiple Create 3 robots connected to your network?No Is multicast enabled?None What is the Adapter Board's USB/BLE Toggle currently switched to?None Describe your question.Hi! To elaborate on the setup - im sshing into a pi4 that is in the trunk of the create3 and connected via usb. I want to send a simple 'drive to' command as detailed in the documentation, which I can do no problem sending it directly through the command line!
Works just fine, as do a few other commands using different msgs. The issue is when I try to do the same thing with a python client. I followed this tutorial and changed the messages for the client and everything builds and compiles fine - but the robot doesnt move. Heres the code - copied from a "minimal" example from the linked tutorial.
And in the terminal all I see is
Very new to ROS2, so entirely possible I'm simply missing a step. Any help would be appreciated. Note: heres my project structure. I'm building on top of some existing repos that i've simply added as submodules in the src directory. So it looks like:
I think its possible that I've done something goofy here and thats what the issue is - I ran colcon build from 'foo' and it built with just some warnings about setup.py is deprecated. I think thats everything that has a snowballs chance in hell of being relevant, but happy to provide more details. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi @CFBerryhill,
You should indicate the name of the action service (which here is
|
Beta Was this translation helpful? Give feedback.
Hi @CFBerryhill,
this is the problem
You should indicate the name of the action service (which here is
drive_distance
, notfibonacci
as in the example).So the correct line would be