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

Where is the 'basics package' described on p. 32 of "Programming Robots with ROS"

asked 2016-06-25 11:47:39 -0500

tmulz gravatar image

I'm on page 34 of Morgan Quigley's book, Programming Robots with ROS and he says to make sure that the basics package is in your workspace. This is the first time he mentioned the package and doesn't give an explanation for itaa. How do I find it?

edit retag flag offensive close merge delete

Comments

What files does he mention are inside the package? It may help us to narrow down which package it was.

luketheduke gravatar image luketheduke  ( 2016-06-26 14:08:40 -0500 )edit

He doesn't mentioned any files in the package. I'm supposed to run the command "rosrun basics topic_publisher.py" I made a new package and copied the code for topic_publisher.py into the package. When I run the command, I get an error: [rospack] Error: package 'basics' not found

tmulz gravatar image tmulz  ( 2016-06-28 13:11:28 -0500 )edit

In the command, basics is the name of the package. To make this work with your package, you need to substitute the name of your package for basics.

luketheduke gravatar image luketheduke  ( 2016-06-28 15:47:54 -0500 )edit

1 Answer

Sort by » oldest newest most voted
3

answered 2016-06-28 15:55:37 -0500

luketheduke gravatar image

After doing some research, I found the package on GitHub here: https://github.com/osrf/rosbook/tree/master This repository contains all the code for the entire book, the part you are looking for is in the /code/basics/ folder. Hope that helps, luketheduke

edit flag offensive delete link more

Comments

Thank you!

tmulz gravatar image tmulz  ( 2016-06-29 10:04:15 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2016-06-25 11:47:39 -0500

Seen: 774 times

Last updated: Jun 28 '16