From 4044302782e04535a7d974549f05463657b37ca0 Mon Sep 17 00:00:00 2001 From: "BEELZEBUB\\DIS" Date: Fri, 8 Mar 2024 17:02:24 +0100 Subject: [PATCH] Added a view synthetic start menu entry. --- CMakeFiles/CwipcInstallers.cmake | 3 ++- readme.md | 5 ++++- scripts/run-cwipc-view-synthetic.bat | 2 ++ 3 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 scripts/run-cwipc-view-synthetic.bat diff --git a/CMakeFiles/CwipcInstallers.cmake b/CMakeFiles/CwipcInstallers.cmake index f89acf9..8b2269e 100644 --- a/CMakeFiles/CwipcInstallers.cmake +++ b/CMakeFiles/CwipcInstallers.cmake @@ -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" ) diff --git a/readme.md b/readme.md index addc7e1..0889577 100644 --- a/readme.md +++ b/readme.md @@ -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. @@ -32,6 +33,8 @@ Download the windows installer `.exe` for the most recent cwipc release from 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 diff --git a/scripts/run-cwipc-view-synthetic.bat b/scripts/run-cwipc-view-synthetic.bat new file mode 100644 index 0000000..7c055b1 --- /dev/null +++ b/scripts/run-cwipc-view-synthetic.bat @@ -0,0 +1,2 @@ +cwipc_view --synthetic +pause