Package Summary

Tags No category tags.
Version 1.6.3
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/open-rmf/rmf_traffic_editor.git
VCS Type git
VCS Version humble
Last Updated 2024-11-08
Dev Status DEVELOPED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

traffic editor

Additional Links

No additional links.

Maintainers

  • Morgan Quigley
  • Marco A. Gutiérrez

Authors

No additional authors.

Traffic Editor

A graphical editor for robot traffic flows. The intent is to make it easy to annotate building floorplans with the desired robot traffic lanes and generate simulation models to test and evaluate different traffic schemes.

Quality Declaration

This package claims to be in the Quality Level 3 category. See the Quality Declaration for more details.

System Requirements

This program is developed and tested on Ubuntu 18.04 LTS, using Qt 5 and yaml-cpp.

Compiling Instructions

Traffic Editor is now structured as a Colcon package. After installing ROS 2 Eloquent, the following command sequence will create a colcon workspace in ~/colcon_workspace and build traffic-editor there:

sudo apt update
sudo apt install libyaml-cpp-dev qt5-default \
  libopencv-dev libopencv-videoio-dev
mkdir -p ~/colcon_workspace/src
cd ~/colcon_workspace/src
git clone https://github.com/open-rmf/rmf_traffic_editor
cd ~/colcon_workspace
source /opt/ros/eloquent/setup.bash
colcon build --packages-select rmf_traffic_editor

The companion traffic_editor_assets package contains a nifty bunch of useful assets to use with rmf_traffic_editor. It is included in the above checkout.

Then you should be able to run traffic-editor by sourcing the install space of that workspace, in a new “clean” terminal:

source ~/colcon_workspace/install/setup.bash
traffic-editor

Quick Start

If it’s the first time you are running it, starting the editor with traffic-editor should bring up a blank window.

First, you’ll need to make sure that traffic-editor knows where the model thumbnails are found. If you installed traffic_editor_assets, rmf_traffic_editor should find it automatically. The thumbnails are top-view renderings of various art assets that can be added to the environments, such as chairs.

Click Edit->Preferences... and see if the path provided in the “Thumbnail Path” box looks reasonable.

If necessary, the “Find…” button can be used to browse the filesystem to point to any desired thumbnail directory.

(If you installed the recommended traffic_editor_assets package, you will find its thumbnail directory in its install space at <workspace_dir>/install/traffic_editor_assets/share/assets/thumbnails.)

Creating a new Project and an empty Building Map

Click Project->New... and save your new project as test.project.yaml

Click Edit->Project Properties... and enter “test” as the project name and test.building.yaml as the building path. Then click OK.

Click Edit->Building Properties... and enter “test” as the building name. Click OK.

Creating a level and adding some stuff

Click the “Add…” button in the “levels” tab on the far right side of the main editor window. This will pop up a dialog where you can create a new level. Enter L1 for the name and click OK. This will create a 10 meter square level.

You can zoom in and out using the mouse wheel on the rendering on the left side of the main window. You can pan around by dragging the mouse around with the mouse wheel (or middle button) depressed.

Now, you should be able to click the green dot toolbar icon, which is the “Add Vertex” tool (or press V) and click a few vertices in the white area. Press the [Escape] key to return to the “Select” tool.

Now, you should be able to click the add wall tool (or press W) and drag from one vertex to another vertex to add wall segments.

To delete wall segments or vertices, first press [Escape] to enter Select mode. Then, click on a wall segment or vertex, and press [Delete].

Save your work

Click Project->Save or press Ctrl+S to save the project and building map.

Adding real-world measurements to set the scale

To set the scale of the drawing, click the add measurement tool (or press M) and drag from one vertex to another to add a real-world measurement line, which should show up as a pink line. Then click the select tool (or press Esc) and click on the line with the left button. This should populate the property-editor in the lower-right pane of the editor window. You can then specify the real-world length of the measurement line in meters. If you set more than one measurement line on a drawing, the editor will compute an average value of pixels-per-meter from all supplied measurements.

Currently you need to re-load the document (closing the editor and re-opening) to re-compute the scale. This is not ideal, but is hopefully not a frequently-used feature. Typically the scale of a map is only set one time.

Adding lifts

Click the “Add…” button in the “lifts” tab on the far right side of the main editor window. This will pop up a dialog where you can create a new lift. You can specify the name, position, size, and reference floor in the dialog.

Note: Do include the keywork “lift” in the lift name as for now this is how slotcars recognize lift models.

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package rmf_traffic_editor

1.6.3 (2024-11-05)

  • Fix reference file name being kept when loading new building (#503)
  • Contributors: Luca Della Vedova

1.6.2 (2023-08-10)

1.6.1 (2023-06-05)

  • Switch changelogs to rst format.
  • Contributors: Yadunund

1.6.0 (2022-10-05)

  • Added a dispensable field for models (#436)
  • Use index based iterator to avoid yaml cpp bug (#435)
  • better vertex text size in meter-scale maps (#431)
  • Contributors: Aaron Chong, Luca Della Vedova, Morgan Quigley

1.5.1 (2022-04-20)

  • update OSM tile server URL to full planet data (#430)
  • fix cmake ament_index_cpp dependency
  • add a github CI job for rolling
  • don't double-trigger CI runs
  • update qt packages for jammy github workflow
  • build/install rmf_utils from source in ci_rolling
  • Contributors: Morgan Quigley, Youliang Tan

1.5.0 (2022-03-13)

  • fix #419 by calculating transformed x/y in image-based maps (#421)
  • validate reference level index before using it (avoid a crash)
  • Use C++17 for std::optional
  • move all CI to galactic on ubuntu 20.04
  • move the C++ style check into the 'main' CI test workflow
  • Feature/render OpenStreetMap tiles (#418)
    • "new building" dialog box which asks which coordinates to use
    • use a subdirectory in ~/.cache as the OSM tile cache
    • show the tile cache size on the status bar
    • use EPSG:3857 (meters) for rendering tile maps
    • WGS84 coordinate translation
    • render OSM tiles in grayscale, so the non-tile things are easier to see
    • populate lat, lon property fields in EPSG:3857 mode
    • remove obsolete "flattened" UI stuff
    • save global coords in wgs84 but render them in epsg3857 on OSM tiles
    • GUI box to set the local CRS for sim/nav generation
    • move all RMF keys into GeoJSON props. add start/end names
    • feature_type -> rmf_type in GeoJSON properties
    • translate robot spawn point along with the world
  • Handle simulation offsets for models and cameras (#408)
    • lat/lon translation behavior for models (previously, builds break when adding models due to WGS84 translation not having a "rotation" variable)
    • change naming for wgs84 model positions to lat/lon instead of x/y for consistency
    • apply offsets to the camera, so the camera view appears over the working area
    • Handle simulation offsets for models and cameras
    • Pass transform in Model constructor; pass un-transformed variables for to_yaml
    • Add check if global_transform was initialized; fix wrong computation of xy
    • parse model coordinates in wgs84 and project for viewing/editing
    • move model projection/translation to generate phase
    • set user-agent string in HTTP tile requests
    • workaround for 32-bit scrollbar overflow at extreme zoom
    • introduce a simple queuing system for tiles
    • reset zoom when loading a different filename
  • flip layer images right-side up in cartesian meters mode (#405)
  • Improve behavior for Cartesian maps (#401)
    • Improve behavior for Cartesian maps

    * because Cartesian maps have 1-meter units, we need to compute a better default scale for them. Previously it was always using a default scale of 0.05. * somewhat related, also fix the edge-select implementation so it spins through all edges in the map rather than just selecting the first edge within 10 units... that was OK when we were always using pixel-based maps, but now that meter-based maps are in use, it was just choosing the first edge that was within 10 meters of the click, which was a lot of edges and felt somewhat random.

    • stop drawing a 1-unit border around the scene rectangle
    • rotate vertex icons to +Y for cartesian maps
  • Cartesian worlds (y=up) and steps towards using GeoPackage (#396)
    • create passthrough transform for cartesian_meters coordinate systems
    • y-flip in traffic-editor GUI for cartesian worlds; only invert Y coordinate for legacy image-based maps
    • add coordinate system files for C++ GUI
    • pass coordinate system to vertex draw, to flip text as needed
    • correct deprecated setuptools key to fix warning

File truncated at 100 lines see the full file

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged rmf_traffic_editor at Robotics Stack Exchange

Package Summary

Tags No category tags.
Version 1.9.3
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/open-rmf/rmf_traffic_editor.git
VCS Type git
VCS Version jazzy
Last Updated 2025-05-05
Dev Status DEVELOPED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

traffic editor

Additional Links

No additional links.

Maintainers

  • Morgan Quigley
  • Marco A. Gutiérrez

Authors

No additional authors.

Traffic Editor

A graphical editor for robot traffic flows. The intent is to make it easy to annotate building floorplans with the desired robot traffic lanes and generate simulation models to test and evaluate different traffic schemes.

Quality Declaration

This package claims to be in the Quality Level 3 category. See the Quality Declaration for more details.

System Requirements

This program is developed and tested on Ubuntu 18.04 LTS, using Qt 5 and yaml-cpp.

Compiling Instructions

Traffic Editor is now structured as a Colcon package. After installing ROS 2 Eloquent, the following command sequence will create a colcon workspace in ~/colcon_workspace and build traffic-editor there:

sudo apt update
sudo apt install libyaml-cpp-dev qt5-default \
  libopencv-dev libopencv-videoio-dev
mkdir -p ~/colcon_workspace/src
cd ~/colcon_workspace/src
git clone https://github.com/open-rmf/rmf_traffic_editor
cd ~/colcon_workspace
source /opt/ros/eloquent/setup.bash
colcon build --packages-select rmf_traffic_editor

The companion traffic_editor_assets package contains a nifty bunch of useful assets to use with rmf_traffic_editor. It is included in the above checkout.

Then you should be able to run traffic-editor by sourcing the install space of that workspace, in a new “clean” terminal:

source ~/colcon_workspace/install/setup.bash
traffic-editor

Quick Start

If it’s the first time you are running it, starting the editor with traffic-editor should bring up a blank window.

First, you’ll need to make sure that traffic-editor knows where the model thumbnails are found. If you installed traffic_editor_assets, rmf_traffic_editor should find it automatically. The thumbnails are top-view renderings of various art assets that can be added to the environments, such as chairs.

Click Edit->Preferences... and see if the path provided in the “Thumbnail Path” box looks reasonable.

If necessary, the “Find…” button can be used to browse the filesystem to point to any desired thumbnail directory.

(If you installed the recommended traffic_editor_assets package, you will find its thumbnail directory in its install space at <workspace_dir>/install/traffic_editor_assets/share/assets/thumbnails.)

Creating a new Project and an empty Building Map

Click Project->New... and save your new project as test.project.yaml

Click Edit->Project Properties... and enter “test” as the project name and test.building.yaml as the building path. Then click OK.

Click Edit->Building Properties... and enter “test” as the building name. Click OK.

Creating a level and adding some stuff

Click the “Add…” button in the “levels” tab on the far right side of the main editor window. This will pop up a dialog where you can create a new level. Enter L1 for the name and click OK. This will create a 10 meter square level.

You can zoom in and out using the mouse wheel on the rendering on the left side of the main window. You can pan around by dragging the mouse around with the mouse wheel (or middle button) depressed.

Now, you should be able to click the green dot toolbar icon, which is the “Add Vertex” tool (or press V) and click a few vertices in the white area. Press the [Escape] key to return to the “Select” tool.

Now, you should be able to click the add wall tool (or press W) and drag from one vertex to another vertex to add wall segments.

To delete wall segments or vertices, first press [Escape] to enter Select mode. Then, click on a wall segment or vertex, and press [Delete].

Save your work

Click Project->Save or press Ctrl+S to save the project and building map.

Adding real-world measurements to set the scale

To set the scale of the drawing, click the add measurement tool (or press M) and drag from one vertex to another to add a real-world measurement line, which should show up as a pink line. Then click the select tool (or press Esc) and click on the line with the left button. This should populate the property-editor in the lower-right pane of the editor window. You can then specify the real-world length of the measurement line in meters. If you set more than one measurement line on a drawing, the editor will compute an average value of pixels-per-meter from all supplied measurements.

Currently you need to re-load the document (closing the editor and re-opening) to re-compute the scale. This is not ideal, but is hopefully not a frequently-used feature. Typically the scale of a map is only set one time.

Adding lifts

Click the “Add…” button in the “lifts” tab on the far right side of the main editor window. This will pop up a dialog where you can create a new lift. You can specify the name, position, size, and reference floor in the dialog.

Note: Do include the keywork “lift” in the lift name as for now this is how slotcars recognize lift models.

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package rmf_traffic_editor

1.9.3 (YYYY-MM-DD)

  • Fix lift cabin graphics on rotated floor plans (#513)
  • Fix crash when no features are available to calculate a layer transform (#460)
  • Addition of delete button for lift table (#511)
  • Fix reference file name being kept when loading new building (#501)
  • Contributors: Luca Della Vedova, Tan Jun Kiat

1.9.2 (2025-01-14)

1.9.1 (2024-06-15)

1.9.0 (2024-06-01)

  • Fix buildfarm build of rmf_traffic_editor packages (#495)
  • Harmonic release and ECS refactor (#483)
  • Fix empty generate_crs in building yaml. (#482)
  • Contributors: Luca Della Vedova, Grey, cwrx777

1.8.2 (2023-12-15)

  • Merge radius property (#480)
  • Mutex group property (#477)

1.8.1 (2023-08-10)

1.8.0 (2023-06-08)

1.7.0 (2023-06-06)

  • Switch to rst changelogs (#464)
  • Contributors: Yadunund

1.6.0 (2022-10-05)

  • Added a dispensable field for models (#436)
  • Use index based iterator to avoid yaml cpp bug (#435)
  • better vertex text size in meter-scale maps (#431)
  • Contributors: Aaron Chong, Luca Della Vedova, Morgan Quigley

1.5.1 (2022-04-20)

  • update OSM tile server URL to full planet data (#430)
  • fix cmake ament_index_cpp dependency
  • add a github CI job for rolling
  • don't double-trigger CI runs
  • update qt packages for jammy github workflow
  • build/install rmf_utils from source in ci_rolling
  • Contributors: Morgan Quigley, Youliang Tan

1.5.0 (2022-03-13)

  • fix #419 by calculating transformed x/y in image-based maps (#421)
  • validate reference level index before using it (avoid a crash)
  • Use C++17 for std::optional
  • move all CI to galactic on ubuntu 20.04
  • move the C++ style check into the 'main' CI test workflow
  • Feature/render OpenStreetMap tiles (#418)
    • "new building" dialog box which asks which coordinates to use
    • use a subdirectory in ~/.cache as the OSM tile cache
    • show the tile cache size on the status bar
    • use EPSG:3857 (meters) for rendering tile maps
    • WGS84 coordinate translation
    • render OSM tiles in grayscale, so the non-tile things are easier to see
    • populate lat, lon property fields in EPSG:3857 mode
    • remove obsolete "flattened" UI stuff
    • save global coords in wgs84 but render them in epsg3857 on OSM tiles
    • GUI box to set the local CRS for sim/nav generation
    • move all RMF keys into GeoJSON props. add start/end names
    • feature_type -> rmf_type in GeoJSON properties
    • translate robot spawn point along with the world
  • Handle simulation offsets for models and cameras (#408)
    • lat/lon translation behavior for models (previously, builds break when adding models due to WGS84 translation not having a "rotation" variable)
    • change naming for wgs84 model positions to lat/lon instead of x/y for consistency
    • apply offsets to the camera, so the camera view appears over the working area
    • Handle simulation offsets for models and cameras
    • Pass transform in Model constructor; pass un-transformed variables for to_yaml

File truncated at 100 lines see the full file

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged rmf_traffic_editor at Robotics Stack Exchange

Package Summary

Tags No category tags.
Version 1.12.0
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/open-rmf/rmf_traffic_editor.git
VCS Type git
VCS Version kilted
Last Updated 2025-05-10
Dev Status DEVELOPED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

traffic editor

Additional Links

No additional links.

Maintainers

  • Morgan Quigley
  • Marco A. Gutiérrez

Authors

No additional authors.

Traffic Editor

A graphical editor for robot traffic flows. The intent is to make it easy to annotate building floorplans with the desired robot traffic lanes and generate simulation models to test and evaluate different traffic schemes.

Quality Declaration

This package claims to be in the Quality Level 3 category. See the Quality Declaration for more details.

System Requirements

This program is developed and tested on Ubuntu 18.04 LTS, using Qt 5 and yaml-cpp.

Compiling Instructions

Traffic Editor is now structured as a Colcon package. After installing ROS 2 Eloquent, the following command sequence will create a colcon workspace in ~/colcon_workspace and build traffic-editor there:

sudo apt update
sudo apt install libyaml-cpp-dev qt5-default \
  libopencv-dev libopencv-videoio-dev
mkdir -p ~/colcon_workspace/src
cd ~/colcon_workspace/src
git clone https://github.com/open-rmf/rmf_traffic_editor
cd ~/colcon_workspace
source /opt/ros/eloquent/setup.bash
colcon build --packages-select rmf_traffic_editor

The companion traffic_editor_assets package contains a nifty bunch of useful assets to use with rmf_traffic_editor. It is included in the above checkout.

Then you should be able to run traffic-editor by sourcing the install space of that workspace, in a new “clean” terminal:

source ~/colcon_workspace/install/setup.bash
traffic-editor

Quick Start

If it’s the first time you are running it, starting the editor with traffic-editor should bring up a blank window.

First, you’ll need to make sure that traffic-editor knows where the model thumbnails are found. If you installed traffic_editor_assets, rmf_traffic_editor should find it automatically. The thumbnails are top-view renderings of various art assets that can be added to the environments, such as chairs.

Click Edit->Preferences... and see if the path provided in the “Thumbnail Path” box looks reasonable.

If necessary, the “Find…” button can be used to browse the filesystem to point to any desired thumbnail directory.

(If you installed the recommended traffic_editor_assets package, you will find its thumbnail directory in its install space at <workspace_dir>/install/traffic_editor_assets/share/assets/thumbnails.)

Creating a new Project and an empty Building Map

Click Project->New... and save your new project as test.project.yaml

Click Edit->Project Properties... and enter “test” as the project name and test.building.yaml as the building path. Then click OK.

Click Edit->Building Properties... and enter “test” as the building name. Click OK.

Creating a level and adding some stuff

Click the “Add…” button in the “levels” tab on the far right side of the main editor window. This will pop up a dialog where you can create a new level. Enter L1 for the name and click OK. This will create a 10 meter square level.

You can zoom in and out using the mouse wheel on the rendering on the left side of the main window. You can pan around by dragging the mouse around with the mouse wheel (or middle button) depressed.

Now, you should be able to click the green dot toolbar icon, which is the “Add Vertex” tool (or press V) and click a few vertices in the white area. Press the [Escape] key to return to the “Select” tool.

Now, you should be able to click the add wall tool (or press W) and drag from one vertex to another vertex to add wall segments.

To delete wall segments or vertices, first press [Escape] to enter Select mode. Then, click on a wall segment or vertex, and press [Delete].

Save your work

Click Project->Save or press Ctrl+S to save the project and building map.

Adding real-world measurements to set the scale

To set the scale of the drawing, click the add measurement tool (or press M) and drag from one vertex to another to add a real-world measurement line, which should show up as a pink line. Then click the select tool (or press Esc) and click on the line with the left button. This should populate the property-editor in the lower-right pane of the editor window. You can then specify the real-world length of the measurement line in meters. If you set more than one measurement line on a drawing, the editor will compute an average value of pixels-per-meter from all supplied measurements.

Currently you need to re-load the document (closing the editor and re-opening) to re-compute the scale. This is not ideal, but is hopefully not a frequently-used feature. Typically the scale of a map is only set one time.

Adding lifts

Click the “Add…” button in the “lifts” tab on the far right side of the main editor window. This will pop up a dialog where you can create a new lift. You can specify the name, position, size, and reference floor in the dialog.

Note: Do include the keywork “lift” in the lift name as for now this is how slotcars recognize lift models.

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package rmf_traffic_editor

1.12.0 (2025-05-09)

  • Add a conditional check for level transformation (#520)
  • Allowing deletion of lift cabin vertices (#518)
  • Contributors: Jun

1.11.0 (2024-11-27)

  • Fix lift cabin graphics on rotated floor plans (#513)
  • Fix crash when no features are available to calculate a layer transform (#460)
  • Addition of delete button for lift table (#511)
  • Fix reference file name being kept when loading new building (#501)
  • Contributors: Luca Della Vedova, Tan Jun Kiat

1.10.0 (2024-06-12)

1.9.0 (2024-06-01)

  • Fix buildfarm build of rmf_traffic_editor packages (#495)
  • Harmonic release and ECS refactor (#483)
  • Fix empty generate_crs in building yaml. (#482)
  • Contributors: Luca Della Vedova, Grey, cwrx777

1.8.2 (2023-12-15)

  • Merge radius property (#480)
  • Mutex group property (#477)

1.8.1 (2023-08-10)

1.8.0 (2023-06-08)

1.7.0 (2023-06-06)

  • Switch to rst changelogs (#464)
  • Contributors: Yadunund

1.6.0 (2022-10-05)

  • Added a dispensable field for models (#436)
  • Use index based iterator to avoid yaml cpp bug (#435)
  • better vertex text size in meter-scale maps (#431)
  • Contributors: Aaron Chong, Luca Della Vedova, Morgan Quigley

1.5.1 (2022-04-20)

  • update OSM tile server URL to full planet data (#430)
  • fix cmake ament_index_cpp dependency
  • add a github CI job for rolling
  • don't double-trigger CI runs
  • update qt packages for jammy github workflow
  • build/install rmf_utils from source in ci_rolling
  • Contributors: Morgan Quigley, Youliang Tan

1.5.0 (2022-03-13)

  • fix #419 by calculating transformed x/y in image-based maps (#421)
  • validate reference level index before using it (avoid a crash)
  • Use C++17 for std::optional
  • move all CI to galactic on ubuntu 20.04
  • move the C++ style check into the 'main' CI test workflow
  • Feature/render OpenStreetMap tiles (#418)
    • "new building" dialog box which asks which coordinates to use
    • use a subdirectory in ~/.cache as the OSM tile cache
    • show the tile cache size on the status bar
    • use EPSG:3857 (meters) for rendering tile maps
    • WGS84 coordinate translation
    • render OSM tiles in grayscale, so the non-tile things are easier to see
    • populate lat, lon property fields in EPSG:3857 mode
    • remove obsolete "flattened" UI stuff
    • save global coords in wgs84 but render them in epsg3857 on OSM tiles
    • GUI box to set the local CRS for sim/nav generation
    • move all RMF keys into GeoJSON props. add start/end names
    • feature_type -> rmf_type in GeoJSON properties
    • translate robot spawn point along with the world
  • Handle simulation offsets for models and cameras (#408)
    • lat/lon translation behavior for models (previously, builds break when adding models due to WGS84 translation not having a "rotation" variable)
    • change naming for wgs84 model positions to lat/lon instead of

File truncated at 100 lines see the full file

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged rmf_traffic_editor at Robotics Stack Exchange

Package Summary

Tags No category tags.
Version 1.13.0
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/open-rmf/rmf_traffic_editor.git
VCS Type git
VCS Version main
Last Updated 2025-06-09
Dev Status DEVELOPED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

traffic editor

Additional Links

No additional links.

Maintainers

  • Morgan Quigley
  • Marco A. Gutiérrez

Authors

No additional authors.

Traffic Editor

A graphical editor for robot traffic flows. The intent is to make it easy to annotate building floorplans with the desired robot traffic lanes and generate simulation models to test and evaluate different traffic schemes.

Quality Declaration

This package claims to be in the Quality Level 3 category. See the Quality Declaration for more details.

System Requirements

This program is developed and tested on Ubuntu 18.04 LTS, using Qt 5 and yaml-cpp.

Compiling Instructions

Traffic Editor is now structured as a Colcon package. After installing ROS 2 Eloquent, the following command sequence will create a colcon workspace in ~/colcon_workspace and build traffic-editor there:

sudo apt update
sudo apt install libyaml-cpp-dev qt5-default \
  libopencv-dev libopencv-videoio-dev
mkdir -p ~/colcon_workspace/src
cd ~/colcon_workspace/src
git clone https://github.com/open-rmf/rmf_traffic_editor
cd ~/colcon_workspace
source /opt/ros/eloquent/setup.bash
colcon build --packages-select rmf_traffic_editor

The companion traffic_editor_assets package contains a nifty bunch of useful assets to use with rmf_traffic_editor. It is included in the above checkout.

Then you should be able to run traffic-editor by sourcing the install space of that workspace, in a new “clean” terminal:

source ~/colcon_workspace/install/setup.bash
traffic-editor

Quick Start

If it’s the first time you are running it, starting the editor with traffic-editor should bring up a blank window.

First, you’ll need to make sure that traffic-editor knows where the model thumbnails are found. If you installed traffic_editor_assets, rmf_traffic_editor should find it automatically. The thumbnails are top-view renderings of various art assets that can be added to the environments, such as chairs.

Click Edit->Preferences... and see if the path provided in the “Thumbnail Path” box looks reasonable.

If necessary, the “Find…” button can be used to browse the filesystem to point to any desired thumbnail directory.

(If you installed the recommended traffic_editor_assets package, you will find its thumbnail directory in its install space at <workspace_dir>/install/traffic_editor_assets/share/assets/thumbnails.)

Creating a new Project and an empty Building Map

Click Project->New... and save your new project as test.project.yaml

Click Edit->Project Properties... and enter “test” as the project name and test.building.yaml as the building path. Then click OK.

Click Edit->Building Properties... and enter “test” as the building name. Click OK.

Creating a level and adding some stuff

Click the “Add…” button in the “levels” tab on the far right side of the main editor window. This will pop up a dialog where you can create a new level. Enter L1 for the name and click OK. This will create a 10 meter square level.

You can zoom in and out using the mouse wheel on the rendering on the left side of the main window. You can pan around by dragging the mouse around with the mouse wheel (or middle button) depressed.

Now, you should be able to click the green dot toolbar icon, which is the “Add Vertex” tool (or press V) and click a few vertices in the white area. Press the [Escape] key to return to the “Select” tool.

Now, you should be able to click the add wall tool (or press W) and drag from one vertex to another vertex to add wall segments.

To delete wall segments or vertices, first press [Escape] to enter Select mode. Then, click on a wall segment or vertex, and press [Delete].

Save your work

Click Project->Save or press Ctrl+S to save the project and building map.

Adding real-world measurements to set the scale

To set the scale of the drawing, click the add measurement tool (or press M) and drag from one vertex to another to add a real-world measurement line, which should show up as a pink line. Then click the select tool (or press Esc) and click on the line with the left button. This should populate the property-editor in the lower-right pane of the editor window. You can then specify the real-world length of the measurement line in meters. If you set more than one measurement line on a drawing, the editor will compute an average value of pixels-per-meter from all supplied measurements.

Currently you need to re-load the document (closing the editor and re-opening) to re-compute the scale. This is not ideal, but is hopefully not a frequently-used feature. Typically the scale of a map is only set one time.

Adding lifts

Click the “Add…” button in the “lifts” tab on the far right side of the main editor window. This will pop up a dialog where you can create a new lift. You can specify the name, position, size, and reference floor in the dialog.

Note: Do include the keywork “lift” in the lift name as for now this is how slotcars recognize lift models.

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package rmf_traffic_editor

1.13.0 (2025-06-09)

1.12.0 (2025-05-09)

  • Add a conditional check for level transformation (#520)
  • Allowing deletion of lift cabin vertices (#518)
  • Contributors: Jun

1.11.0 (2024-11-27)

  • Fix lift cabin graphics on rotated floor plans (#513)
  • Fix crash when no features are available to calculate a layer transform (#460)
  • Addition of delete button for lift table (#511)
  • Fix reference file name being kept when loading new building (#501)
  • Contributors: Luca Della Vedova, Tan Jun Kiat

1.10.0 (2024-06-12)

1.9.0 (2024-06-01)

  • Fix buildfarm build of rmf_traffic_editor packages (#495)
  • Harmonic release and ECS refactor (#483)
  • Fix empty generate_crs in building yaml. (#482)
  • Contributors: Luca Della Vedova, Grey, cwrx777

1.8.2 (2023-12-15)

  • Merge radius property (#480)
  • Mutex group property (#477)

1.8.1 (2023-08-10)

1.8.0 (2023-06-08)

1.7.0 (2023-06-06)

  • Switch to rst changelogs (#464)
  • Contributors: Yadunund

1.6.0 (2022-10-05)

  • Added a dispensable field for models (#436)
  • Use index based iterator to avoid yaml cpp bug (#435)
  • better vertex text size in meter-scale maps (#431)
  • Contributors: Aaron Chong, Luca Della Vedova, Morgan Quigley

1.5.1 (2022-04-20)

  • update OSM tile server URL to full planet data (#430)
  • fix cmake ament_index_cpp dependency
  • add a github CI job for rolling
  • don't double-trigger CI runs
  • update qt packages for jammy github workflow
  • build/install rmf_utils from source in ci_rolling
  • Contributors: Morgan Quigley, Youliang Tan

1.5.0 (2022-03-13)

  • fix #419 by calculating transformed x/y in image-based maps (#421)
  • validate reference level index before using it (avoid a crash)
  • Use C++17 for std::optional
  • move all CI to galactic on ubuntu 20.04
  • move the C++ style check into the 'main' CI test workflow
  • Feature/render OpenStreetMap tiles (#418)
    • "new building" dialog box which asks which coordinates to use
    • use a subdirectory in ~/.cache as the OSM tile cache
    • show the tile cache size on the status bar
    • use EPSG:3857 (meters) for rendering tile maps
    • WGS84 coordinate translation
    • render OSM tiles in grayscale, so the non-tile things are easier to see
    • populate lat, lon property fields in EPSG:3857 mode
    • remove obsolete "flattened" UI stuff
    • save global coords in wgs84 but render them in epsg3857 on OSM tiles
    • GUI box to set the local CRS for sim/nav generation
    • move all RMF keys into GeoJSON props. add start/end names
    • feature_type -> rmf_type in GeoJSON properties
    • translate robot spawn point along with the world
  • Handle simulation offsets for models and cameras (#408)
    • lat/lon translation behavior for models (previously, builds break when adding models due to WGS84 translation not having a

File truncated at 100 lines see the full file

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged rmf_traffic_editor at Robotics Stack Exchange

No version for distro ardent showing humble. Known supported distros are highlighted in the buttons above.

Package Summary

Tags No category tags.
Version 1.6.3
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/open-rmf/rmf_traffic_editor.git
VCS Type git
VCS Version humble
Last Updated 2024-11-08
Dev Status DEVELOPED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

traffic editor

Additional Links

No additional links.

Maintainers

  • Morgan Quigley
  • Marco A. Gutiérrez

Authors

No additional authors.

Traffic Editor

A graphical editor for robot traffic flows. The intent is to make it easy to annotate building floorplans with the desired robot traffic lanes and generate simulation models to test and evaluate different traffic schemes.

Quality Declaration

This package claims to be in the Quality Level 3 category. See the Quality Declaration for more details.

System Requirements

This program is developed and tested on Ubuntu 18.04 LTS, using Qt 5 and yaml-cpp.

Compiling Instructions

Traffic Editor is now structured as a Colcon package. After installing ROS 2 Eloquent, the following command sequence will create a colcon workspace in ~/colcon_workspace and build traffic-editor there:

sudo apt update
sudo apt install libyaml-cpp-dev qt5-default \
  libopencv-dev libopencv-videoio-dev
mkdir -p ~/colcon_workspace/src
cd ~/colcon_workspace/src
git clone https://github.com/open-rmf/rmf_traffic_editor
cd ~/colcon_workspace
source /opt/ros/eloquent/setup.bash
colcon build --packages-select rmf_traffic_editor

The companion traffic_editor_assets package contains a nifty bunch of useful assets to use with rmf_traffic_editor. It is included in the above checkout.

Then you should be able to run traffic-editor by sourcing the install space of that workspace, in a new “clean” terminal:

source ~/colcon_workspace/install/setup.bash
traffic-editor

Quick Start

If it’s the first time you are running it, starting the editor with traffic-editor should bring up a blank window.

First, you’ll need to make sure that traffic-editor knows where the model thumbnails are found. If you installed traffic_editor_assets, rmf_traffic_editor should find it automatically. The thumbnails are top-view renderings of various art assets that can be added to the environments, such as chairs.

Click Edit->Preferences... and see if the path provided in the “Thumbnail Path” box looks reasonable.

If necessary, the “Find…” button can be used to browse the filesystem to point to any desired thumbnail directory.

(If you installed the recommended traffic_editor_assets package, you will find its thumbnail directory in its install space at <workspace_dir>/install/traffic_editor_assets/share/assets/thumbnails.)

Creating a new Project and an empty Building Map

Click Project->New... and save your new project as test.project.yaml

Click Edit->Project Properties... and enter “test” as the project name and test.building.yaml as the building path. Then click OK.

Click Edit->Building Properties... and enter “test” as the building name. Click OK.

Creating a level and adding some stuff

Click the “Add…” button in the “levels” tab on the far right side of the main editor window. This will pop up a dialog where you can create a new level. Enter L1 for the name and click OK. This will create a 10 meter square level.

You can zoom in and out using the mouse wheel on the rendering on the left side of the main window. You can pan around by dragging the mouse around with the mouse wheel (or middle button) depressed.

Now, you should be able to click the green dot toolbar icon, which is the “Add Vertex” tool (or press V) and click a few vertices in the white area. Press the [Escape] key to return to the “Select” tool.

Now, you should be able to click the add wall tool (or press W) and drag from one vertex to another vertex to add wall segments.

To delete wall segments or vertices, first press [Escape] to enter Select mode. Then, click on a wall segment or vertex, and press [Delete].

Save your work

Click Project->Save or press Ctrl+S to save the project and building map.

Adding real-world measurements to set the scale

To set the scale of the drawing, click the add measurement tool (or press M) and drag from one vertex to another to add a real-world measurement line, which should show up as a pink line. Then click the select tool (or press Esc) and click on the line with the left button. This should populate the property-editor in the lower-right pane of the editor window. You can then specify the real-world length of the measurement line in meters. If you set more than one measurement line on a drawing, the editor will compute an average value of pixels-per-meter from all supplied measurements.

Currently you need to re-load the document (closing the editor and re-opening) to re-compute the scale. This is not ideal, but is hopefully not a frequently-used feature. Typically the scale of a map is only set one time.

Adding lifts

Click the “Add…” button in the “lifts” tab on the far right side of the main editor window. This will pop up a dialog where you can create a new lift. You can specify the name, position, size, and reference floor in the dialog.

Note: Do include the keywork “lift” in the lift name as for now this is how slotcars recognize lift models.

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package rmf_traffic_editor

1.6.3 (2024-11-05)

  • Fix reference file name being kept when loading new building (#503)
  • Contributors: Luca Della Vedova

1.6.2 (2023-08-10)

1.6.1 (2023-06-05)

  • Switch changelogs to rst format.
  • Contributors: Yadunund

1.6.0 (2022-10-05)

  • Added a dispensable field for models (#436)
  • Use index based iterator to avoid yaml cpp bug (#435)
  • better vertex text size in meter-scale maps (#431)
  • Contributors: Aaron Chong, Luca Della Vedova, Morgan Quigley

1.5.1 (2022-04-20)

  • update OSM tile server URL to full planet data (#430)
  • fix cmake ament_index_cpp dependency
  • add a github CI job for rolling
  • don't double-trigger CI runs
  • update qt packages for jammy github workflow
  • build/install rmf_utils from source in ci_rolling
  • Contributors: Morgan Quigley, Youliang Tan

1.5.0 (2022-03-13)

  • fix #419 by calculating transformed x/y in image-based maps (#421)
  • validate reference level index before using it (avoid a crash)
  • Use C++17 for std::optional
  • move all CI to galactic on ubuntu 20.04
  • move the C++ style check into the 'main' CI test workflow
  • Feature/render OpenStreetMap tiles (#418)
    • "new building" dialog box which asks which coordinates to use
    • use a subdirectory in ~/.cache as the OSM tile cache
    • show the tile cache size on the status bar
    • use EPSG:3857 (meters) for rendering tile maps
    • WGS84 coordinate translation
    • render OSM tiles in grayscale, so the non-tile things are easier to see
    • populate lat, lon property fields in EPSG:3857 mode
    • remove obsolete "flattened" UI stuff
    • save global coords in wgs84 but render them in epsg3857 on OSM tiles
    • GUI box to set the local CRS for sim/nav generation
    • move all RMF keys into GeoJSON props. add start/end names
    • feature_type -> rmf_type in GeoJSON properties
    • translate robot spawn point along with the world
  • Handle simulation offsets for models and cameras (#408)
    • lat/lon translation behavior for models (previously, builds break when adding models due to WGS84 translation not having a "rotation" variable)
    • change naming for wgs84 model positions to lat/lon instead of x/y for consistency
    • apply offsets to the camera, so the camera view appears over the working area
    • Handle simulation offsets for models and cameras
    • Pass transform in Model constructor; pass un-transformed variables for to_yaml
    • Add check if global_transform was initialized; fix wrong computation of xy
    • parse model coordinates in wgs84 and project for viewing/editing
    • move model projection/translation to generate phase
    • set user-agent string in HTTP tile requests
    • workaround for 32-bit scrollbar overflow at extreme zoom
    • introduce a simple queuing system for tiles
    • reset zoom when loading a different filename
  • flip layer images right-side up in cartesian meters mode (#405)
  • Improve behavior for Cartesian maps (#401)
    • Improve behavior for Cartesian maps

    * because Cartesian maps have 1-meter units, we need to compute a better default scale for them. Previously it was always using a default scale of 0.05. * somewhat related, also fix the edge-select implementation so it spins through all edges in the map rather than just selecting the first edge within 10 units... that was OK when we were always using pixel-based maps, but now that meter-based maps are in use, it was just choosing the first edge that was within 10 meters of the click, which was a lot of edges and felt somewhat random.

    • stop drawing a 1-unit border around the scene rectangle
    • rotate vertex icons to +Y for cartesian maps
  • Cartesian worlds (y=up) and steps towards using GeoPackage (#396)
    • create passthrough transform for cartesian_meters coordinate systems
    • y-flip in traffic-editor GUI for cartesian worlds; only invert Y coordinate for legacy image-based maps
    • add coordinate system files for C++ GUI
    • pass coordinate system to vertex draw, to flip text as needed
    • correct deprecated setuptools key to fix warning

File truncated at 100 lines see the full file

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged rmf_traffic_editor at Robotics Stack Exchange

No version for distro bouncy showing humble. Known supported distros are highlighted in the buttons above.

Package Summary

Tags No category tags.
Version 1.6.3
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/open-rmf/rmf_traffic_editor.git
VCS Type git
VCS Version humble
Last Updated 2024-11-08
Dev Status DEVELOPED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

traffic editor

Additional Links

No additional links.

Maintainers

  • Morgan Quigley
  • Marco A. Gutiérrez

Authors

No additional authors.

Traffic Editor

A graphical editor for robot traffic flows. The intent is to make it easy to annotate building floorplans with the desired robot traffic lanes and generate simulation models to test and evaluate different traffic schemes.

Quality Declaration

This package claims to be in the Quality Level 3 category. See the Quality Declaration for more details.

System Requirements

This program is developed and tested on Ubuntu 18.04 LTS, using Qt 5 and yaml-cpp.

Compiling Instructions

Traffic Editor is now structured as a Colcon package. After installing ROS 2 Eloquent, the following command sequence will create a colcon workspace in ~/colcon_workspace and build traffic-editor there:

sudo apt update
sudo apt install libyaml-cpp-dev qt5-default \
  libopencv-dev libopencv-videoio-dev
mkdir -p ~/colcon_workspace/src
cd ~/colcon_workspace/src
git clone https://github.com/open-rmf/rmf_traffic_editor
cd ~/colcon_workspace
source /opt/ros/eloquent/setup.bash
colcon build --packages-select rmf_traffic_editor

The companion traffic_editor_assets package contains a nifty bunch of useful assets to use with rmf_traffic_editor. It is included in the above checkout.

Then you should be able to run traffic-editor by sourcing the install space of that workspace, in a new “clean” terminal:

source ~/colcon_workspace/install/setup.bash
traffic-editor

Quick Start

If it’s the first time you are running it, starting the editor with traffic-editor should bring up a blank window.

First, you’ll need to make sure that traffic-editor knows where the model thumbnails are found. If you installed traffic_editor_assets, rmf_traffic_editor should find it automatically. The thumbnails are top-view renderings of various art assets that can be added to the environments, such as chairs.

Click Edit->Preferences... and see if the path provided in the “Thumbnail Path” box looks reasonable.

If necessary, the “Find…” button can be used to browse the filesystem to point to any desired thumbnail directory.

(If you installed the recommended traffic_editor_assets package, you will find its thumbnail directory in its install space at <workspace_dir>/install/traffic_editor_assets/share/assets/thumbnails.)

Creating a new Project and an empty Building Map

Click Project->New... and save your new project as test.project.yaml

Click Edit->Project Properties... and enter “test” as the project name and test.building.yaml as the building path. Then click OK.

Click Edit->Building Properties... and enter “test” as the building name. Click OK.

Creating a level and adding some stuff

Click the “Add…” button in the “levels” tab on the far right side of the main editor window. This will pop up a dialog where you can create a new level. Enter L1 for the name and click OK. This will create a 10 meter square level.

You can zoom in and out using the mouse wheel on the rendering on the left side of the main window. You can pan around by dragging the mouse around with the mouse wheel (or middle button) depressed.

Now, you should be able to click the green dot toolbar icon, which is the “Add Vertex” tool (or press V) and click a few vertices in the white area. Press the [Escape] key to return to the “Select” tool.

Now, you should be able to click the add wall tool (or press W) and drag from one vertex to another vertex to add wall segments.

To delete wall segments or vertices, first press [Escape] to enter Select mode. Then, click on a wall segment or vertex, and press [Delete].

Save your work

Click Project->Save or press Ctrl+S to save the project and building map.

Adding real-world measurements to set the scale

To set the scale of the drawing, click the add measurement tool (or press M) and drag from one vertex to another to add a real-world measurement line, which should show up as a pink line. Then click the select tool (or press Esc) and click on the line with the left button. This should populate the property-editor in the lower-right pane of the editor window. You can then specify the real-world length of the measurement line in meters. If you set more than one measurement line on a drawing, the editor will compute an average value of pixels-per-meter from all supplied measurements.

Currently you need to re-load the document (closing the editor and re-opening) to re-compute the scale. This is not ideal, but is hopefully not a frequently-used feature. Typically the scale of a map is only set one time.

Adding lifts

Click the “Add…” button in the “lifts” tab on the far right side of the main editor window. This will pop up a dialog where you can create a new lift. You can specify the name, position, size, and reference floor in the dialog.

Note: Do include the keywork “lift” in the lift name as for now this is how slotcars recognize lift models.

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package rmf_traffic_editor

1.6.3 (2024-11-05)

  • Fix reference file name being kept when loading new building (#503)
  • Contributors: Luca Della Vedova

1.6.2 (2023-08-10)

1.6.1 (2023-06-05)

  • Switch changelogs to rst format.
  • Contributors: Yadunund

1.6.0 (2022-10-05)

  • Added a dispensable field for models (#436)
  • Use index based iterator to avoid yaml cpp bug (#435)
  • better vertex text size in meter-scale maps (#431)
  • Contributors: Aaron Chong, Luca Della Vedova, Morgan Quigley

1.5.1 (2022-04-20)

  • update OSM tile server URL to full planet data (#430)
  • fix cmake ament_index_cpp dependency
  • add a github CI job for rolling
  • don't double-trigger CI runs
  • update qt packages for jammy github workflow
  • build/install rmf_utils from source in ci_rolling
  • Contributors: Morgan Quigley, Youliang Tan

1.5.0 (2022-03-13)

  • fix #419 by calculating transformed x/y in image-based maps (#421)
  • validate reference level index before using it (avoid a crash)
  • Use C++17 for std::optional
  • move all CI to galactic on ubuntu 20.04
  • move the C++ style check into the 'main' CI test workflow
  • Feature/render OpenStreetMap tiles (#418)
    • "new building" dialog box which asks which coordinates to use
    • use a subdirectory in ~/.cache as the OSM tile cache
    • show the tile cache size on the status bar
    • use EPSG:3857 (meters) for rendering tile maps
    • WGS84 coordinate translation
    • render OSM tiles in grayscale, so the non-tile things are easier to see
    • populate lat, lon property fields in EPSG:3857 mode
    • remove obsolete "flattened" UI stuff
    • save global coords in wgs84 but render them in epsg3857 on OSM tiles
    • GUI box to set the local CRS for sim/nav generation
    • move all RMF keys into GeoJSON props. add start/end names
    • feature_type -> rmf_type in GeoJSON properties
    • translate robot spawn point along with the world
  • Handle simulation offsets for models and cameras (#408)
    • lat/lon translation behavior for models (previously, builds break when adding models due to WGS84 translation not having a "rotation" variable)
    • change naming for wgs84 model positions to lat/lon instead of x/y for consistency
    • apply offsets to the camera, so the camera view appears over the working area
    • Handle simulation offsets for models and cameras
    • Pass transform in Model constructor; pass un-transformed variables for to_yaml
    • Add check if global_transform was initialized; fix wrong computation of xy
    • parse model coordinates in wgs84 and project for viewing/editing
    • move model projection/translation to generate phase
    • set user-agent string in HTTP tile requests
    • workaround for 32-bit scrollbar overflow at extreme zoom
    • introduce a simple queuing system for tiles
    • reset zoom when loading a different filename
  • flip layer images right-side up in cartesian meters mode (#405)
  • Improve behavior for Cartesian maps (#401)
    • Improve behavior for Cartesian maps

    * because Cartesian maps have 1-meter units, we need to compute a better default scale for them. Previously it was always using a default scale of 0.05. * somewhat related, also fix the edge-select implementation so it spins through all edges in the map rather than just selecting the first edge within 10 units... that was OK when we were always using pixel-based maps, but now that meter-based maps are in use, it was just choosing the first edge that was within 10 meters of the click, which was a lot of edges and felt somewhat random.

    • stop drawing a 1-unit border around the scene rectangle
    • rotate vertex icons to +Y for cartesian maps
  • Cartesian worlds (y=up) and steps towards using GeoPackage (#396)
    • create passthrough transform for cartesian_meters coordinate systems
    • y-flip in traffic-editor GUI for cartesian worlds; only invert Y coordinate for legacy image-based maps
    • add coordinate system files for C++ GUI
    • pass coordinate system to vertex draw, to flip text as needed
    • correct deprecated setuptools key to fix warning

File truncated at 100 lines see the full file

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged rmf_traffic_editor at Robotics Stack Exchange

No version for distro crystal showing humble. Known supported distros are highlighted in the buttons above.

Package Summary

Tags No category tags.
Version 1.6.3
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/open-rmf/rmf_traffic_editor.git
VCS Type git
VCS Version humble
Last Updated 2024-11-08
Dev Status DEVELOPED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

traffic editor

Additional Links

No additional links.

Maintainers

  • Morgan Quigley
  • Marco A. Gutiérrez

Authors

No additional authors.

Traffic Editor

A graphical editor for robot traffic flows. The intent is to make it easy to annotate building floorplans with the desired robot traffic lanes and generate simulation models to test and evaluate different traffic schemes.

Quality Declaration

This package claims to be in the Quality Level 3 category. See the Quality Declaration for more details.

System Requirements

This program is developed and tested on Ubuntu 18.04 LTS, using Qt 5 and yaml-cpp.

Compiling Instructions

Traffic Editor is now structured as a Colcon package. After installing ROS 2 Eloquent, the following command sequence will create a colcon workspace in ~/colcon_workspace and build traffic-editor there:

sudo apt update
sudo apt install libyaml-cpp-dev qt5-default \
  libopencv-dev libopencv-videoio-dev
mkdir -p ~/colcon_workspace/src
cd ~/colcon_workspace/src
git clone https://github.com/open-rmf/rmf_traffic_editor
cd ~/colcon_workspace
source /opt/ros/eloquent/setup.bash
colcon build --packages-select rmf_traffic_editor

The companion traffic_editor_assets package contains a nifty bunch of useful assets to use with rmf_traffic_editor. It is included in the above checkout.

Then you should be able to run traffic-editor by sourcing the install space of that workspace, in a new “clean” terminal:

source ~/colcon_workspace/install/setup.bash
traffic-editor

Quick Start

If it’s the first time you are running it, starting the editor with traffic-editor should bring up a blank window.

First, you’ll need to make sure that traffic-editor knows where the model thumbnails are found. If you installed traffic_editor_assets, rmf_traffic_editor should find it automatically. The thumbnails are top-view renderings of various art assets that can be added to the environments, such as chairs.

Click Edit->Preferences... and see if the path provided in the “Thumbnail Path” box looks reasonable.

If necessary, the “Find…” button can be used to browse the filesystem to point to any desired thumbnail directory.

(If you installed the recommended traffic_editor_assets package, you will find its thumbnail directory in its install space at <workspace_dir>/install/traffic_editor_assets/share/assets/thumbnails.)

Creating a new Project and an empty Building Map

Click Project->New... and save your new project as test.project.yaml

Click Edit->Project Properties... and enter “test” as the project name and test.building.yaml as the building path. Then click OK.

Click Edit->Building Properties... and enter “test” as the building name. Click OK.

Creating a level and adding some stuff

Click the “Add…” button in the “levels” tab on the far right side of the main editor window. This will pop up a dialog where you can create a new level. Enter L1 for the name and click OK. This will create a 10 meter square level.

You can zoom in and out using the mouse wheel on the rendering on the left side of the main window. You can pan around by dragging the mouse around with the mouse wheel (or middle button) depressed.

Now, you should be able to click the green dot toolbar icon, which is the “Add Vertex” tool (or press V) and click a few vertices in the white area. Press the [Escape] key to return to the “Select” tool.

Now, you should be able to click the add wall tool (or press W) and drag from one vertex to another vertex to add wall segments.

To delete wall segments or vertices, first press [Escape] to enter Select mode. Then, click on a wall segment or vertex, and press [Delete].

Save your work

Click Project->Save or press Ctrl+S to save the project and building map.

Adding real-world measurements to set the scale

To set the scale of the drawing, click the add measurement tool (or press M) and drag from one vertex to another to add a real-world measurement line, which should show up as a pink line. Then click the select tool (or press Esc) and click on the line with the left button. This should populate the property-editor in the lower-right pane of the editor window. You can then specify the real-world length of the measurement line in meters. If you set more than one measurement line on a drawing, the editor will compute an average value of pixels-per-meter from all supplied measurements.

Currently you need to re-load the document (closing the editor and re-opening) to re-compute the scale. This is not ideal, but is hopefully not a frequently-used feature. Typically the scale of a map is only set one time.

Adding lifts

Click the “Add…” button in the “lifts” tab on the far right side of the main editor window. This will pop up a dialog where you can create a new lift. You can specify the name, position, size, and reference floor in the dialog.

Note: Do include the keywork “lift” in the lift name as for now this is how slotcars recognize lift models.

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package rmf_traffic_editor

1.6.3 (2024-11-05)

  • Fix reference file name being kept when loading new building (#503)
  • Contributors: Luca Della Vedova

1.6.2 (2023-08-10)

1.6.1 (2023-06-05)

  • Switch changelogs to rst format.
  • Contributors: Yadunund

1.6.0 (2022-10-05)

  • Added a dispensable field for models (#436)
  • Use index based iterator to avoid yaml cpp bug (#435)
  • better vertex text size in meter-scale maps (#431)
  • Contributors: Aaron Chong, Luca Della Vedova, Morgan Quigley

1.5.1 (2022-04-20)

  • update OSM tile server URL to full planet data (#430)
  • fix cmake ament_index_cpp dependency
  • add a github CI job for rolling
  • don't double-trigger CI runs
  • update qt packages for jammy github workflow
  • build/install rmf_utils from source in ci_rolling
  • Contributors: Morgan Quigley, Youliang Tan

1.5.0 (2022-03-13)

  • fix #419 by calculating transformed x/y in image-based maps (#421)
  • validate reference level index before using it (avoid a crash)
  • Use C++17 for std::optional
  • move all CI to galactic on ubuntu 20.04
  • move the C++ style check into the 'main' CI test workflow
  • Feature/render OpenStreetMap tiles (#418)
    • "new building" dialog box which asks which coordinates to use
    • use a subdirectory in ~/.cache as the OSM tile cache
    • show the tile cache size on the status bar
    • use EPSG:3857 (meters) for rendering tile maps
    • WGS84 coordinate translation
    • render OSM tiles in grayscale, so the non-tile things are easier to see
    • populate lat, lon property fields in EPSG:3857 mode
    • remove obsolete "flattened" UI stuff
    • save global coords in wgs84 but render them in epsg3857 on OSM tiles
    • GUI box to set the local CRS for sim/nav generation
    • move all RMF keys into GeoJSON props. add start/end names
    • feature_type -> rmf_type in GeoJSON properties
    • translate robot spawn point along with the world
  • Handle simulation offsets for models and cameras (#408)
    • lat/lon translation behavior for models (previously, builds break when adding models due to WGS84 translation not having a "rotation" variable)
    • change naming for wgs84 model positions to lat/lon instead of x/y for consistency
    • apply offsets to the camera, so the camera view appears over the working area
    • Handle simulation offsets for models and cameras
    • Pass transform in Model constructor; pass un-transformed variables for to_yaml
    • Add check if global_transform was initialized; fix wrong computation of xy
    • parse model coordinates in wgs84 and project for viewing/editing
    • move model projection/translation to generate phase
    • set user-agent string in HTTP tile requests
    • workaround for 32-bit scrollbar overflow at extreme zoom
    • introduce a simple queuing system for tiles
    • reset zoom when loading a different filename
  • flip layer images right-side up in cartesian meters mode (#405)
  • Improve behavior for Cartesian maps (#401)
    • Improve behavior for Cartesian maps

    * because Cartesian maps have 1-meter units, we need to compute a better default scale for them. Previously it was always using a default scale of 0.05. * somewhat related, also fix the edge-select implementation so it spins through all edges in the map rather than just selecting the first edge within 10 units... that was OK when we were always using pixel-based maps, but now that meter-based maps are in use, it was just choosing the first edge that was within 10 meters of the click, which was a lot of edges and felt somewhat random.

    • stop drawing a 1-unit border around the scene rectangle
    • rotate vertex icons to +Y for cartesian maps
  • Cartesian worlds (y=up) and steps towards using GeoPackage (#396)
    • create passthrough transform for cartesian_meters coordinate systems
    • y-flip in traffic-editor GUI for cartesian worlds; only invert Y coordinate for legacy image-based maps
    • add coordinate system files for C++ GUI
    • pass coordinate system to vertex draw, to flip text as needed
    • correct deprecated setuptools key to fix warning

File truncated at 100 lines see the full file

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged rmf_traffic_editor at Robotics Stack Exchange

No version for distro eloquent showing humble. Known supported distros are highlighted in the buttons above.

Package Summary

Tags No category tags.
Version 1.6.3
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/open-rmf/rmf_traffic_editor.git
VCS Type git
VCS Version humble
Last Updated 2024-11-08
Dev Status DEVELOPED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

traffic editor

Additional Links

No additional links.

Maintainers

  • Morgan Quigley
  • Marco A. Gutiérrez

Authors

No additional authors.

Traffic Editor

A graphical editor for robot traffic flows. The intent is to make it easy to annotate building floorplans with the desired robot traffic lanes and generate simulation models to test and evaluate different traffic schemes.

Quality Declaration

This package claims to be in the Quality Level 3 category. See the Quality Declaration for more details.

System Requirements

This program is developed and tested on Ubuntu 18.04 LTS, using Qt 5 and yaml-cpp.

Compiling Instructions

Traffic Editor is now structured as a Colcon package. After installing ROS 2 Eloquent, the following command sequence will create a colcon workspace in ~/colcon_workspace and build traffic-editor there:

sudo apt update
sudo apt install libyaml-cpp-dev qt5-default \
  libopencv-dev libopencv-videoio-dev
mkdir -p ~/colcon_workspace/src
cd ~/colcon_workspace/src
git clone https://github.com/open-rmf/rmf_traffic_editor
cd ~/colcon_workspace
source /opt/ros/eloquent/setup.bash
colcon build --packages-select rmf_traffic_editor

The companion traffic_editor_assets package contains a nifty bunch of useful assets to use with rmf_traffic_editor. It is included in the above checkout.

Then you should be able to run traffic-editor by sourcing the install space of that workspace, in a new “clean” terminal:

source ~/colcon_workspace/install/setup.bash
traffic-editor

Quick Start

If it’s the first time you are running it, starting the editor with traffic-editor should bring up a blank window.

First, you’ll need to make sure that traffic-editor knows where the model thumbnails are found. If you installed traffic_editor_assets, rmf_traffic_editor should find it automatically. The thumbnails are top-view renderings of various art assets that can be added to the environments, such as chairs.

Click Edit->Preferences... and see if the path provided in the “Thumbnail Path” box looks reasonable.

If necessary, the “Find…” button can be used to browse the filesystem to point to any desired thumbnail directory.

(If you installed the recommended traffic_editor_assets package, you will find its thumbnail directory in its install space at <workspace_dir>/install/traffic_editor_assets/share/assets/thumbnails.)

Creating a new Project and an empty Building Map

Click Project->New... and save your new project as test.project.yaml

Click Edit->Project Properties... and enter “test” as the project name and test.building.yaml as the building path. Then click OK.

Click Edit->Building Properties... and enter “test” as the building name. Click OK.

Creating a level and adding some stuff

Click the “Add…” button in the “levels” tab on the far right side of the main editor window. This will pop up a dialog where you can create a new level. Enter L1 for the name and click OK. This will create a 10 meter square level.

You can zoom in and out using the mouse wheel on the rendering on the left side of the main window. You can pan around by dragging the mouse around with the mouse wheel (or middle button) depressed.

Now, you should be able to click the green dot toolbar icon, which is the “Add Vertex” tool (or press V) and click a few vertices in the white area. Press the [Escape] key to return to the “Select” tool.

Now, you should be able to click the add wall tool (or press W) and drag from one vertex to another vertex to add wall segments.

To delete wall segments or vertices, first press [Escape] to enter Select mode. Then, click on a wall segment or vertex, and press [Delete].

Save your work

Click Project->Save or press Ctrl+S to save the project and building map.

Adding real-world measurements to set the scale

To set the scale of the drawing, click the add measurement tool (or press M) and drag from one vertex to another to add a real-world measurement line, which should show up as a pink line. Then click the select tool (or press Esc) and click on the line with the left button. This should populate the property-editor in the lower-right pane of the editor window. You can then specify the real-world length of the measurement line in meters. If you set more than one measurement line on a drawing, the editor will compute an average value of pixels-per-meter from all supplied measurements.

Currently you need to re-load the document (closing the editor and re-opening) to re-compute the scale. This is not ideal, but is hopefully not a frequently-used feature. Typically the scale of a map is only set one time.

Adding lifts

Click the “Add…” button in the “lifts” tab on the far right side of the main editor window. This will pop up a dialog where you can create a new lift. You can specify the name, position, size, and reference floor in the dialog.

Note: Do include the keywork “lift” in the lift name as for now this is how slotcars recognize lift models.

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package rmf_traffic_editor

1.6.3 (2024-11-05)

  • Fix reference file name being kept when loading new building (#503)
  • Contributors: Luca Della Vedova

1.6.2 (2023-08-10)

1.6.1 (2023-06-05)

  • Switch changelogs to rst format.
  • Contributors: Yadunund

1.6.0 (2022-10-05)

  • Added a dispensable field for models (#436)
  • Use index based iterator to avoid yaml cpp bug (#435)
  • better vertex text size in meter-scale maps (#431)
  • Contributors: Aaron Chong, Luca Della Vedova, Morgan Quigley

1.5.1 (2022-04-20)

  • update OSM tile server URL to full planet data (#430)
  • fix cmake ament_index_cpp dependency
  • add a github CI job for rolling
  • don't double-trigger CI runs
  • update qt packages for jammy github workflow
  • build/install rmf_utils from source in ci_rolling
  • Contributors: Morgan Quigley, Youliang Tan

1.5.0 (2022-03-13)

  • fix #419 by calculating transformed x/y in image-based maps (#421)
  • validate reference level index before using it (avoid a crash)
  • Use C++17 for std::optional
  • move all CI to galactic on ubuntu 20.04
  • move the C++ style check into the 'main' CI test workflow
  • Feature/render OpenStreetMap tiles (#418)
    • "new building" dialog box which asks which coordinates to use
    • use a subdirectory in ~/.cache as the OSM tile cache
    • show the tile cache size on the status bar
    • use EPSG:3857 (meters) for rendering tile maps
    • WGS84 coordinate translation
    • render OSM tiles in grayscale, so the non-tile things are easier to see
    • populate lat, lon property fields in EPSG:3857 mode
    • remove obsolete "flattened" UI stuff
    • save global coords in wgs84 but render them in epsg3857 on OSM tiles
    • GUI box to set the local CRS for sim/nav generation
    • move all RMF keys into GeoJSON props. add start/end names
    • feature_type -> rmf_type in GeoJSON properties
    • translate robot spawn point along with the world
  • Handle simulation offsets for models and cameras (#408)
    • lat/lon translation behavior for models (previously, builds break when adding models due to WGS84 translation not having a "rotation" variable)
    • change naming for wgs84 model positions to lat/lon instead of x/y for consistency
    • apply offsets to the camera, so the camera view appears over the working area
    • Handle simulation offsets for models and cameras
    • Pass transform in Model constructor; pass un-transformed variables for to_yaml
    • Add check if global_transform was initialized; fix wrong computation of xy
    • parse model coordinates in wgs84 and project for viewing/editing
    • move model projection/translation to generate phase
    • set user-agent string in HTTP tile requests
    • workaround for 32-bit scrollbar overflow at extreme zoom
    • introduce a simple queuing system for tiles
    • reset zoom when loading a different filename
  • flip layer images right-side up in cartesian meters mode (#405)
  • Improve behavior for Cartesian maps (#401)
    • Improve behavior for Cartesian maps

    * because Cartesian maps have 1-meter units, we need to compute a better default scale for them. Previously it was always using a default scale of 0.05. * somewhat related, also fix the edge-select implementation so it spins through all edges in the map rather than just selecting the first edge within 10 units... that was OK when we were always using pixel-based maps, but now that meter-based maps are in use, it was just choosing the first edge that was within 10 meters of the click, which was a lot of edges and felt somewhat random.

    • stop drawing a 1-unit border around the scene rectangle
    • rotate vertex icons to +Y for cartesian maps
  • Cartesian worlds (y=up) and steps towards using GeoPackage (#396)
    • create passthrough transform for cartesian_meters coordinate systems
    • y-flip in traffic-editor GUI for cartesian worlds; only invert Y coordinate for legacy image-based maps
    • add coordinate system files for C++ GUI
    • pass coordinate system to vertex draw, to flip text as needed
    • correct deprecated setuptools key to fix warning

File truncated at 100 lines see the full file

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged rmf_traffic_editor at Robotics Stack Exchange

No version for distro dashing showing humble. Known supported distros are highlighted in the buttons above.

Package Summary

Tags No category tags.
Version 1.6.3
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/open-rmf/rmf_traffic_editor.git
VCS Type git
VCS Version humble
Last Updated 2024-11-08
Dev Status DEVELOPED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

traffic editor

Additional Links

No additional links.

Maintainers

  • Morgan Quigley
  • Marco A. Gutiérrez

Authors

No additional authors.

Traffic Editor

A graphical editor for robot traffic flows. The intent is to make it easy to annotate building floorplans with the desired robot traffic lanes and generate simulation models to test and evaluate different traffic schemes.

Quality Declaration

This package claims to be in the Quality Level 3 category. See the Quality Declaration for more details.

System Requirements

This program is developed and tested on Ubuntu 18.04 LTS, using Qt 5 and yaml-cpp.

Compiling Instructions

Traffic Editor is now structured as a Colcon package. After installing ROS 2 Eloquent, the following command sequence will create a colcon workspace in ~/colcon_workspace and build traffic-editor there:

sudo apt update
sudo apt install libyaml-cpp-dev qt5-default \
  libopencv-dev libopencv-videoio-dev
mkdir -p ~/colcon_workspace/src
cd ~/colcon_workspace/src
git clone https://github.com/open-rmf/rmf_traffic_editor
cd ~/colcon_workspace
source /opt/ros/eloquent/setup.bash
colcon build --packages-select rmf_traffic_editor

The companion traffic_editor_assets package contains a nifty bunch of useful assets to use with rmf_traffic_editor. It is included in the above checkout.

Then you should be able to run traffic-editor by sourcing the install space of that workspace, in a new “clean” terminal:

source ~/colcon_workspace/install/setup.bash
traffic-editor

Quick Start

If it’s the first time you are running it, starting the editor with traffic-editor should bring up a blank window.

First, you’ll need to make sure that traffic-editor knows where the model thumbnails are found. If you installed traffic_editor_assets, rmf_traffic_editor should find it automatically. The thumbnails are top-view renderings of various art assets that can be added to the environments, such as chairs.

Click Edit->Preferences... and see if the path provided in the “Thumbnail Path” box looks reasonable.

If necessary, the “Find…” button can be used to browse the filesystem to point to any desired thumbnail directory.

(If you installed the recommended traffic_editor_assets package, you will find its thumbnail directory in its install space at <workspace_dir>/install/traffic_editor_assets/share/assets/thumbnails.)

Creating a new Project and an empty Building Map

Click Project->New... and save your new project as test.project.yaml

Click Edit->Project Properties... and enter “test” as the project name and test.building.yaml as the building path. Then click OK.

Click Edit->Building Properties... and enter “test” as the building name. Click OK.

Creating a level and adding some stuff

Click the “Add…” button in the “levels” tab on the far right side of the main editor window. This will pop up a dialog where you can create a new level. Enter L1 for the name and click OK. This will create a 10 meter square level.

You can zoom in and out using the mouse wheel on the rendering on the left side of the main window. You can pan around by dragging the mouse around with the mouse wheel (or middle button) depressed.

Now, you should be able to click the green dot toolbar icon, which is the “Add Vertex” tool (or press V) and click a few vertices in the white area. Press the [Escape] key to return to the “Select” tool.

Now, you should be able to click the add wall tool (or press W) and drag from one vertex to another vertex to add wall segments.

To delete wall segments or vertices, first press [Escape] to enter Select mode. Then, click on a wall segment or vertex, and press [Delete].

Save your work

Click Project->Save or press Ctrl+S to save the project and building map.

Adding real-world measurements to set the scale

To set the scale of the drawing, click the add measurement tool (or press M) and drag from one vertex to another to add a real-world measurement line, which should show up as a pink line. Then click the select tool (or press Esc) and click on the line with the left button. This should populate the property-editor in the lower-right pane of the editor window. You can then specify the real-world length of the measurement line in meters. If you set more than one measurement line on a drawing, the editor will compute an average value of pixels-per-meter from all supplied measurements.

Currently you need to re-load the document (closing the editor and re-opening) to re-compute the scale. This is not ideal, but is hopefully not a frequently-used feature. Typically the scale of a map is only set one time.

Adding lifts

Click the “Add…” button in the “lifts” tab on the far right side of the main editor window. This will pop up a dialog where you can create a new lift. You can specify the name, position, size, and reference floor in the dialog.

Note: Do include the keywork “lift” in the lift name as for now this is how slotcars recognize lift models.

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package rmf_traffic_editor

1.6.3 (2024-11-05)

  • Fix reference file name being kept when loading new building (#503)
  • Contributors: Luca Della Vedova

1.6.2 (2023-08-10)

1.6.1 (2023-06-05)

  • Switch changelogs to rst format.
  • Contributors: Yadunund

1.6.0 (2022-10-05)

  • Added a dispensable field for models (#436)
  • Use index based iterator to avoid yaml cpp bug (#435)
  • better vertex text size in meter-scale maps (#431)
  • Contributors: Aaron Chong, Luca Della Vedova, Morgan Quigley

1.5.1 (2022-04-20)

  • update OSM tile server URL to full planet data (#430)
  • fix cmake ament_index_cpp dependency
  • add a github CI job for rolling
  • don't double-trigger CI runs
  • update qt packages for jammy github workflow
  • build/install rmf_utils from source in ci_rolling
  • Contributors: Morgan Quigley, Youliang Tan

1.5.0 (2022-03-13)

  • fix #419 by calculating transformed x/y in image-based maps (#421)
  • validate reference level index before using it (avoid a crash)
  • Use C++17 for std::optional
  • move all CI to galactic on ubuntu 20.04
  • move the C++ style check into the 'main' CI test workflow
  • Feature/render OpenStreetMap tiles (#418)
    • "new building" dialog box which asks which coordinates to use
    • use a subdirectory in ~/.cache as the OSM tile cache
    • show the tile cache size on the status bar
    • use EPSG:3857 (meters) for rendering tile maps
    • WGS84 coordinate translation
    • render OSM tiles in grayscale, so the non-tile things are easier to see
    • populate lat, lon property fields in EPSG:3857 mode
    • remove obsolete "flattened" UI stuff
    • save global coords in wgs84 but render them in epsg3857 on OSM tiles
    • GUI box to set the local CRS for sim/nav generation
    • move all RMF keys into GeoJSON props. add start/end names
    • feature_type -> rmf_type in GeoJSON properties
    • translate robot spawn point along with the world
  • Handle simulation offsets for models and cameras (#408)
    • lat/lon translation behavior for models (previously, builds break when adding models due to WGS84 translation not having a "rotation" variable)
    • change naming for wgs84 model positions to lat/lon instead of x/y for consistency
    • apply offsets to the camera, so the camera view appears over the working area
    • Handle simulation offsets for models and cameras
    • Pass transform in Model constructor; pass un-transformed variables for to_yaml
    • Add check if global_transform was initialized; fix wrong computation of xy
    • parse model coordinates in wgs84 and project for viewing/editing
    • move model projection/translation to generate phase
    • set user-agent string in HTTP tile requests
    • workaround for 32-bit scrollbar overflow at extreme zoom
    • introduce a simple queuing system for tiles
    • reset zoom when loading a different filename
  • flip layer images right-side up in cartesian meters mode (#405)
  • Improve behavior for Cartesian maps (#401)
    • Improve behavior for Cartesian maps

    * because Cartesian maps have 1-meter units, we need to compute a better default scale for them. Previously it was always using a default scale of 0.05. * somewhat related, also fix the edge-select implementation so it spins through all edges in the map rather than just selecting the first edge within 10 units... that was OK when we were always using pixel-based maps, but now that meter-based maps are in use, it was just choosing the first edge that was within 10 meters of the click, which was a lot of edges and felt somewhat random.

    • stop drawing a 1-unit border around the scene rectangle
    • rotate vertex icons to +Y for cartesian maps
  • Cartesian worlds (y=up) and steps towards using GeoPackage (#396)
    • create passthrough transform for cartesian_meters coordinate systems
    • y-flip in traffic-editor GUI for cartesian worlds; only invert Y coordinate for legacy image-based maps
    • add coordinate system files for C++ GUI
    • pass coordinate system to vertex draw, to flip text as needed
    • correct deprecated setuptools key to fix warning

File truncated at 100 lines see the full file

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged rmf_traffic_editor at Robotics Stack Exchange

Package Summary

Tags No category tags.
Version 1.4.0
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/open-rmf/rmf_traffic_editor.git
VCS Type git
VCS Version galactic
Last Updated 2021-09-02
Dev Status DEVELOPED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

traffic editor

Additional Links

No additional links.

Maintainers

  • Morgan Quigley
  • Marco A. Gutiérrez

Authors

No additional authors.

Traffic Editor

A graphical editor for robot traffic flows. The intent is to make it easy to annotate building floorplans with the desired robot traffic lanes and generate simulation models to test and evaluate different traffic schemes.

Quality Declaration

This package claims to be in the Quality Level 3 category. See the Quality Declaration for more details.

System Requirements

This program is developed and tested on Ubuntu 18.04 LTS, using Qt 5 and yaml-cpp.

Compiling Instructions

Traffic Editor is now structured as a Colcon package. After installing ROS 2 Eloquent, the following command sequence will create a colcon workspace in ~/colcon_workspace and build traffic-editor there:

sudo apt update
sudo apt install libyaml-cpp-dev qt5-default \
  libopencv-dev libopencv-videoio-dev
mkdir -p ~/colcon_workspace/src
cd ~/colcon_workspace/src
git clone https://github.com/open-rmf/rmf_traffic_editor
cd ~/colcon_workspace
source /opt/ros/eloquent/setup.bash
colcon build --packages-select rmf_traffic_editor

The companion traffic_editor_assets package contains a nifty bunch of useful assets to use with rmf_traffic_editor. It is included in the above checkout.

Then you should be able to run traffic-editor by sourcing the install space of that workspace, in a new “clean” terminal:

source ~/colcon_workspace/install/setup.bash
traffic-editor

Quick Start

If it’s the first time you are running it, starting the editor with traffic-editor should bring up a blank window.

First, you’ll need to make sure that traffic-editor knows where the model thumbnails are found. If you installed traffic_editor_assets, rmf_traffic_editor should find it automatically. The thumbnails are top-view renderings of various art assets that can be added to the environments, such as chairs.

Click Edit->Preferences... and see if the path provided in the “Thumbnail Path” box looks reasonable.

If necessary, the “Find…” button can be used to browse the filesystem to point to any desired thumbnail directory.

(If you installed the recommended traffic_editor_assets package, you will find its thumbnail directory in its install space at <workspace_dir>/install/traffic_editor_assets/share/assets/thumbnails.)

Creating a new Project and an empty Building Map

Click Project->New... and save your new project as test.project.yaml

Click Edit->Project Properties... and enter “test” as the project name and test.building.yaml as the building path. Then click OK.

Click Edit->Building Properties... and enter “test” as the building name. Click OK.

Creating a level and adding some stuff

Click the “Add…” button in the “levels” tab on the far right side of the main editor window. This will pop up a dialog where you can create a new level. Enter L1 for the name and click OK. This will create a 10 meter square level.

You can zoom in and out using the mouse wheel on the rendering on the left side of the main window. You can pan around by dragging the mouse around with the mouse wheel (or middle button) depressed.

Now, you should be able to click the green dot toolbar icon, which is the “Add Vertex” tool (or press V) and click a few vertices in the white area. Press the [Escape] key to return to the “Select” tool.

Now, you should be able to click the add wall tool (or press W) and drag from one vertex to another vertex to add wall segments.

To delete wall segments or vertices, first press [Escape] to enter Select mode. Then, click on a wall segment or vertex, and press [Delete].

Save your work

Click Project->Save or press Ctrl+S to save the project and building map.

Adding real-world measurements to set the scale

To set the scale of the drawing, click the add measurement tool (or press M) and drag from one vertex to another to add a real-world measurement line, which should show up as a pink line. Then click the select tool (or press Esc) and click on the line with the left button. This should populate the property-editor in the lower-right pane of the editor window. You can then specify the real-world length of the measurement line in meters. If you set more than one measurement line on a drawing, the editor will compute an average value of pixels-per-meter from all supplied measurements.

Currently you need to re-load the document (closing the editor and re-opening) to re-compute the scale. This is not ideal, but is hopefully not a frequently-used feature. Typically the scale of a map is only set one time.

Adding lifts

Click the “Add…” button in the “lifts” tab on the far right side of the main editor window. This will pop up a dialog where you can create a new lift. You can specify the name, position, size, and reference floor in the dialog.

Note: Do include the keywork “lift” in the lift name as for now this is how slotcars recognize lift models.

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package rmf_traffic_editor

1.4.0 (2021-09-02)

  • Feature/graph names and widths (#384)
    • Graph data structure: default lane widths and a step towards #378
  • added support for ceilings with texture (#383)
  • added scaling features to wall texture (#382)
  • resolve build error on some systems with size_t namespace (#374) fix build error on some compilers/systems reported in https://github.com/open-rmf/rmf/discussions/85 by adding std:: prefix to size_t
  • sort list by model name, not Fuel group name (#373)
  • Feature: align vertices colinear (#372)
  • adding maintainer for buildfarm notifications (#368)
  • hotfix for #366, avoid exploding transform for 1 fudicual (#367)
  • Minor tweak to how empty crowd_sim and lift structures are serialized in YAML (#364)
  • Contributors: Marco A. Gutiérrez, Morgan Quigley, Xiyu

1.3.0 (2021-05-14)

  • Feature/display layer transforms in freefleet format (#347)
  • Feature/layer rendering palette mapping (#344)
  • Fix asset path after package renaming (#341)
  • Automatic alignment of robot-map layers to floorplans (#340)
  • Fix/ci package name (#339)
  • clarify labels on property add/delete buttons (#326)
  • handle editing multiple layers with same name. (#328)
  • fix #324, update layer image immediately after OK button (#327)
  • Bug/add layer button not visible in new building (#313)
  • provide zoom-reset and clamp on scale factor (#318)
  • avoid crash in empty crowdsim save routine (#312)
  • rename building_map_tools (#310)
  • Rename packages and delete moved packages (#308)
  • Refactoring and Migration [#308 https://github.com/open-rmf/rmf_traffic_editor/pull/308]{.title-ref}
  • Contributors: Geoffrey Biggs, Luca Della Vedova, Morgan Quigley, youliang

1.2.0 (2021-01-05)

  • Adds undo capability to a large part of the actions. (#269) (#266)
  • Contibutors: Arjo, Morgan Quigley, Yadu
  • Merge pull request #276 from osrf/add_lane_vertex_snap_distance_scaling scale add-lane vertex snap distance correctly
  • undo features
  • compute the click-to-merge treshold in pixels
  • Feature/undo: Undo for editor components (#269)
  • scale add-lane vertex snap distance correctly
  • fix to compilation when no opencv (#272)
  • Merge pull request #266 from osrf/feature/undo
  • Merge branch 'feature/undo' of https://github.com/osrf/traffic_editor into feature/undo
  • Added "save" to newly updated transition entries (#265)
  • Merge pull request #263 from osrf/dont_crash_on_new_project_crowdsim
  • Merge pull request #257 from Briancbn/pr-fix-disable-plugin-backwards-compatibility
  • Merge pull request #255 from osrf/feature/remove-plugin-option

File truncated at 100 lines see the full file

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Dependant Packages

No known dependants.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged rmf_traffic_editor at Robotics Stack Exchange

Package Summary

Tags No category tags.
Version 1.4.0
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/open-rmf/rmf_traffic_editor.git
VCS Type git
VCS Version foxy
Last Updated 2021-09-02
Dev Status DEVELOPED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

traffic editor

Additional Links

No additional links.

Maintainers

  • Morgan Quigley
  • Marco A. Gutiérrez

Authors

No additional authors.

Traffic Editor

A graphical editor for robot traffic flows. The intent is to make it easy to annotate building floorplans with the desired robot traffic lanes and generate simulation models to test and evaluate different traffic schemes.

Quality Declaration

This package claims to be in the Quality Level 3 category. See the Quality Declaration for more details.

System Requirements

This program is developed and tested on Ubuntu 18.04 LTS, using Qt 5 and yaml-cpp.

Compiling Instructions

Traffic Editor is now structured as a Colcon package. After installing ROS 2 Eloquent, the following command sequence will create a colcon workspace in ~/colcon_workspace and build traffic-editor there:

sudo apt update
sudo apt install libyaml-cpp-dev qt5-default \
  libopencv-dev libopencv-videoio-dev
mkdir -p ~/colcon_workspace/src
cd ~/colcon_workspace/src
git clone https://github.com/open-rmf/rmf_traffic_editor
cd ~/colcon_workspace
source /opt/ros/eloquent/setup.bash
colcon build --packages-select rmf_traffic_editor

The companion traffic_editor_assets package contains a nifty bunch of useful assets to use with rmf_traffic_editor. It is included in the above checkout.

Then you should be able to run traffic-editor by sourcing the install space of that workspace, in a new “clean” terminal:

source ~/colcon_workspace/install/setup.bash
traffic-editor

Quick Start

If it’s the first time you are running it, starting the editor with traffic-editor should bring up a blank window.

First, you’ll need to make sure that traffic-editor knows where the model thumbnails are found. If you installed traffic_editor_assets, rmf_traffic_editor should find it automatically. The thumbnails are top-view renderings of various art assets that can be added to the environments, such as chairs.

Click Edit->Preferences... and see if the path provided in the “Thumbnail Path” box looks reasonable.

If necessary, the “Find…” button can be used to browse the filesystem to point to any desired thumbnail directory.

(If you installed the recommended traffic_editor_assets package, you will find its thumbnail directory in its install space at <workspace_dir>/install/traffic_editor_assets/share/assets/thumbnails.)

Creating a new Project and an empty Building Map

Click Project->New... and save your new project as test.project.yaml

Click Edit->Project Properties... and enter “test” as the project name and test.building.yaml as the building path. Then click OK.

Click Edit->Building Properties... and enter “test” as the building name. Click OK.

Creating a level and adding some stuff

Click the “Add…” button in the “levels” tab on the far right side of the main editor window. This will pop up a dialog where you can create a new level. Enter L1 for the name and click OK. This will create a 10 meter square level.

You can zoom in and out using the mouse wheel on the rendering on the left side of the main window. You can pan around by dragging the mouse around with the mouse wheel (or middle button) depressed.

Now, you should be able to click the green dot toolbar icon, which is the “Add Vertex” tool (or press V) and click a few vertices in the white area. Press the [Escape] key to return to the “Select” tool.

Now, you should be able to click the add wall tool (or press W) and drag from one vertex to another vertex to add wall segments.

To delete wall segments or vertices, first press [Escape] to enter Select mode. Then, click on a wall segment or vertex, and press [Delete].

Save your work

Click Project->Save or press Ctrl+S to save the project and building map.

Adding real-world measurements to set the scale

To set the scale of the drawing, click the add measurement tool (or press M) and drag from one vertex to another to add a real-world measurement line, which should show up as a pink line. Then click the select tool (or press Esc) and click on the line with the left button. This should populate the property-editor in the lower-right pane of the editor window. You can then specify the real-world length of the measurement line in meters. If you set more than one measurement line on a drawing, the editor will compute an average value of pixels-per-meter from all supplied measurements.

Currently you need to re-load the document (closing the editor and re-opening) to re-compute the scale. This is not ideal, but is hopefully not a frequently-used feature. Typically the scale of a map is only set one time.

Adding lifts

Click the “Add…” button in the “lifts” tab on the far right side of the main editor window. This will pop up a dialog where you can create a new lift. You can specify the name, position, size, and reference floor in the dialog.

Note: Do include the keywork “lift” in the lift name as for now this is how slotcars recognize lift models.

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package rmf_traffic_editor

1.4.0 (2021-09-02)

  • Feature/graph names and widths (#384)
    • Graph data structure: default lane widths and a step towards #378
  • added support for ceilings with texture (#383)
  • added scaling features to wall texture (#382)
  • resolve build error on some systems with size_t namespace (#374) fix build error on some compilers/systems reported in https://github.com/open-rmf/rmf/discussions/85 by adding std:: prefix to size_t
  • sort list by model name, not Fuel group name (#373)
  • Feature: align vertices colinear (#372)
  • adding maintainer for buildfarm notifications (#368)
  • hotfix for #366, avoid exploding transform for 1 fudicual (#367)
  • Minor tweak to how empty crowd_sim and lift structures are serialized in YAML (#364)
  • Contributors: Marco A. Gutiérrez, Morgan Quigley, Xiyu

1.3.0 (2021-05-14)

  • Feature/display layer transforms in freefleet format (#347)
  • Feature/layer rendering palette mapping (#344)
  • Fix asset path after package renaming (#341)
  • Automatic alignment of robot-map layers to floorplans (#340)
  • Fix/ci package name (#339)
  • clarify labels on property add/delete buttons (#326)
  • handle editing multiple layers with same name. (#328)
  • fix #324, update layer image immediately after OK button (#327)
  • Bug/add layer button not visible in new building (#313)
  • provide zoom-reset and clamp on scale factor (#318)
  • avoid crash in empty crowdsim save routine (#312)
  • rename building_map_tools (#310)
  • Rename packages and delete moved packages (#308)
  • Refactoring and Migration [#308 https://github.com/open-rmf/rmf_traffic_editor/pull/308]{.title-ref}
  • Contributors: Geoffrey Biggs, Luca Della Vedova, Morgan Quigley, youliang

1.2.0 (2021-01-05)

  • Adds undo capability to a large part of the actions. (#269) (#266)
  • Contibutors: Arjo, Morgan Quigley, Yadu
  • Merge pull request #276 from osrf/add_lane_vertex_snap_distance_scaling scale add-lane vertex snap distance correctly
  • undo features
  • compute the click-to-merge treshold in pixels
  • Feature/undo: Undo for editor components (#269)
  • scale add-lane vertex snap distance correctly
  • fix to compilation when no opencv (#272)
  • Merge pull request #266 from osrf/feature/undo
  • Merge branch 'feature/undo' of https://github.com/osrf/traffic_editor into feature/undo
  • Added "save" to newly updated transition entries (#265)
  • Merge pull request #263 from osrf/dont_crash_on_new_project_crowdsim
  • Merge pull request #257 from Briancbn/pr-fix-disable-plugin-backwards-compatibility
  • Merge pull request #255 from osrf/feature/remove-plugin-option

File truncated at 100 lines see the full file

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Dependant Packages

No known dependants.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged rmf_traffic_editor at Robotics Stack Exchange

Package Summary

Tags No category tags.
Version 1.7.2
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/open-rmf/rmf_traffic_editor.git
VCS Type git
VCS Version iron
Last Updated 2023-12-15
Dev Status DEVELOPED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

traffic editor

Additional Links

No additional links.

Maintainers

  • Morgan Quigley
  • Marco A. Gutiérrez

Authors

No additional authors.

Traffic Editor

A graphical editor for robot traffic flows. The intent is to make it easy to annotate building floorplans with the desired robot traffic lanes and generate simulation models to test and evaluate different traffic schemes.

Quality Declaration

This package claims to be in the Quality Level 3 category. See the Quality Declaration for more details.

System Requirements

This program is developed and tested on Ubuntu 18.04 LTS, using Qt 5 and yaml-cpp.

Compiling Instructions

Traffic Editor is now structured as a Colcon package. After installing ROS 2 Eloquent, the following command sequence will create a colcon workspace in ~/colcon_workspace and build traffic-editor there:

sudo apt update
sudo apt install libyaml-cpp-dev qt5-default \
  libopencv-dev libopencv-videoio-dev
mkdir -p ~/colcon_workspace/src
cd ~/colcon_workspace/src
git clone https://github.com/open-rmf/rmf_traffic_editor
cd ~/colcon_workspace
source /opt/ros/eloquent/setup.bash
colcon build --packages-select rmf_traffic_editor

The companion traffic_editor_assets package contains a nifty bunch of useful assets to use with rmf_traffic_editor. It is included in the above checkout.

Then you should be able to run traffic-editor by sourcing the install space of that workspace, in a new “clean” terminal:

source ~/colcon_workspace/install/setup.bash
traffic-editor

Quick Start

If it’s the first time you are running it, starting the editor with traffic-editor should bring up a blank window.

First, you’ll need to make sure that traffic-editor knows where the model thumbnails are found. If you installed traffic_editor_assets, rmf_traffic_editor should find it automatically. The thumbnails are top-view renderings of various art assets that can be added to the environments, such as chairs.

Click Edit->Preferences... and see if the path provided in the “Thumbnail Path” box looks reasonable.

If necessary, the “Find…” button can be used to browse the filesystem to point to any desired thumbnail directory.

(If you installed the recommended traffic_editor_assets package, you will find its thumbnail directory in its install space at <workspace_dir>/install/traffic_editor_assets/share/assets/thumbnails.)

Creating a new Project and an empty Building Map

Click Project->New... and save your new project as test.project.yaml

Click Edit->Project Properties... and enter “test” as the project name and test.building.yaml as the building path. Then click OK.

Click Edit->Building Properties... and enter “test” as the building name. Click OK.

Creating a level and adding some stuff

Click the “Add…” button in the “levels” tab on the far right side of the main editor window. This will pop up a dialog where you can create a new level. Enter L1 for the name and click OK. This will create a 10 meter square level.

You can zoom in and out using the mouse wheel on the rendering on the left side of the main window. You can pan around by dragging the mouse around with the mouse wheel (or middle button) depressed.

Now, you should be able to click the green dot toolbar icon, which is the “Add Vertex” tool (or press V) and click a few vertices in the white area. Press the [Escape] key to return to the “Select” tool.

Now, you should be able to click the add wall tool (or press W) and drag from one vertex to another vertex to add wall segments.

To delete wall segments or vertices, first press [Escape] to enter Select mode. Then, click on a wall segment or vertex, and press [Delete].

Save your work

Click Project->Save or press Ctrl+S to save the project and building map.

Adding real-world measurements to set the scale

To set the scale of the drawing, click the add measurement tool (or press M) and drag from one vertex to another to add a real-world measurement line, which should show up as a pink line. Then click the select tool (or press Esc) and click on the line with the left button. This should populate the property-editor in the lower-right pane of the editor window. You can then specify the real-world length of the measurement line in meters. If you set more than one measurement line on a drawing, the editor will compute an average value of pixels-per-meter from all supplied measurements.

Currently you need to re-load the document (closing the editor and re-opening) to re-compute the scale. This is not ideal, but is hopefully not a frequently-used feature. Typically the scale of a map is only set one time.

Adding lifts

Click the “Add…” button in the “lifts” tab on the far right side of the main editor window. This will pop up a dialog where you can create a new lift. You can specify the name, position, size, and reference floor in the dialog.

Note: Do include the keywork “lift” in the lift name as for now this is how slotcars recognize lift models.

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package rmf_traffic_editor

1.7.2 (2023-12-15)

  • Merge radius property (#480)
  • Mutex group property (#477)

1.7.1 (2023-08-10)

1.7.0 (2023-06-06)

  • Switch to rst changelogs (#464)
  • Contributors: Yadunund

1.6.0 (2022-10-05)

  • Added a dispensable field for models (#436)
  • Use index based iterator to avoid yaml cpp bug (#435)
  • better vertex text size in meter-scale maps (#431)
  • Contributors: Aaron Chong, Luca Della Vedova, Morgan Quigley

1.5.1 (2022-04-20)

  • update OSM tile server URL to full planet data (#430)
  • fix cmake ament_index_cpp dependency
  • add a github CI job for rolling
  • don't double-trigger CI runs
  • update qt packages for jammy github workflow
  • build/install rmf_utils from source in ci_rolling
  • Contributors: Morgan Quigley, Youliang Tan

1.5.0 (2022-03-13)

  • fix #419 by calculating transformed x/y in image-based maps (#421)
  • validate reference level index before using it (avoid a crash)
  • Use C++17 for std::optional
  • move all CI to galactic on ubuntu 20.04
  • move the C++ style check into the 'main' CI test workflow
  • Feature/render OpenStreetMap tiles (#418)
    • "new building" dialog box which asks which coordinates to use
    • use a subdirectory in ~/.cache as the OSM tile cache
    • show the tile cache size on the status bar
    • use EPSG:3857 (meters) for rendering tile maps
    • WGS84 coordinate translation
    • render OSM tiles in grayscale, so the non-tile things are easier to see
    • populate lat, lon property fields in EPSG:3857 mode
    • remove obsolete "flattened" UI stuff
    • save global coords in wgs84 but render them in epsg3857 on OSM tiles
    • GUI box to set the local CRS for sim/nav generation
    • move all RMF keys into GeoJSON props. add start/end names
    • feature_type -> rmf_type in GeoJSON properties
    • translate robot spawn point along with the world
  • Handle simulation offsets for models and cameras (#408)
    • lat/lon translation behavior for models (previously, builds break when adding models due to WGS84 translation not having a "rotation" variable)
    • change naming for wgs84 model positions to lat/lon instead of x/y for consistency
    • apply offsets to the camera, so the camera view appears over the working area
    • Handle simulation offsets for models and cameras
    • Pass transform in Model constructor; pass un-transformed variables for to_yaml
    • Add check if global_transform was initialized; fix wrong computation of xy
    • parse model coordinates in wgs84 and project for viewing/editing
    • move model projection/translation to generate phase
    • set user-agent string in HTTP tile requests
    • workaround for 32-bit scrollbar overflow at extreme zoom
    • introduce a simple queuing system for tiles
    • reset zoom when loading a different filename
  • flip layer images right-side up in cartesian meters mode (#405)
  • Improve behavior for Cartesian maps (#401)
    • Improve behavior for Cartesian maps

    * because Cartesian maps have 1-meter units, we need to compute a better default scale for them. Previously it was always using a default scale of 0.05. * somewhat related, also fix the edge-select implementation so it spins through all edges in the map rather than just selecting the first edge within 10 units... that was OK when we were always using pixel-based maps, but now that meter-based maps are in use, it was just choosing the first edge that was within 10 meters of the click, which was a lot of edges and felt somewhat random.

    • stop drawing a 1-unit border around the scene rectangle
    • rotate vertex icons to +Y for cartesian maps
  • Cartesian worlds (y=up) and steps towards using GeoPackage (#396)
    • create passthrough transform for cartesian_meters coordinate systems
    • y-flip in traffic-editor GUI for cartesian worlds; only invert Y coordinate for legacy image-based maps
    • add coordinate system files for C++ GUI

File truncated at 100 lines see the full file

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged rmf_traffic_editor at Robotics Stack Exchange

No version for distro lunar showing humble. Known supported distros are highlighted in the buttons above.

Package Summary

Tags No category tags.
Version 1.6.3
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/open-rmf/rmf_traffic_editor.git
VCS Type git
VCS Version humble
Last Updated 2024-11-08
Dev Status DEVELOPED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

traffic editor

Additional Links

No additional links.

Maintainers

  • Morgan Quigley
  • Marco A. Gutiérrez

Authors

No additional authors.

Traffic Editor

A graphical editor for robot traffic flows. The intent is to make it easy to annotate building floorplans with the desired robot traffic lanes and generate simulation models to test and evaluate different traffic schemes.

Quality Declaration

This package claims to be in the Quality Level 3 category. See the Quality Declaration for more details.

System Requirements

This program is developed and tested on Ubuntu 18.04 LTS, using Qt 5 and yaml-cpp.

Compiling Instructions

Traffic Editor is now structured as a Colcon package. After installing ROS 2 Eloquent, the following command sequence will create a colcon workspace in ~/colcon_workspace and build traffic-editor there:

sudo apt update
sudo apt install libyaml-cpp-dev qt5-default \
  libopencv-dev libopencv-videoio-dev
mkdir -p ~/colcon_workspace/src
cd ~/colcon_workspace/src
git clone https://github.com/open-rmf/rmf_traffic_editor
cd ~/colcon_workspace
source /opt/ros/eloquent/setup.bash
colcon build --packages-select rmf_traffic_editor

The companion traffic_editor_assets package contains a nifty bunch of useful assets to use with rmf_traffic_editor. It is included in the above checkout.

Then you should be able to run traffic-editor by sourcing the install space of that workspace, in a new “clean” terminal:

source ~/colcon_workspace/install/setup.bash
traffic-editor

Quick Start

If it’s the first time you are running it, starting the editor with traffic-editor should bring up a blank window.

First, you’ll need to make sure that traffic-editor knows where the model thumbnails are found. If you installed traffic_editor_assets, rmf_traffic_editor should find it automatically. The thumbnails are top-view renderings of various art assets that can be added to the environments, such as chairs.

Click Edit->Preferences... and see if the path provided in the “Thumbnail Path” box looks reasonable.

If necessary, the “Find…” button can be used to browse the filesystem to point to any desired thumbnail directory.

(If you installed the recommended traffic_editor_assets package, you will find its thumbnail directory in its install space at <workspace_dir>/install/traffic_editor_assets/share/assets/thumbnails.)

Creating a new Project and an empty Building Map

Click Project->New... and save your new project as test.project.yaml

Click Edit->Project Properties... and enter “test” as the project name and test.building.yaml as the building path. Then click OK.

Click Edit->Building Properties... and enter “test” as the building name. Click OK.

Creating a level and adding some stuff

Click the “Add…” button in the “levels” tab on the far right side of the main editor window. This will pop up a dialog where you can create a new level. Enter L1 for the name and click OK. This will create a 10 meter square level.

You can zoom in and out using the mouse wheel on the rendering on the left side of the main window. You can pan around by dragging the mouse around with the mouse wheel (or middle button) depressed.

Now, you should be able to click the green dot toolbar icon, which is the “Add Vertex” tool (or press V) and click a few vertices in the white area. Press the [Escape] key to return to the “Select” tool.

Now, you should be able to click the add wall tool (or press W) and drag from one vertex to another vertex to add wall segments.

To delete wall segments or vertices, first press [Escape] to enter Select mode. Then, click on a wall segment or vertex, and press [Delete].

Save your work

Click Project->Save or press Ctrl+S to save the project and building map.

Adding real-world measurements to set the scale

To set the scale of the drawing, click the add measurement tool (or press M) and drag from one vertex to another to add a real-world measurement line, which should show up as a pink line. Then click the select tool (or press Esc) and click on the line with the left button. This should populate the property-editor in the lower-right pane of the editor window. You can then specify the real-world length of the measurement line in meters. If you set more than one measurement line on a drawing, the editor will compute an average value of pixels-per-meter from all supplied measurements.

Currently you need to re-load the document (closing the editor and re-opening) to re-compute the scale. This is not ideal, but is hopefully not a frequently-used feature. Typically the scale of a map is only set one time.

Adding lifts

Click the “Add…” button in the “lifts” tab on the far right side of the main editor window. This will pop up a dialog where you can create a new lift. You can specify the name, position, size, and reference floor in the dialog.

Note: Do include the keywork “lift” in the lift name as for now this is how slotcars recognize lift models.

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package rmf_traffic_editor

1.6.3 (2024-11-05)

  • Fix reference file name being kept when loading new building (#503)
  • Contributors: Luca Della Vedova

1.6.2 (2023-08-10)

1.6.1 (2023-06-05)

  • Switch changelogs to rst format.
  • Contributors: Yadunund

1.6.0 (2022-10-05)

  • Added a dispensable field for models (#436)
  • Use index based iterator to avoid yaml cpp bug (#435)
  • better vertex text size in meter-scale maps (#431)
  • Contributors: Aaron Chong, Luca Della Vedova, Morgan Quigley

1.5.1 (2022-04-20)

  • update OSM tile server URL to full planet data (#430)
  • fix cmake ament_index_cpp dependency
  • add a github CI job for rolling
  • don't double-trigger CI runs
  • update qt packages for jammy github workflow
  • build/install rmf_utils from source in ci_rolling
  • Contributors: Morgan Quigley, Youliang Tan

1.5.0 (2022-03-13)

  • fix #419 by calculating transformed x/y in image-based maps (#421)
  • validate reference level index before using it (avoid a crash)
  • Use C++17 for std::optional
  • move all CI to galactic on ubuntu 20.04
  • move the C++ style check into the 'main' CI test workflow
  • Feature/render OpenStreetMap tiles (#418)
    • "new building" dialog box which asks which coordinates to use
    • use a subdirectory in ~/.cache as the OSM tile cache
    • show the tile cache size on the status bar
    • use EPSG:3857 (meters) for rendering tile maps
    • WGS84 coordinate translation
    • render OSM tiles in grayscale, so the non-tile things are easier to see
    • populate lat, lon property fields in EPSG:3857 mode
    • remove obsolete "flattened" UI stuff
    • save global coords in wgs84 but render them in epsg3857 on OSM tiles
    • GUI box to set the local CRS for sim/nav generation
    • move all RMF keys into GeoJSON props. add start/end names
    • feature_type -> rmf_type in GeoJSON properties
    • translate robot spawn point along with the world
  • Handle simulation offsets for models and cameras (#408)
    • lat/lon translation behavior for models (previously, builds break when adding models due to WGS84 translation not having a "rotation" variable)
    • change naming for wgs84 model positions to lat/lon instead of x/y for consistency
    • apply offsets to the camera, so the camera view appears over the working area
    • Handle simulation offsets for models and cameras
    • Pass transform in Model constructor; pass un-transformed variables for to_yaml
    • Add check if global_transform was initialized; fix wrong computation of xy
    • parse model coordinates in wgs84 and project for viewing/editing
    • move model projection/translation to generate phase
    • set user-agent string in HTTP tile requests
    • workaround for 32-bit scrollbar overflow at extreme zoom
    • introduce a simple queuing system for tiles
    • reset zoom when loading a different filename
  • flip layer images right-side up in cartesian meters mode (#405)
  • Improve behavior for Cartesian maps (#401)
    • Improve behavior for Cartesian maps

    * because Cartesian maps have 1-meter units, we need to compute a better default scale for them. Previously it was always using a default scale of 0.05. * somewhat related, also fix the edge-select implementation so it spins through all edges in the map rather than just selecting the first edge within 10 units... that was OK when we were always using pixel-based maps, but now that meter-based maps are in use, it was just choosing the first edge that was within 10 meters of the click, which was a lot of edges and felt somewhat random.

    • stop drawing a 1-unit border around the scene rectangle
    • rotate vertex icons to +Y for cartesian maps
  • Cartesian worlds (y=up) and steps towards using GeoPackage (#396)
    • create passthrough transform for cartesian_meters coordinate systems
    • y-flip in traffic-editor GUI for cartesian worlds; only invert Y coordinate for legacy image-based maps
    • add coordinate system files for C++ GUI
    • pass coordinate system to vertex draw, to flip text as needed
    • correct deprecated setuptools key to fix warning

File truncated at 100 lines see the full file

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged rmf_traffic_editor at Robotics Stack Exchange

No version for distro jade showing humble. Known supported distros are highlighted in the buttons above.

Package Summary

Tags No category tags.
Version 1.6.3
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/open-rmf/rmf_traffic_editor.git
VCS Type git
VCS Version humble
Last Updated 2024-11-08
Dev Status DEVELOPED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

traffic editor

Additional Links

No additional links.

Maintainers

  • Morgan Quigley
  • Marco A. Gutiérrez

Authors

No additional authors.

Traffic Editor

A graphical editor for robot traffic flows. The intent is to make it easy to annotate building floorplans with the desired robot traffic lanes and generate simulation models to test and evaluate different traffic schemes.

Quality Declaration

This package claims to be in the Quality Level 3 category. See the Quality Declaration for more details.

System Requirements

This program is developed and tested on Ubuntu 18.04 LTS, using Qt 5 and yaml-cpp.

Compiling Instructions

Traffic Editor is now structured as a Colcon package. After installing ROS 2 Eloquent, the following command sequence will create a colcon workspace in ~/colcon_workspace and build traffic-editor there:

sudo apt update
sudo apt install libyaml-cpp-dev qt5-default \
  libopencv-dev libopencv-videoio-dev
mkdir -p ~/colcon_workspace/src
cd ~/colcon_workspace/src
git clone https://github.com/open-rmf/rmf_traffic_editor
cd ~/colcon_workspace
source /opt/ros/eloquent/setup.bash
colcon build --packages-select rmf_traffic_editor

The companion traffic_editor_assets package contains a nifty bunch of useful assets to use with rmf_traffic_editor. It is included in the above checkout.

Then you should be able to run traffic-editor by sourcing the install space of that workspace, in a new “clean” terminal:

source ~/colcon_workspace/install/setup.bash
traffic-editor

Quick Start

If it’s the first time you are running it, starting the editor with traffic-editor should bring up a blank window.

First, you’ll need to make sure that traffic-editor knows where the model thumbnails are found. If you installed traffic_editor_assets, rmf_traffic_editor should find it automatically. The thumbnails are top-view renderings of various art assets that can be added to the environments, such as chairs.

Click Edit->Preferences... and see if the path provided in the “Thumbnail Path” box looks reasonable.

If necessary, the “Find…” button can be used to browse the filesystem to point to any desired thumbnail directory.

(If you installed the recommended traffic_editor_assets package, you will find its thumbnail directory in its install space at <workspace_dir>/install/traffic_editor_assets/share/assets/thumbnails.)

Creating a new Project and an empty Building Map

Click Project->New... and save your new project as test.project.yaml

Click Edit->Project Properties... and enter “test” as the project name and test.building.yaml as the building path. Then click OK.

Click Edit->Building Properties... and enter “test” as the building name. Click OK.

Creating a level and adding some stuff

Click the “Add…” button in the “levels” tab on the far right side of the main editor window. This will pop up a dialog where you can create a new level. Enter L1 for the name and click OK. This will create a 10 meter square level.

You can zoom in and out using the mouse wheel on the rendering on the left side of the main window. You can pan around by dragging the mouse around with the mouse wheel (or middle button) depressed.

Now, you should be able to click the green dot toolbar icon, which is the “Add Vertex” tool (or press V) and click a few vertices in the white area. Press the [Escape] key to return to the “Select” tool.

Now, you should be able to click the add wall tool (or press W) and drag from one vertex to another vertex to add wall segments.

To delete wall segments or vertices, first press [Escape] to enter Select mode. Then, click on a wall segment or vertex, and press [Delete].

Save your work

Click Project->Save or press Ctrl+S to save the project and building map.

Adding real-world measurements to set the scale

To set the scale of the drawing, click the add measurement tool (or press M) and drag from one vertex to another to add a real-world measurement line, which should show up as a pink line. Then click the select tool (or press Esc) and click on the line with the left button. This should populate the property-editor in the lower-right pane of the editor window. You can then specify the real-world length of the measurement line in meters. If you set more than one measurement line on a drawing, the editor will compute an average value of pixels-per-meter from all supplied measurements.

Currently you need to re-load the document (closing the editor and re-opening) to re-compute the scale. This is not ideal, but is hopefully not a frequently-used feature. Typically the scale of a map is only set one time.

Adding lifts

Click the “Add…” button in the “lifts” tab on the far right side of the main editor window. This will pop up a dialog where you can create a new lift. You can specify the name, position, size, and reference floor in the dialog.

Note: Do include the keywork “lift” in the lift name as for now this is how slotcars recognize lift models.

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package rmf_traffic_editor

1.6.3 (2024-11-05)

  • Fix reference file name being kept when loading new building (#503)
  • Contributors: Luca Della Vedova

1.6.2 (2023-08-10)

1.6.1 (2023-06-05)

  • Switch changelogs to rst format.
  • Contributors: Yadunund

1.6.0 (2022-10-05)

  • Added a dispensable field for models (#436)
  • Use index based iterator to avoid yaml cpp bug (#435)
  • better vertex text size in meter-scale maps (#431)
  • Contributors: Aaron Chong, Luca Della Vedova, Morgan Quigley

1.5.1 (2022-04-20)

  • update OSM tile server URL to full planet data (#430)
  • fix cmake ament_index_cpp dependency
  • add a github CI job for rolling
  • don't double-trigger CI runs
  • update qt packages for jammy github workflow
  • build/install rmf_utils from source in ci_rolling
  • Contributors: Morgan Quigley, Youliang Tan

1.5.0 (2022-03-13)

  • fix #419 by calculating transformed x/y in image-based maps (#421)
  • validate reference level index before using it (avoid a crash)
  • Use C++17 for std::optional
  • move all CI to galactic on ubuntu 20.04
  • move the C++ style check into the 'main' CI test workflow
  • Feature/render OpenStreetMap tiles (#418)
    • "new building" dialog box which asks which coordinates to use
    • use a subdirectory in ~/.cache as the OSM tile cache
    • show the tile cache size on the status bar
    • use EPSG:3857 (meters) for rendering tile maps
    • WGS84 coordinate translation
    • render OSM tiles in grayscale, so the non-tile things are easier to see
    • populate lat, lon property fields in EPSG:3857 mode
    • remove obsolete "flattened" UI stuff
    • save global coords in wgs84 but render them in epsg3857 on OSM tiles
    • GUI box to set the local CRS for sim/nav generation
    • move all RMF keys into GeoJSON props. add start/end names
    • feature_type -> rmf_type in GeoJSON properties
    • translate robot spawn point along with the world
  • Handle simulation offsets for models and cameras (#408)
    • lat/lon translation behavior for models (previously, builds break when adding models due to WGS84 translation not having a "rotation" variable)
    • change naming for wgs84 model positions to lat/lon instead of x/y for consistency
    • apply offsets to the camera, so the camera view appears over the working area
    • Handle simulation offsets for models and cameras
    • Pass transform in Model constructor; pass un-transformed variables for to_yaml
    • Add check if global_transform was initialized; fix wrong computation of xy
    • parse model coordinates in wgs84 and project for viewing/editing
    • move model projection/translation to generate phase
    • set user-agent string in HTTP tile requests
    • workaround for 32-bit scrollbar overflow at extreme zoom
    • introduce a simple queuing system for tiles
    • reset zoom when loading a different filename
  • flip layer images right-side up in cartesian meters mode (#405)
  • Improve behavior for Cartesian maps (#401)
    • Improve behavior for Cartesian maps

    * because Cartesian maps have 1-meter units, we need to compute a better default scale for them. Previously it was always using a default scale of 0.05. * somewhat related, also fix the edge-select implementation so it spins through all edges in the map rather than just selecting the first edge within 10 units... that was OK when we were always using pixel-based maps, but now that meter-based maps are in use, it was just choosing the first edge that was within 10 meters of the click, which was a lot of edges and felt somewhat random.

    • stop drawing a 1-unit border around the scene rectangle
    • rotate vertex icons to +Y for cartesian maps
  • Cartesian worlds (y=up) and steps towards using GeoPackage (#396)
    • create passthrough transform for cartesian_meters coordinate systems
    • y-flip in traffic-editor GUI for cartesian worlds; only invert Y coordinate for legacy image-based maps
    • add coordinate system files for C++ GUI
    • pass coordinate system to vertex draw, to flip text as needed
    • correct deprecated setuptools key to fix warning

File truncated at 100 lines see the full file

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged rmf_traffic_editor at Robotics Stack Exchange

No version for distro indigo showing humble. Known supported distros are highlighted in the buttons above.

Package Summary

Tags No category tags.
Version 1.6.3
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/open-rmf/rmf_traffic_editor.git
VCS Type git
VCS Version humble
Last Updated 2024-11-08
Dev Status DEVELOPED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

traffic editor

Additional Links

No additional links.

Maintainers

  • Morgan Quigley
  • Marco A. Gutiérrez

Authors

No additional authors.

Traffic Editor

A graphical editor for robot traffic flows. The intent is to make it easy to annotate building floorplans with the desired robot traffic lanes and generate simulation models to test and evaluate different traffic schemes.

Quality Declaration

This package claims to be in the Quality Level 3 category. See the Quality Declaration for more details.

System Requirements

This program is developed and tested on Ubuntu 18.04 LTS, using Qt 5 and yaml-cpp.

Compiling Instructions

Traffic Editor is now structured as a Colcon package. After installing ROS 2 Eloquent, the following command sequence will create a colcon workspace in ~/colcon_workspace and build traffic-editor there:

sudo apt update
sudo apt install libyaml-cpp-dev qt5-default \
  libopencv-dev libopencv-videoio-dev
mkdir -p ~/colcon_workspace/src
cd ~/colcon_workspace/src
git clone https://github.com/open-rmf/rmf_traffic_editor
cd ~/colcon_workspace
source /opt/ros/eloquent/setup.bash
colcon build --packages-select rmf_traffic_editor

The companion traffic_editor_assets package contains a nifty bunch of useful assets to use with rmf_traffic_editor. It is included in the above checkout.

Then you should be able to run traffic-editor by sourcing the install space of that workspace, in a new “clean” terminal:

source ~/colcon_workspace/install/setup.bash
traffic-editor

Quick Start

If it’s the first time you are running it, starting the editor with traffic-editor should bring up a blank window.

First, you’ll need to make sure that traffic-editor knows where the model thumbnails are found. If you installed traffic_editor_assets, rmf_traffic_editor should find it automatically. The thumbnails are top-view renderings of various art assets that can be added to the environments, such as chairs.

Click Edit->Preferences... and see if the path provided in the “Thumbnail Path” box looks reasonable.

If necessary, the “Find…” button can be used to browse the filesystem to point to any desired thumbnail directory.

(If you installed the recommended traffic_editor_assets package, you will find its thumbnail directory in its install space at <workspace_dir>/install/traffic_editor_assets/share/assets/thumbnails.)

Creating a new Project and an empty Building Map

Click Project->New... and save your new project as test.project.yaml

Click Edit->Project Properties... and enter “test” as the project name and test.building.yaml as the building path. Then click OK.

Click Edit->Building Properties... and enter “test” as the building name. Click OK.

Creating a level and adding some stuff

Click the “Add…” button in the “levels” tab on the far right side of the main editor window. This will pop up a dialog where you can create a new level. Enter L1 for the name and click OK. This will create a 10 meter square level.

You can zoom in and out using the mouse wheel on the rendering on the left side of the main window. You can pan around by dragging the mouse around with the mouse wheel (or middle button) depressed.

Now, you should be able to click the green dot toolbar icon, which is the “Add Vertex” tool (or press V) and click a few vertices in the white area. Press the [Escape] key to return to the “Select” tool.

Now, you should be able to click the add wall tool (or press W) and drag from one vertex to another vertex to add wall segments.

To delete wall segments or vertices, first press [Escape] to enter Select mode. Then, click on a wall segment or vertex, and press [Delete].

Save your work

Click Project->Save or press Ctrl+S to save the project and building map.

Adding real-world measurements to set the scale

To set the scale of the drawing, click the add measurement tool (or press M) and drag from one vertex to another to add a real-world measurement line, which should show up as a pink line. Then click the select tool (or press Esc) and click on the line with the left button. This should populate the property-editor in the lower-right pane of the editor window. You can then specify the real-world length of the measurement line in meters. If you set more than one measurement line on a drawing, the editor will compute an average value of pixels-per-meter from all supplied measurements.

Currently you need to re-load the document (closing the editor and re-opening) to re-compute the scale. This is not ideal, but is hopefully not a frequently-used feature. Typically the scale of a map is only set one time.

Adding lifts

Click the “Add…” button in the “lifts” tab on the far right side of the main editor window. This will pop up a dialog where you can create a new lift. You can specify the name, position, size, and reference floor in the dialog.

Note: Do include the keywork “lift” in the lift name as for now this is how slotcars recognize lift models.

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package rmf_traffic_editor

1.6.3 (2024-11-05)

  • Fix reference file name being kept when loading new building (#503)
  • Contributors: Luca Della Vedova

1.6.2 (2023-08-10)

1.6.1 (2023-06-05)

  • Switch changelogs to rst format.
  • Contributors: Yadunund

1.6.0 (2022-10-05)

  • Added a dispensable field for models (#436)
  • Use index based iterator to avoid yaml cpp bug (#435)
  • better vertex text size in meter-scale maps (#431)
  • Contributors: Aaron Chong, Luca Della Vedova, Morgan Quigley

1.5.1 (2022-04-20)

  • update OSM tile server URL to full planet data (#430)
  • fix cmake ament_index_cpp dependency
  • add a github CI job for rolling
  • don't double-trigger CI runs
  • update qt packages for jammy github workflow
  • build/install rmf_utils from source in ci_rolling
  • Contributors: Morgan Quigley, Youliang Tan

1.5.0 (2022-03-13)

  • fix #419 by calculating transformed x/y in image-based maps (#421)
  • validate reference level index before using it (avoid a crash)
  • Use C++17 for std::optional
  • move all CI to galactic on ubuntu 20.04
  • move the C++ style check into the 'main' CI test workflow
  • Feature/render OpenStreetMap tiles (#418)
    • "new building" dialog box which asks which coordinates to use
    • use a subdirectory in ~/.cache as the OSM tile cache
    • show the tile cache size on the status bar
    • use EPSG:3857 (meters) for rendering tile maps
    • WGS84 coordinate translation
    • render OSM tiles in grayscale, so the non-tile things are easier to see
    • populate lat, lon property fields in EPSG:3857 mode
    • remove obsolete "flattened" UI stuff
    • save global coords in wgs84 but render them in epsg3857 on OSM tiles
    • GUI box to set the local CRS for sim/nav generation
    • move all RMF keys into GeoJSON props. add start/end names
    • feature_type -> rmf_type in GeoJSON properties
    • translate robot spawn point along with the world
  • Handle simulation offsets for models and cameras (#408)
    • lat/lon translation behavior for models (previously, builds break when adding models due to WGS84 translation not having a "rotation" variable)
    • change naming for wgs84 model positions to lat/lon instead of x/y for consistency
    • apply offsets to the camera, so the camera view appears over the working area
    • Handle simulation offsets for models and cameras
    • Pass transform in Model constructor; pass un-transformed variables for to_yaml
    • Add check if global_transform was initialized; fix wrong computation of xy
    • parse model coordinates in wgs84 and project for viewing/editing
    • move model projection/translation to generate phase
    • set user-agent string in HTTP tile requests
    • workaround for 32-bit scrollbar overflow at extreme zoom
    • introduce a simple queuing system for tiles
    • reset zoom when loading a different filename
  • flip layer images right-side up in cartesian meters mode (#405)
  • Improve behavior for Cartesian maps (#401)
    • Improve behavior for Cartesian maps

    * because Cartesian maps have 1-meter units, we need to compute a better default scale for them. Previously it was always using a default scale of 0.05. * somewhat related, also fix the edge-select implementation so it spins through all edges in the map rather than just selecting the first edge within 10 units... that was OK when we were always using pixel-based maps, but now that meter-based maps are in use, it was just choosing the first edge that was within 10 meters of the click, which was a lot of edges and felt somewhat random.

    • stop drawing a 1-unit border around the scene rectangle
    • rotate vertex icons to +Y for cartesian maps
  • Cartesian worlds (y=up) and steps towards using GeoPackage (#396)
    • create passthrough transform for cartesian_meters coordinate systems
    • y-flip in traffic-editor GUI for cartesian worlds; only invert Y coordinate for legacy image-based maps
    • add coordinate system files for C++ GUI
    • pass coordinate system to vertex draw, to flip text as needed
    • correct deprecated setuptools key to fix warning

File truncated at 100 lines see the full file

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged rmf_traffic_editor at Robotics Stack Exchange

No version for distro hydro showing humble. Known supported distros are highlighted in the buttons above.

Package Summary

Tags No category tags.
Version 1.6.3
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/open-rmf/rmf_traffic_editor.git
VCS Type git
VCS Version humble
Last Updated 2024-11-08
Dev Status DEVELOPED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

traffic editor

Additional Links

No additional links.

Maintainers

  • Morgan Quigley
  • Marco A. Gutiérrez

Authors

No additional authors.

Traffic Editor

A graphical editor for robot traffic flows. The intent is to make it easy to annotate building floorplans with the desired robot traffic lanes and generate simulation models to test and evaluate different traffic schemes.

Quality Declaration

This package claims to be in the Quality Level 3 category. See the Quality Declaration for more details.

System Requirements

This program is developed and tested on Ubuntu 18.04 LTS, using Qt 5 and yaml-cpp.

Compiling Instructions

Traffic Editor is now structured as a Colcon package. After installing ROS 2 Eloquent, the following command sequence will create a colcon workspace in ~/colcon_workspace and build traffic-editor there:

sudo apt update
sudo apt install libyaml-cpp-dev qt5-default \
  libopencv-dev libopencv-videoio-dev
mkdir -p ~/colcon_workspace/src
cd ~/colcon_workspace/src
git clone https://github.com/open-rmf/rmf_traffic_editor
cd ~/colcon_workspace
source /opt/ros/eloquent/setup.bash
colcon build --packages-select rmf_traffic_editor

The companion traffic_editor_assets package contains a nifty bunch of useful assets to use with rmf_traffic_editor. It is included in the above checkout.

Then you should be able to run traffic-editor by sourcing the install space of that workspace, in a new “clean” terminal:

source ~/colcon_workspace/install/setup.bash
traffic-editor

Quick Start

If it’s the first time you are running it, starting the editor with traffic-editor should bring up a blank window.

First, you’ll need to make sure that traffic-editor knows where the model thumbnails are found. If you installed traffic_editor_assets, rmf_traffic_editor should find it automatically. The thumbnails are top-view renderings of various art assets that can be added to the environments, such as chairs.

Click Edit->Preferences... and see if the path provided in the “Thumbnail Path” box looks reasonable.

If necessary, the “Find…” button can be used to browse the filesystem to point to any desired thumbnail directory.

(If you installed the recommended traffic_editor_assets package, you will find its thumbnail directory in its install space at <workspace_dir>/install/traffic_editor_assets/share/assets/thumbnails.)

Creating a new Project and an empty Building Map

Click Project->New... and save your new project as test.project.yaml

Click Edit->Project Properties... and enter “test” as the project name and test.building.yaml as the building path. Then click OK.

Click Edit->Building Properties... and enter “test” as the building name. Click OK.

Creating a level and adding some stuff

Click the “Add…” button in the “levels” tab on the far right side of the main editor window. This will pop up a dialog where you can create a new level. Enter L1 for the name and click OK. This will create a 10 meter square level.

You can zoom in and out using the mouse wheel on the rendering on the left side of the main window. You can pan around by dragging the mouse around with the mouse wheel (or middle button) depressed.

Now, you should be able to click the green dot toolbar icon, which is the “Add Vertex” tool (or press V) and click a few vertices in the white area. Press the [Escape] key to return to the “Select” tool.

Now, you should be able to click the add wall tool (or press W) and drag from one vertex to another vertex to add wall segments.

To delete wall segments or vertices, first press [Escape] to enter Select mode. Then, click on a wall segment or vertex, and press [Delete].

Save your work

Click Project->Save or press Ctrl+S to save the project and building map.

Adding real-world measurements to set the scale

To set the scale of the drawing, click the add measurement tool (or press M) and drag from one vertex to another to add a real-world measurement line, which should show up as a pink line. Then click the select tool (or press Esc) and click on the line with the left button. This should populate the property-editor in the lower-right pane of the editor window. You can then specify the real-world length of the measurement line in meters. If you set more than one measurement line on a drawing, the editor will compute an average value of pixels-per-meter from all supplied measurements.

Currently you need to re-load the document (closing the editor and re-opening) to re-compute the scale. This is not ideal, but is hopefully not a frequently-used feature. Typically the scale of a map is only set one time.

Adding lifts

Click the “Add…” button in the “lifts” tab on the far right side of the main editor window. This will pop up a dialog where you can create a new lift. You can specify the name, position, size, and reference floor in the dialog.

Note: Do include the keywork “lift” in the lift name as for now this is how slotcars recognize lift models.

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package rmf_traffic_editor

1.6.3 (2024-11-05)

  • Fix reference file name being kept when loading new building (#503)
  • Contributors: Luca Della Vedova

1.6.2 (2023-08-10)

1.6.1 (2023-06-05)

  • Switch changelogs to rst format.
  • Contributors: Yadunund

1.6.0 (2022-10-05)

  • Added a dispensable field for models (#436)
  • Use index based iterator to avoid yaml cpp bug (#435)
  • better vertex text size in meter-scale maps (#431)
  • Contributors: Aaron Chong, Luca Della Vedova, Morgan Quigley

1.5.1 (2022-04-20)

  • update OSM tile server URL to full planet data (#430)
  • fix cmake ament_index_cpp dependency
  • add a github CI job for rolling
  • don't double-trigger CI runs
  • update qt packages for jammy github workflow
  • build/install rmf_utils from source in ci_rolling
  • Contributors: Morgan Quigley, Youliang Tan

1.5.0 (2022-03-13)

  • fix #419 by calculating transformed x/y in image-based maps (#421)
  • validate reference level index before using it (avoid a crash)
  • Use C++17 for std::optional
  • move all CI to galactic on ubuntu 20.04
  • move the C++ style check into the 'main' CI test workflow
  • Feature/render OpenStreetMap tiles (#418)
    • "new building" dialog box which asks which coordinates to use
    • use a subdirectory in ~/.cache as the OSM tile cache
    • show the tile cache size on the status bar
    • use EPSG:3857 (meters) for rendering tile maps
    • WGS84 coordinate translation
    • render OSM tiles in grayscale, so the non-tile things are easier to see
    • populate lat, lon property fields in EPSG:3857 mode
    • remove obsolete "flattened" UI stuff
    • save global coords in wgs84 but render them in epsg3857 on OSM tiles
    • GUI box to set the local CRS for sim/nav generation
    • move all RMF keys into GeoJSON props. add start/end names
    • feature_type -> rmf_type in GeoJSON properties
    • translate robot spawn point along with the world
  • Handle simulation offsets for models and cameras (#408)
    • lat/lon translation behavior for models (previously, builds break when adding models due to WGS84 translation not having a "rotation" variable)
    • change naming for wgs84 model positions to lat/lon instead of x/y for consistency
    • apply offsets to the camera, so the camera view appears over the working area
    • Handle simulation offsets for models and cameras
    • Pass transform in Model constructor; pass un-transformed variables for to_yaml
    • Add check if global_transform was initialized; fix wrong computation of xy
    • parse model coordinates in wgs84 and project for viewing/editing
    • move model projection/translation to generate phase
    • set user-agent string in HTTP tile requests
    • workaround for 32-bit scrollbar overflow at extreme zoom
    • introduce a simple queuing system for tiles
    • reset zoom when loading a different filename
  • flip layer images right-side up in cartesian meters mode (#405)
  • Improve behavior for Cartesian maps (#401)
    • Improve behavior for Cartesian maps

    * because Cartesian maps have 1-meter units, we need to compute a better default scale for them. Previously it was always using a default scale of 0.05. * somewhat related, also fix the edge-select implementation so it spins through all edges in the map rather than just selecting the first edge within 10 units... that was OK when we were always using pixel-based maps, but now that meter-based maps are in use, it was just choosing the first edge that was within 10 meters of the click, which was a lot of edges and felt somewhat random.

    • stop drawing a 1-unit border around the scene rectangle
    • rotate vertex icons to +Y for cartesian maps
  • Cartesian worlds (y=up) and steps towards using GeoPackage (#396)
    • create passthrough transform for cartesian_meters coordinate systems
    • y-flip in traffic-editor GUI for cartesian worlds; only invert Y coordinate for legacy image-based maps
    • add coordinate system files for C++ GUI
    • pass coordinate system to vertex draw, to flip text as needed
    • correct deprecated setuptools key to fix warning

File truncated at 100 lines see the full file

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged rmf_traffic_editor at Robotics Stack Exchange

No version for distro kinetic showing humble. Known supported distros are highlighted in the buttons above.

Package Summary

Tags No category tags.
Version 1.6.3
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/open-rmf/rmf_traffic_editor.git
VCS Type git
VCS Version humble
Last Updated 2024-11-08
Dev Status DEVELOPED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

traffic editor

Additional Links

No additional links.

Maintainers

  • Morgan Quigley
  • Marco A. Gutiérrez

Authors

No additional authors.

Traffic Editor

A graphical editor for robot traffic flows. The intent is to make it easy to annotate building floorplans with the desired robot traffic lanes and generate simulation models to test and evaluate different traffic schemes.

Quality Declaration

This package claims to be in the Quality Level 3 category. See the Quality Declaration for more details.

System Requirements

This program is developed and tested on Ubuntu 18.04 LTS, using Qt 5 and yaml-cpp.

Compiling Instructions

Traffic Editor is now structured as a Colcon package. After installing ROS 2 Eloquent, the following command sequence will create a colcon workspace in ~/colcon_workspace and build traffic-editor there:

sudo apt update
sudo apt install libyaml-cpp-dev qt5-default \
  libopencv-dev libopencv-videoio-dev
mkdir -p ~/colcon_workspace/src
cd ~/colcon_workspace/src
git clone https://github.com/open-rmf/rmf_traffic_editor
cd ~/colcon_workspace
source /opt/ros/eloquent/setup.bash
colcon build --packages-select rmf_traffic_editor

The companion traffic_editor_assets package contains a nifty bunch of useful assets to use with rmf_traffic_editor. It is included in the above checkout.

Then you should be able to run traffic-editor by sourcing the install space of that workspace, in a new “clean” terminal:

source ~/colcon_workspace/install/setup.bash
traffic-editor

Quick Start

If it’s the first time you are running it, starting the editor with traffic-editor should bring up a blank window.

First, you’ll need to make sure that traffic-editor knows where the model thumbnails are found. If you installed traffic_editor_assets, rmf_traffic_editor should find it automatically. The thumbnails are top-view renderings of various art assets that can be added to the environments, such as chairs.

Click Edit->Preferences... and see if the path provided in the “Thumbnail Path” box looks reasonable.

If necessary, the “Find…” button can be used to browse the filesystem to point to any desired thumbnail directory.

(If you installed the recommended traffic_editor_assets package, you will find its thumbnail directory in its install space at <workspace_dir>/install/traffic_editor_assets/share/assets/thumbnails.)

Creating a new Project and an empty Building Map

Click Project->New... and save your new project as test.project.yaml

Click Edit->Project Properties... and enter “test” as the project name and test.building.yaml as the building path. Then click OK.

Click Edit->Building Properties... and enter “test” as the building name. Click OK.

Creating a level and adding some stuff

Click the “Add…” button in the “levels” tab on the far right side of the main editor window. This will pop up a dialog where you can create a new level. Enter L1 for the name and click OK. This will create a 10 meter square level.

You can zoom in and out using the mouse wheel on the rendering on the left side of the main window. You can pan around by dragging the mouse around with the mouse wheel (or middle button) depressed.

Now, you should be able to click the green dot toolbar icon, which is the “Add Vertex” tool (or press V) and click a few vertices in the white area. Press the [Escape] key to return to the “Select” tool.

Now, you should be able to click the add wall tool (or press W) and drag from one vertex to another vertex to add wall segments.

To delete wall segments or vertices, first press [Escape] to enter Select mode. Then, click on a wall segment or vertex, and press [Delete].

Save your work

Click Project->Save or press Ctrl+S to save the project and building map.

Adding real-world measurements to set the scale

To set the scale of the drawing, click the add measurement tool (or press M) and drag from one vertex to another to add a real-world measurement line, which should show up as a pink line. Then click the select tool (or press Esc) and click on the line with the left button. This should populate the property-editor in the lower-right pane of the editor window. You can then specify the real-world length of the measurement line in meters. If you set more than one measurement line on a drawing, the editor will compute an average value of pixels-per-meter from all supplied measurements.

Currently you need to re-load the document (closing the editor and re-opening) to re-compute the scale. This is not ideal, but is hopefully not a frequently-used feature. Typically the scale of a map is only set one time.

Adding lifts

Click the “Add…” button in the “lifts” tab on the far right side of the main editor window. This will pop up a dialog where you can create a new lift. You can specify the name, position, size, and reference floor in the dialog.

Note: Do include the keywork “lift” in the lift name as for now this is how slotcars recognize lift models.

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package rmf_traffic_editor

1.6.3 (2024-11-05)

  • Fix reference file name being kept when loading new building (#503)
  • Contributors: Luca Della Vedova

1.6.2 (2023-08-10)

1.6.1 (2023-06-05)

  • Switch changelogs to rst format.
  • Contributors: Yadunund

1.6.0 (2022-10-05)

  • Added a dispensable field for models (#436)
  • Use index based iterator to avoid yaml cpp bug (#435)
  • better vertex text size in meter-scale maps (#431)
  • Contributors: Aaron Chong, Luca Della Vedova, Morgan Quigley

1.5.1 (2022-04-20)

  • update OSM tile server URL to full planet data (#430)
  • fix cmake ament_index_cpp dependency
  • add a github CI job for rolling
  • don't double-trigger CI runs
  • update qt packages for jammy github workflow
  • build/install rmf_utils from source in ci_rolling
  • Contributors: Morgan Quigley, Youliang Tan

1.5.0 (2022-03-13)

  • fix #419 by calculating transformed x/y in image-based maps (#421)
  • validate reference level index before using it (avoid a crash)
  • Use C++17 for std::optional
  • move all CI to galactic on ubuntu 20.04
  • move the C++ style check into the 'main' CI test workflow
  • Feature/render OpenStreetMap tiles (#418)
    • "new building" dialog box which asks which coordinates to use
    • use a subdirectory in ~/.cache as the OSM tile cache
    • show the tile cache size on the status bar
    • use EPSG:3857 (meters) for rendering tile maps
    • WGS84 coordinate translation
    • render OSM tiles in grayscale, so the non-tile things are easier to see
    • populate lat, lon property fields in EPSG:3857 mode
    • remove obsolete "flattened" UI stuff
    • save global coords in wgs84 but render them in epsg3857 on OSM tiles
    • GUI box to set the local CRS for sim/nav generation
    • move all RMF keys into GeoJSON props. add start/end names
    • feature_type -> rmf_type in GeoJSON properties
    • translate robot spawn point along with the world
  • Handle simulation offsets for models and cameras (#408)
    • lat/lon translation behavior for models (previously, builds break when adding models due to WGS84 translation not having a "rotation" variable)
    • change naming for wgs84 model positions to lat/lon instead of x/y for consistency
    • apply offsets to the camera, so the camera view appears over the working area
    • Handle simulation offsets for models and cameras
    • Pass transform in Model constructor; pass un-transformed variables for to_yaml
    • Add check if global_transform was initialized; fix wrong computation of xy
    • parse model coordinates in wgs84 and project for viewing/editing
    • move model projection/translation to generate phase
    • set user-agent string in HTTP tile requests
    • workaround for 32-bit scrollbar overflow at extreme zoom
    • introduce a simple queuing system for tiles
    • reset zoom when loading a different filename
  • flip layer images right-side up in cartesian meters mode (#405)
  • Improve behavior for Cartesian maps (#401)
    • Improve behavior for Cartesian maps

    * because Cartesian maps have 1-meter units, we need to compute a better default scale for them. Previously it was always using a default scale of 0.05. * somewhat related, also fix the edge-select implementation so it spins through all edges in the map rather than just selecting the first edge within 10 units... that was OK when we were always using pixel-based maps, but now that meter-based maps are in use, it was just choosing the first edge that was within 10 meters of the click, which was a lot of edges and felt somewhat random.

    • stop drawing a 1-unit border around the scene rectangle
    • rotate vertex icons to +Y for cartesian maps
  • Cartesian worlds (y=up) and steps towards using GeoPackage (#396)
    • create passthrough transform for cartesian_meters coordinate systems
    • y-flip in traffic-editor GUI for cartesian worlds; only invert Y coordinate for legacy image-based maps
    • add coordinate system files for C++ GUI
    • pass coordinate system to vertex draw, to flip text as needed
    • correct deprecated setuptools key to fix warning

File truncated at 100 lines see the full file

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged rmf_traffic_editor at Robotics Stack Exchange

No version for distro melodic showing humble. Known supported distros are highlighted in the buttons above.

Package Summary

Tags No category tags.
Version 1.6.3
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/open-rmf/rmf_traffic_editor.git
VCS Type git
VCS Version humble
Last Updated 2024-11-08
Dev Status DEVELOPED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

traffic editor

Additional Links

No additional links.

Maintainers

  • Morgan Quigley
  • Marco A. Gutiérrez

Authors

No additional authors.

Traffic Editor

A graphical editor for robot traffic flows. The intent is to make it easy to annotate building floorplans with the desired robot traffic lanes and generate simulation models to test and evaluate different traffic schemes.

Quality Declaration

This package claims to be in the Quality Level 3 category. See the Quality Declaration for more details.

System Requirements

This program is developed and tested on Ubuntu 18.04 LTS, using Qt 5 and yaml-cpp.

Compiling Instructions

Traffic Editor is now structured as a Colcon package. After installing ROS 2 Eloquent, the following command sequence will create a colcon workspace in ~/colcon_workspace and build traffic-editor there:

sudo apt update
sudo apt install libyaml-cpp-dev qt5-default \
  libopencv-dev libopencv-videoio-dev
mkdir -p ~/colcon_workspace/src
cd ~/colcon_workspace/src
git clone https://github.com/open-rmf/rmf_traffic_editor
cd ~/colcon_workspace
source /opt/ros/eloquent/setup.bash
colcon build --packages-select rmf_traffic_editor

The companion traffic_editor_assets package contains a nifty bunch of useful assets to use with rmf_traffic_editor. It is included in the above checkout.

Then you should be able to run traffic-editor by sourcing the install space of that workspace, in a new “clean” terminal:

source ~/colcon_workspace/install/setup.bash
traffic-editor

Quick Start

If it’s the first time you are running it, starting the editor with traffic-editor should bring up a blank window.

First, you’ll need to make sure that traffic-editor knows where the model thumbnails are found. If you installed traffic_editor_assets, rmf_traffic_editor should find it automatically. The thumbnails are top-view renderings of various art assets that can be added to the environments, such as chairs.

Click Edit->Preferences... and see if the path provided in the “Thumbnail Path” box looks reasonable.

If necessary, the “Find…” button can be used to browse the filesystem to point to any desired thumbnail directory.

(If you installed the recommended traffic_editor_assets package, you will find its thumbnail directory in its install space at <workspace_dir>/install/traffic_editor_assets/share/assets/thumbnails.)

Creating a new Project and an empty Building Map

Click Project->New... and save your new project as test.project.yaml

Click Edit->Project Properties... and enter “test” as the project name and test.building.yaml as the building path. Then click OK.

Click Edit->Building Properties... and enter “test” as the building name. Click OK.

Creating a level and adding some stuff

Click the “Add…” button in the “levels” tab on the far right side of the main editor window. This will pop up a dialog where you can create a new level. Enter L1 for the name and click OK. This will create a 10 meter square level.

You can zoom in and out using the mouse wheel on the rendering on the left side of the main window. You can pan around by dragging the mouse around with the mouse wheel (or middle button) depressed.

Now, you should be able to click the green dot toolbar icon, which is the “Add Vertex” tool (or press V) and click a few vertices in the white area. Press the [Escape] key to return to the “Select” tool.

Now, you should be able to click the add wall tool (or press W) and drag from one vertex to another vertex to add wall segments.

To delete wall segments or vertices, first press [Escape] to enter Select mode. Then, click on a wall segment or vertex, and press [Delete].

Save your work

Click Project->Save or press Ctrl+S to save the project and building map.

Adding real-world measurements to set the scale

To set the scale of the drawing, click the add measurement tool (or press M) and drag from one vertex to another to add a real-world measurement line, which should show up as a pink line. Then click the select tool (or press Esc) and click on the line with the left button. This should populate the property-editor in the lower-right pane of the editor window. You can then specify the real-world length of the measurement line in meters. If you set more than one measurement line on a drawing, the editor will compute an average value of pixels-per-meter from all supplied measurements.

Currently you need to re-load the document (closing the editor and re-opening) to re-compute the scale. This is not ideal, but is hopefully not a frequently-used feature. Typically the scale of a map is only set one time.

Adding lifts

Click the “Add…” button in the “lifts” tab on the far right side of the main editor window. This will pop up a dialog where you can create a new lift. You can specify the name, position, size, and reference floor in the dialog.

Note: Do include the keywork “lift” in the lift name as for now this is how slotcars recognize lift models.

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package rmf_traffic_editor

1.6.3 (2024-11-05)

  • Fix reference file name being kept when loading new building (#503)
  • Contributors: Luca Della Vedova

1.6.2 (2023-08-10)

1.6.1 (2023-06-05)

  • Switch changelogs to rst format.
  • Contributors: Yadunund

1.6.0 (2022-10-05)

  • Added a dispensable field for models (#436)
  • Use index based iterator to avoid yaml cpp bug (#435)
  • better vertex text size in meter-scale maps (#431)
  • Contributors: Aaron Chong, Luca Della Vedova, Morgan Quigley

1.5.1 (2022-04-20)

  • update OSM tile server URL to full planet data (#430)
  • fix cmake ament_index_cpp dependency
  • add a github CI job for rolling
  • don't double-trigger CI runs
  • update qt packages for jammy github workflow
  • build/install rmf_utils from source in ci_rolling
  • Contributors: Morgan Quigley, Youliang Tan

1.5.0 (2022-03-13)

  • fix #419 by calculating transformed x/y in image-based maps (#421)
  • validate reference level index before using it (avoid a crash)
  • Use C++17 for std::optional
  • move all CI to galactic on ubuntu 20.04
  • move the C++ style check into the 'main' CI test workflow
  • Feature/render OpenStreetMap tiles (#418)
    • "new building" dialog box which asks which coordinates to use
    • use a subdirectory in ~/.cache as the OSM tile cache
    • show the tile cache size on the status bar
    • use EPSG:3857 (meters) for rendering tile maps
    • WGS84 coordinate translation
    • render OSM tiles in grayscale, so the non-tile things are easier to see
    • populate lat, lon property fields in EPSG:3857 mode
    • remove obsolete "flattened" UI stuff
    • save global coords in wgs84 but render them in epsg3857 on OSM tiles
    • GUI box to set the local CRS for sim/nav generation
    • move all RMF keys into GeoJSON props. add start/end names
    • feature_type -> rmf_type in GeoJSON properties
    • translate robot spawn point along with the world
  • Handle simulation offsets for models and cameras (#408)
    • lat/lon translation behavior for models (previously, builds break when adding models due to WGS84 translation not having a "rotation" variable)
    • change naming for wgs84 model positions to lat/lon instead of x/y for consistency
    • apply offsets to the camera, so the camera view appears over the working area
    • Handle simulation offsets for models and cameras
    • Pass transform in Model constructor; pass un-transformed variables for to_yaml
    • Add check if global_transform was initialized; fix wrong computation of xy
    • parse model coordinates in wgs84 and project for viewing/editing
    • move model projection/translation to generate phase
    • set user-agent string in HTTP tile requests
    • workaround for 32-bit scrollbar overflow at extreme zoom
    • introduce a simple queuing system for tiles
    • reset zoom when loading a different filename
  • flip layer images right-side up in cartesian meters mode (#405)
  • Improve behavior for Cartesian maps (#401)
    • Improve behavior for Cartesian maps

    * because Cartesian maps have 1-meter units, we need to compute a better default scale for them. Previously it was always using a default scale of 0.05. * somewhat related, also fix the edge-select implementation so it spins through all edges in the map rather than just selecting the first edge within 10 units... that was OK when we were always using pixel-based maps, but now that meter-based maps are in use, it was just choosing the first edge that was within 10 meters of the click, which was a lot of edges and felt somewhat random.

    • stop drawing a 1-unit border around the scene rectangle
    • rotate vertex icons to +Y for cartesian maps
  • Cartesian worlds (y=up) and steps towards using GeoPackage (#396)
    • create passthrough transform for cartesian_meters coordinate systems
    • y-flip in traffic-editor GUI for cartesian worlds; only invert Y coordinate for legacy image-based maps
    • add coordinate system files for C++ GUI
    • pass coordinate system to vertex draw, to flip text as needed
    • correct deprecated setuptools key to fix warning

File truncated at 100 lines see the full file

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged rmf_traffic_editor at Robotics Stack Exchange

No version for distro noetic showing humble. Known supported distros are highlighted in the buttons above.

Package Summary

Tags No category tags.
Version 1.6.3
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/open-rmf/rmf_traffic_editor.git
VCS Type git
VCS Version humble
Last Updated 2024-11-08
Dev Status DEVELOPED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

traffic editor

Additional Links

No additional links.

Maintainers

  • Morgan Quigley
  • Marco A. Gutiérrez

Authors

No additional authors.

Traffic Editor

A graphical editor for robot traffic flows. The intent is to make it easy to annotate building floorplans with the desired robot traffic lanes and generate simulation models to test and evaluate different traffic schemes.

Quality Declaration

This package claims to be in the Quality Level 3 category. See the Quality Declaration for more details.

System Requirements

This program is developed and tested on Ubuntu 18.04 LTS, using Qt 5 and yaml-cpp.

Compiling Instructions

Traffic Editor is now structured as a Colcon package. After installing ROS 2 Eloquent, the following command sequence will create a colcon workspace in ~/colcon_workspace and build traffic-editor there:

sudo apt update
sudo apt install libyaml-cpp-dev qt5-default \
  libopencv-dev libopencv-videoio-dev
mkdir -p ~/colcon_workspace/src
cd ~/colcon_workspace/src
git clone https://github.com/open-rmf/rmf_traffic_editor
cd ~/colcon_workspace
source /opt/ros/eloquent/setup.bash
colcon build --packages-select rmf_traffic_editor

The companion traffic_editor_assets package contains a nifty bunch of useful assets to use with rmf_traffic_editor. It is included in the above checkout.

Then you should be able to run traffic-editor by sourcing the install space of that workspace, in a new “clean” terminal:

source ~/colcon_workspace/install/setup.bash
traffic-editor

Quick Start

If it’s the first time you are running it, starting the editor with traffic-editor should bring up a blank window.

First, you’ll need to make sure that traffic-editor knows where the model thumbnails are found. If you installed traffic_editor_assets, rmf_traffic_editor should find it automatically. The thumbnails are top-view renderings of various art assets that can be added to the environments, such as chairs.

Click Edit->Preferences... and see if the path provided in the “Thumbnail Path” box looks reasonable.

If necessary, the “Find…” button can be used to browse the filesystem to point to any desired thumbnail directory.

(If you installed the recommended traffic_editor_assets package, you will find its thumbnail directory in its install space at <workspace_dir>/install/traffic_editor_assets/share/assets/thumbnails.)

Creating a new Project and an empty Building Map

Click Project->New... and save your new project as test.project.yaml

Click Edit->Project Properties... and enter “test” as the project name and test.building.yaml as the building path. Then click OK.

Click Edit->Building Properties... and enter “test” as the building name. Click OK.

Creating a level and adding some stuff

Click the “Add…” button in the “levels” tab on the far right side of the main editor window. This will pop up a dialog where you can create a new level. Enter L1 for the name and click OK. This will create a 10 meter square level.

You can zoom in and out using the mouse wheel on the rendering on the left side of the main window. You can pan around by dragging the mouse around with the mouse wheel (or middle button) depressed.

Now, you should be able to click the green dot toolbar icon, which is the “Add Vertex” tool (or press V) and click a few vertices in the white area. Press the [Escape] key to return to the “Select” tool.

Now, you should be able to click the add wall tool (or press W) and drag from one vertex to another vertex to add wall segments.

To delete wall segments or vertices, first press [Escape] to enter Select mode. Then, click on a wall segment or vertex, and press [Delete].

Save your work

Click Project->Save or press Ctrl+S to save the project and building map.

Adding real-world measurements to set the scale

To set the scale of the drawing, click the add measurement tool (or press M) and drag from one vertex to another to add a real-world measurement line, which should show up as a pink line. Then click the select tool (or press Esc) and click on the line with the left button. This should populate the property-editor in the lower-right pane of the editor window. You can then specify the real-world length of the measurement line in meters. If you set more than one measurement line on a drawing, the editor will compute an average value of pixels-per-meter from all supplied measurements.

Currently you need to re-load the document (closing the editor and re-opening) to re-compute the scale. This is not ideal, but is hopefully not a frequently-used feature. Typically the scale of a map is only set one time.

Adding lifts

Click the “Add…” button in the “lifts” tab on the far right side of the main editor window. This will pop up a dialog where you can create a new lift. You can specify the name, position, size, and reference floor in the dialog.

Note: Do include the keywork “lift” in the lift name as for now this is how slotcars recognize lift models.

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package rmf_traffic_editor

1.6.3 (2024-11-05)

  • Fix reference file name being kept when loading new building (#503)
  • Contributors: Luca Della Vedova

1.6.2 (2023-08-10)

1.6.1 (2023-06-05)

  • Switch changelogs to rst format.
  • Contributors: Yadunund

1.6.0 (2022-10-05)

  • Added a dispensable field for models (#436)
  • Use index based iterator to avoid yaml cpp bug (#435)
  • better vertex text size in meter-scale maps (#431)
  • Contributors: Aaron Chong, Luca Della Vedova, Morgan Quigley

1.5.1 (2022-04-20)

  • update OSM tile server URL to full planet data (#430)
  • fix cmake ament_index_cpp dependency
  • add a github CI job for rolling
  • don't double-trigger CI runs
  • update qt packages for jammy github workflow
  • build/install rmf_utils from source in ci_rolling
  • Contributors: Morgan Quigley, Youliang Tan

1.5.0 (2022-03-13)

  • fix #419 by calculating transformed x/y in image-based maps (#421)
  • validate reference level index before using it (avoid a crash)
  • Use C++17 for std::optional
  • move all CI to galactic on ubuntu 20.04
  • move the C++ style check into the 'main' CI test workflow
  • Feature/render OpenStreetMap tiles (#418)
    • "new building" dialog box which asks which coordinates to use
    • use a subdirectory in ~/.cache as the OSM tile cache
    • show the tile cache size on the status bar
    • use EPSG:3857 (meters) for rendering tile maps
    • WGS84 coordinate translation
    • render OSM tiles in grayscale, so the non-tile things are easier to see
    • populate lat, lon property fields in EPSG:3857 mode
    • remove obsolete "flattened" UI stuff
    • save global coords in wgs84 but render them in epsg3857 on OSM tiles
    • GUI box to set the local CRS for sim/nav generation
    • move all RMF keys into GeoJSON props. add start/end names
    • feature_type -> rmf_type in GeoJSON properties
    • translate robot spawn point along with the world
  • Handle simulation offsets for models and cameras (#408)
    • lat/lon translation behavior for models (previously, builds break when adding models due to WGS84 translation not having a "rotation" variable)
    • change naming for wgs84 model positions to lat/lon instead of x/y for consistency
    • apply offsets to the camera, so the camera view appears over the working area
    • Handle simulation offsets for models and cameras
    • Pass transform in Model constructor; pass un-transformed variables for to_yaml
    • Add check if global_transform was initialized; fix wrong computation of xy
    • parse model coordinates in wgs84 and project for viewing/editing
    • move model projection/translation to generate phase
    • set user-agent string in HTTP tile requests
    • workaround for 32-bit scrollbar overflow at extreme zoom
    • introduce a simple queuing system for tiles
    • reset zoom when loading a different filename
  • flip layer images right-side up in cartesian meters mode (#405)
  • Improve behavior for Cartesian maps (#401)
    • Improve behavior for Cartesian maps

    * because Cartesian maps have 1-meter units, we need to compute a better default scale for them. Previously it was always using a default scale of 0.05. * somewhat related, also fix the edge-select implementation so it spins through all edges in the map rather than just selecting the first edge within 10 units... that was OK when we were always using pixel-based maps, but now that meter-based maps are in use, it was just choosing the first edge that was within 10 meters of the click, which was a lot of edges and felt somewhat random.

    • stop drawing a 1-unit border around the scene rectangle
    • rotate vertex icons to +Y for cartesian maps
  • Cartesian worlds (y=up) and steps towards using GeoPackage (#396)
    • create passthrough transform for cartesian_meters coordinate systems
    • y-flip in traffic-editor GUI for cartesian worlds; only invert Y coordinate for legacy image-based maps
    • add coordinate system files for C++ GUI
    • pass coordinate system to vertex draw, to flip text as needed
    • correct deprecated setuptools key to fix warning

File truncated at 100 lines see the full file

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged rmf_traffic_editor at Robotics Stack Exchange