0
$\begingroup$

Rosanswers logo

I followed the instruction from https://github.com/autonomylab/create_autonomy but roslaunch seems to be does not aware of ca_driver even if I source the package via source ~/create_ws/devel/setup.bash. Roscd can not locate the folder and roslaunch says

[create_2.launch] is neither a launch file in package [ca_driver] nor is [ca_driver] a launch file name

Is there anything that I missed? python-rosdep and python-catkin-tools packages installed, catkin build completed succesfully. I am using ros indigo and ubuntu 14.04 on macbook pro.

UPDATE

Now I can see the launch file by editing bashrc file. I added the line

export ROS_PACKAGE_PATH=~/create_ws:$ROS_PACKAGE_PATH

But now I can not connect to create 2. terminal says that "failed to receive data from Create. Check if robot is powered!" but it is powered and connected to computer and I have checked that serial usb port is connected as ttyUSB0.

Is there a setting I need to make on the robot?


Originally posted by ozgurerbulan on ROS Answers with karma: 1 on 2016-12-05

Post score: 0

$\endgroup$

1 Answer 1

0
$\begingroup$

Rosanswers logo

I believe the message you see indicates either (as it states) the robot is not powered on meaning you should try pushing the large "Clean" button, or the baud rate is not correct.

See Create 2 OI Spec for information regarding baud. It could be 115200 (I believe the driver's default) or 19200. You can try a different rate by adding a parameter to the launch file ca_driver/launch/create_2.launch:

<param name="baud" value="19200" />

Good luck.


Originally posted by jacobperron with karma: 1870 on 2016-12-06

This answer was ACCEPTED on the original site

Post score: 2


Original comments

Comment by ozgurerbulan on 2016-12-07:
Adding the baund rate parameter solved the problem. Thanks!!

Comment by pengtao0620 on 2017-03-26:
I followed this step and succeed once, then the same issue came back again and I can't fix it by using this.

UPDATE Fixed by adding export ROS_PACKAGE_PATH=~/create_ws:$ROS_PACKAGE_PATH

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.