You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ The asset can be prepared in two flavors:
26
26
27
27
#### Platform considerations
28
28
29
-
Running the Editor or App using this Asset on Ubuntu requires a start script that populates the LD_LIBRARY_PATH. This is due to dynamic plugin loading mechanism used in the ros2cs library.
29
+
Running the Editor or App using this Asset on Ubuntu requires a start script that populates the `LD_LIBRARY_PATH`. This is due to dynamic plugin loading mechanism used in the ros2cs library.
30
30
On Windows, no script is necessary and both Editor and App can be ran the usual way (e.g. with a click or cmd line).
31
31
32
32
### Releases
@@ -86,13 +86,15 @@ The project will pull `ros2cs` into the workspace, which also functions independ
86
86
87
87
> There is a bug with hardcoded include exports in some **ros2 galactic** packages on **Windows**. Easiest workaround is to create a `C:\ci\ws\install\include` directory in your system. More about this bug and proposed workarounds: [github issue](https://github.com/ros2/rclcpp/issues/1688#issuecomment-858467147).
88
88
89
+
> Sometimes it is required to set NuGet package feed to nuget.org: `dotnet nuget add source --name nuget.org https://api.nuget.org/v3/index.json` in order to resolve some missing packages for `ros2cs` project.
90
+
89
91
#### Build instructions
90
92
91
93
* Clone this project.
92
94
* If you wish to include custom messages in your build, make sure to put them into `ros2_for_unity_custom_messages.repos` file. You can change this file in your fork or change `custom_messages.repos` in the ros2cs repository fork, it will work either way as the scripts will pull both sources.
93
95
As an alternative, you can also add your custom messages package directly by copying it to `src/ros2cs/custom_messages` folder after the next step. Any message package in the build tree will be subjected to `.cs` file generator during the build.
94
96
* You need to source your ROS2 installation (e.g. `source /opt/ros/foxy/setup.bash` on Ubuntu or `C:\dev\ros2_foxy\local_setup.ps1` on Windows) before you proceed, for each new open terminal. On Ubuntu, you can also include this command in your `~/.bashrc` file.
95
-
* Run 'pull_repositories.sh'. This will pull `ros2cs` as well as your custom messages.
97
+
* Run `pull_repositories.sh`. This will pull `ros2cs` as well as your custom messages.
96
98
* Run `build.sh` (Ubuntu) or `build.ps1` (Windows) script.
97
99
* You can build tests by adding `--with-tests` argument to `build` command.
98
100
* It invokes `colcon_build` with `--merge-install` argument to simplify libraries installation.
Copy file name to clipboardExpand all lines: create_unity_asset.ps1
+13-4Lines changed: 13 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
.SYNOPSIS
4
4
Creates a 'unitypackage' from an input asset.
5
5
.DESCRIPTION
6
-
This script screates a temporary Unity project in "%USERPROFILE%\AppData\Local\Temp" directory, copy input asset and makes an unity package out of it.
6
+
This script screates a temporary Unity project in "%USERPROFILE%\AppData\Local\Temp" directory, copy input asset and makes an unity package out of it. Valid Unity license is required.
Copy file name to clipboardExpand all lines: create_unity_asset.sh
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -4,14 +4,14 @@ SCRIPT=$(readlink -f $0)
4
4
SCRIPTPATH=`dirname $SCRIPT`
5
5
6
6
display_usage() {
7
-
echo"This script creates a temporary Unity project in '/tmp' directory, copy input asset and makes an unity package out of it."
7
+
echo"This script creates a temporary Unity project in '/tmp' directory, copy input asset and makes an unity package out of it. Valid Unity license is required."
0 commit comments