Skip to content

Commit

Permalink
Added a view synthetic start menu entry.
Browse files Browse the repository at this point in the history
  • Loading branch information
cwidisgroup committed Mar 8, 2024
1 parent ea41431 commit 4044302
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
3 changes: 2 additions & 1 deletion CMakeFiles/CwipcInstallers.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ elseif(WIN32)
set(CPACK_NSIS_EXTRA_UNINSTALL_COMMANDS "")
string(APPEND CPACK_NSIS_EXTRA_UNINSTALL_COMMANDS "ExecWait 'python3 -m pip uninstall -y cwipc_util cwipc_codec cwipw_realsense2 cwipc_kinect'\\n")
set(CPACK_NSIS_MENU_LINKS
"libexec/cwipc/scripts/run-cwipc-check-fix.bat" "Attempt to fix cwipc installation"
"libexec/cwipc/scripts/run-cwipc-view-synthetic.bat" "View a sample dynamic pointcloud"
"libexec/cwipc/scripts/run-cwipc-check-fix.bat" "Attempt to fix cwipc installation"
"libexec/cwipc/scripts/run-cwipc-check.bat" "Check cwipc installation"
"share/docs/cwipc/readme.md" "Readme file"
)
Expand Down
5 changes: 4 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ The change log can be found at [CHANGELOG.md](CHANGELOG.md).

The simplest way to install cwipc is through a prebuilt installer. This will install everything in the standard location, and it allows running the command line tools as well as developing C, C++, Python or Unity programs that use the cwipc library.

After installation, run `cwipc_view --synthetic` from a shell (terminal window, command prompt). It should show you a window with a rotating synthetic point cloud if everything is installed correctly. There is also a command line utility `cwipc_check` that will test that all third-party requirements have been installed correctly. Especially on Windows this can be very helpful (see below).
After installation, run `cwipc_view --synthetic` from a shell (terminal window, command prompt). It should show you a window with a rotating synthetic point cloud if everything is installed correctly. There is also a command line utility `cwipc_check` that will test that all third-party requirements have been installed correctly.
On Windows you can find these in the start menu too.

See below if you want to install to a different location, or if you want to modify cwipc itself and build it from source.

Expand All @@ -32,6 +33,8 @@ Download the windows installer `.exe` for the most recent cwipc release from <ht

Run it, and it will install the cwipc command line tools and the C++ and Python APIs.

> If the installer does not run you must install the "Microsoft VC++ Redistributable" first (64 bit version).
It will _also install all required third party packages_, unless a usable version is detected.

### Windows - check installation
Expand Down
2 changes: 2 additions & 0 deletions scripts/run-cwipc-view-synthetic.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
cwipc_view --synthetic
pause

0 comments on commit 4044302

Please sign in to comment.