Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I cant connect motors and sensors #10

Open
wilianson opened this issue Feb 15, 2017 · 6 comments
Open

I cant connect motors and sensors #10

wilianson opened this issue Feb 15, 2017 · 6 comments

Comments

@wilianson
Copy link

Hi There,
I am working with my Ev3 and ROS, I have reached to connect my Ev3 with my computer through USB cable with the SSH protocol , but I am not clear about what is the next step?
I don't know where exactly should be launched the files described in the tutorial if is in the Ev3 brick or in the computer connected to the Ev3.
And if is neccesary to connect to the internet the ev3 brick in order to connect sensors and motor, because now I don't have the Edimax device (is still in transit, i bought it from amazon).

@mikaelv
Copy link

mikaelv commented Feb 16, 2017 via email

@wilianson
Copy link
Author

Hi again, I have download the package from this githubhttps://github.com/Hacks4ROS/h4r_ev3_ctrl firstly when I made the "catkin_make install" It said that some files are missing these are the files: /home/percy/catkin_ws/src/h4r_ev3_ctrl/h4r_ev3_manager/launch/ev3.launch and /home/percy/catkin_ws/src/h4r_ev3_ctrl/h4r_ev3_manager/ctrl_cfg/ev3.yaml . I have found two files with different names so, I copy and and rename with the name required, so I have finally compile succesfully.
Now I have tried to launch the /home/percy/catkin_ws/src/h4r_ev3_ctrl/h4r_ev3_launch/launch/infrared.launch (with this command roslaunch infrared.launch ev3_hostname:=ev3dev) and it launch this error:
raise ResourceNotFound(name, ros_paths=self._ros_paths)
ResourceNotFound: h4r_ev3_control_launch
ROS path [0]=/opt/ros/indigo/share/ros
ROS path [1]=/opt/ros/indigo/share
ROS path [2]=/opt/ros/indigo/stacks
What can I do now, the way I compile and install the package is right?

@cyborg-x1
Copy link
Member

As said the launchfile needs to run on your computer. There is an issue in some launchfiles, which also launch the ev3_manager. The ev3_manager needs to run on the brick(only!) and it is already installed in the image. The launchfiles need to run on the PC. If there should be the node ev3_manager, this is wrong ... there is already another issue for that. You do not need to compile anything for your PC.

@N1ghtm4r1sh
Copy link

N1ghtm4r1sh commented Mar 25, 2018

Hi guys, i'm having the same problem. I am running the ev3_manager on the brick (only!) and the launchfiles on the PC...but i have the exactly error. Could someone help me ?? I am using a ubuntu 14.04 as master and i can do ping ev3dev on my computer and ping master on the brick

I have solved this matter; just edit color.launch, infrared.launch, touch.launch and ultrasonic.launch. Change where it says find h4r_ev3_control_launch by find h4r_ev3_launch

@rongfeng-china
Copy link

@N1ghtm4r1sh Hey, have you ever tried wifi setting?

@N1ghtm4r1sh
Copy link

@rongfeng-china No, I don´t have a wifi USB...I am working with the EV3 USB cable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants