mit-racecar / racecar_gazebo

A gazebo-based simulator of the MIT Racecar.
168 stars 98 forks source link

Can not launch the simulator #10

Open ArtlyStyles opened 6 years ago

ArtlyStyles commented 6 years ago

Hi I am new to ROS, maybe I am missing some basic. Here was I did:

  1. Installed ROS
  2. Clone this repository to Ubuntu
  3. Ran roslaunch racecar_gazebo racecar.launch

I got the following message:

racecar.launch] is neither a launch file in package [racecar_gazebo] nor is [racecar_gazebo] a launch file name
The traceback for the exception was written to the log file

How can I ran it?

ArtlyStyles commented 6 years ago

After build the workspace, I got the following error:

ResouceNotFound: racecar

How can I fix it?

jetsonhacks commented 6 years ago

You will need to install the racecar package located on this account

ArtlyStyles commented 6 years ago

Install "mit-racecar/racecar". Could you tell me where to install? My current racecar-simulator structure is

~/catkin_ws ----src --------racecar-simulator ----devel ----build

jetsonhacks commented 6 years ago

place source into src

ArtlyStyles commented 6 years ago

I cloned racecar to src directory: ~/catkin_ws ----src --------racecar-simulator --------racecar ----devel ----build

Then build under ~/catkin_ws catkin_make Then source the setup source devel/setup.bash Then launch roslaunch racecar_gazebo launch/racecar_tunnel.launch However, I am still get the error message:

[launch/racecar_tunnel.launch] is neither a launch file in package [racecar_gazebo] nor is [racecar_gazebo] a launch file name The traceback for the exception was written to the log file

ArtlyStyles commented 6 years ago

Sorry, the command should be

roslaunch racecar_gazebo racecar_tunnel.launch

Now I can run it...