Ask Your Question
0

I'm getting no response from this command: rosrun rosserial_python serial_node.py /dev/ttyACM0

asked 2018-01-29 14:41:56 -0500

patr1ckt gravatar image

updated 2018-01-29 17:04:26 -0500

Hi everyone, I'm getting to know ROS with arduino programming, and I'm struggling to run ROS as I complete the first tutorial of Hello world . Roscore seems to work because the terminal begins outputting summary and Nodes but then when I input: rosrun rosserial_python serial_node.py /dev/ttyACM0

Nothing happens, not even an error message. It's like I input a newline. I'm not sure what this means or what it could imply. I know for sure my usb port is located in /dev/ttyACM0 , it's the address located on my Arduino IDE which works.

I'm using Mac to run Virtual Box Ubuntu (latest), and have ROS Kinetic installed along with arduino IDE. I also have catkin workstation installed. This was the setup instructed prior to trying out hello world.

If there's any info needed to solve this, I'll be be happy to answer asap. It hurts I can't do the first tutorial

edit retag flag offensive close merge delete

Comments

may you try only this rosrun rosserial_python serial_node.py after uploading sketch into Arduino

lagankapoor gravatar image lagankapoor  ( 2018-01-29 23:19:17 -0500 )edit
1

I don't think you should receive any Output from the command, if all goes as planned. If you follow the tutorial, you should open a new terminal and call: rostopic echo chatter. This should produce Output. Do you do this?

mgruhler gravatar image mgruhler  ( 2018-01-30 03:53:57 -0500 )edit

yes i done this tell me step wise what have you done briefly

lagankapoor gravatar image lagankapoor  ( 2018-01-30 04:50:24 -0500 )edit

@patr1ckt: how is this a duplicate question? If it is, of what other question?

gvdhoorn gravatar image gvdhoorn  ( 2018-01-31 02:01:19 -0500 )edit

you get answer ?

lagankapoor gravatar image lagankapoor  ( 2018-01-31 02:13:25 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-01-30 16:16:49 -0500

patr1ckt gravatar image

Thank you guys. Mig, you are right in that for each of these commands, I must open a new terminal. The tutorial only states to open a new terminal once where actually, it must be done for each individual command. Thanks for your help!

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2018-01-29 14:41:56 -0500

Seen: 293 times

Last updated: Jan 30 '18