I am just starting with drake and terminus, and am having issues with the build process.
I am using Ubuntu 16.04 My directories are setup in the following manner at home:
-git
--drake
--terminus
I built drake as given in the documentation using Bazel (https://drake.mit.edu/from_source.html)
I am facing issues with the path of the Drake installation.
The variable is set manually DRAKE_DISTRO=/home/sanskar/git/drake
Upon calling the command for OsmCityBuilder, I get the following:
Building city using OsmCityBuilder
====================================
Statistics for city_1
====================================
Roads: 12
Intersections: 9
Lanes: 12
Buildings: 0
Blocks: 0
Polyline Geometry
Waypoints: 59
Intersections: 22
Average waypoints: 4.91666666667
Average intersections: 1.83333333333
Lines and Arcs Geometry
Waypoints: 72
Intersections: 25
Average waypoints: 6.0
Average intersections: 2.08333333333
====================================
Generating street plots
Generating RNDF file
Generating SVG for RNDF
Generating Gazebo 7 SDF
Generating Gazebo 8 SDF
Generating monolane file
Radius is too small to create an arc connection - Arc(Point(-70.2116542364, -85.0434988054, 0.0), 232.983609646, 2.13382460853, 31.7956400527)
Radius is too small to create an arc connection - Arc(Point(25.1361453187, -81.7398017758, 0.0), 117.927469976, 2.88025248552, 120.111770053)
Radius is too small to create an arc connection - Arc(Point(18.4397803969, -78.4567676959, 0.0), 14.6047330537, 1.79233736431, -136.565493024)
Generating OBJ for monolane
Can't generate OBJ file for monolane. Command attempted:
/home/sanskar/git/drake/bazel-bin/drake/automotive/maliput/utility/yaml_to_obj -yaml_file="generated_worlds/city_monolane.yaml" -obj_dir="generated_worlds/" -obj_file="city_monolane"
/bin/sh: 1: /home/sanskar/git/drake/bazel-bin/drake/automotive/maliput/utility/yaml_to_obj: not found
The issue with the path here is that there is no directory called drake inside bazel_bin.
EDIT: Fixed the rndf_vis by building it. And tried modifying the path for the binary of yaml_to_obj through the city_generation_process.py file to get the absolute path where the binary exists. I get the following error now:
Building city using OsmCityBuilder
====================================
Statistics for city_1
====================================
Roads: 12
Intersections: 9
Lanes: 12
Buildings: 0
Blocks: 0
Polyline Geometry
Waypoints: 59
Intersections: 22
Average waypoints: 4.91666666667
Average intersections: 1.83333333333
Lines and Arcs Geometry
Waypoints: 72
Intersections: 25
Average waypoints: 6.0
Average intersections: 2.08333333333
====================================
Generating street plots
Generating RNDF file
Generating SVG for RNDF
Generating Gazebo 7 SDF
Generating Gazebo 8 SDF
Generating monolane file
Radius is too small to create an arc connection - Arc(Point(-70.2116542364, -85.0434988054, 0.0), 232.983609646, 2.13382460853, 31.7956400527)
Radius is too small to create an arc connection - Arc(Point(25.1361453187, -81.7398017758, 0.0), 117.927469976, 2.88025248552, 120.111770053)
Radius is too small to create an arc connection - Arc(Point(18.4397803969, -78.4567676959, 0.0), 14.6047330537, 1.79233736431, -136.565493024)
Generating OBJ for monolane
Can't generate OBJ file for monolane. Command attempted:
/home/sanskar/git/drake/bazel-bin/automotive/maliput/utility/yaml_to_obj -yaml_file="generated_worlds/city_monolane.yaml" -obj_dir="generated_worlds/" -obj_file="city_monolane"
[2019-01-30 14:00:45.088] [console] [info] Loading road geometry...
[2019-01-30 14:00:45.117] [console] [error] Unknown map.
abort: Failure at automotive/maliput/utility/yaml_to_obj.cc:87 in main().
Aborted (core dumped)
I am just getting started so any help would be appreciated.
I am just starting with drake and terminus, and am having issues with the build process.
I am using Ubuntu 16.04 My directories are setup in the following manner at home:
-git
--drake
--terminus
I built drake as given in the documentation using Bazel (https://drake.mit.edu/from_source.html)
I am facing issues with the path of the Drake installation.
The variable is set manually
DRAKE_DISTRO=/home/sanskar/git/drakeUpon calling the command for OsmCityBuilder, I get the following:
The issue with the path here is that there is no directory called drake inside bazel_bin.
EDIT: Fixed the rndf_vis by building it. And tried modifying the path for the binary of yaml_to_obj through the city_generation_process.py file to get the absolute path where the binary exists. I get the following error now:
I am just getting started so any help would be appreciated.