Comments (4)
Have you tried ' /dev/ttyAMA0 ' ?
from mycobot_ros.
My question is if I'm running ROS on the robot's RPi, do I need to specify the port?
Re : Have to specify the port if you want to connect the machine
Secondly, if I'm running ROS core on my laptop instead, don't I just need to specify the IP address of the ROS core machine for the robot's nodes on the RPi? Why do I need to connect with a USB cable?
Re : Just specify the IP cannot connect the machine, just able to connect raspberry system
from mycobot_ros.
Also, you can tried ' sudo chmod 777 /dev/ttyUSB* ' , hope this command would help you.
from mycobot_ros.
Hello. This might sound like a naive question but I'm not able to figure this out from the documentation.
I have a myCobot-pi model and it has ROS-Kinetic pre-installed on it.
When I run:
rosrun mycobot_ros slider_control.py
I get the error: unable to connect to "/dev/ttyUSB0"
My question is if I'm running ROS on the robot's RPi, do I need to specify the port?
Secondly, if I'm running ROS core on my laptop instead, don't I just need to specify the IP address of the ROS core machine for the robot's nodes on the RPi? Why do I need to connect with a USB cable?
Please let me know if I'm missing something or point me to some good documentation.
Please make sure that you follow the tutorial correcttly : https://www.elephantrobotics.com/docs/myCobot-en/3-development/4-ros&moveit/
These two commands should be executed in independent terminal windows before you run the rosrun
command:
roscore
and roslaunch mycobot_ros mycobot_slider.launch
Then run the rosrun mycobot_ros slider_control.py
command in another terminal window.
Also you should check the connection between your laptop and the mycobot RPi, make sure the ports and the cable are in good condition.
As for the IP address, because of the serial interface is used in the connection between the laptop and robot, specifying the IP address is not necessary to the recognition and doesn't make sense.
Hope your problem has been addressed.
from mycobot_ros.
Related Issues (20)
- Add contributors HOT 4
- Can i request for an update of the Mycobot Jetson Nano URDF directory to include the xacro and stl files?
- /bin/bash: -c: option requires an argument
- Request D-H table for mecharm270 PI
- URDF D-H parameter of Mycobot-pi
- Moveit 320 M5 gripper opening/closing
- Upgrading to ATOMver 2.5 or later, moveit simulation and The actual machine flips all but the third axis HOT 1
- How to release the end effector from leveling. HOT 2
- Run MoveIt tutorial from Docker HOT 1
- Gazebo does not work: mycoobot_280_moveit demo_gazebo.launch HOT 1
- Mycobot serial port shows up as /dev/ttyACM* instead of /dev/ttyUSB* in Ubunt 18.04 HOT 1
- test.py not working with my mycobot pi I just receieved. HOT 2
- myCobot-500 support HOT 1
- [mycobot_slider.launch] is neither a launch file in package [mycobot_ros] nor is [mycobot_ros] a launch file name HOT 1
- Unable to build ROS image
- mecharm_pi corrupted .dae file error: Expected end of <author> element. HOT 2
- Set payload
- mycobot 280 jetson nano MyCobotSocket
- ROS2 Support HOT 1
- _port for all ros commands instead of port HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mycobot_ros.