ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

create_autonomy does not seen by ros

asked 2016-12-05 06:20:29 -0600

ozgurerbulan gravatar image

I followed the instruction from https://github.com/autonomylab/create... 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?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2016-12-06 13:16:14 -0600

jacobperron gravatar image

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.

edit flag offensive delete link more

Comments

Adding the baund rate parameter solved the problem. Thanks!!

ozgurerbulan gravatar image ozgurerbulan  ( 2016-12-07 02:05:55 -0600 )edit

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

pengtao0620 gravatar image pengtao0620  ( 2017-03-26 22:51:09 -0600 )edit

Question Tools

2 followers

Stats

Asked: 2016-12-05 05:46:14 -0600

Seen: 883 times

Last updated: Dec 06 '16