Skip to content

Commit

Permalink
clone up-to-date sdk2
Browse files Browse the repository at this point in the history
  • Loading branch information
Teddy-Liao committed Jan 28, 2024
1 parent 64e3b28 commit 4adbe06
Show file tree
Hide file tree
Showing 953 changed files with 131,992 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
project(helloworld)
cmake_minimum_required(VERSION 3.5)

SET(CMAKE_CXX_STANDARD 17)

include_directories(/usr/local/include/ddscxx /usr/local/include/iceoryx/v2.0.2)
link_libraries(unitree_sdk2 ddsc ddscxx rt pthread)

add_executable(test_publisher example/helloworld/publisher.cpp example/helloworld/HelloWorldData.cpp)
add_executable(test_subscriber example/helloworld/subscriber.cpp example/helloworld/HelloWorldData.cpp)
add_executable(high_follow_sin example/high_level/follow_sin.cpp)
add_executable(sportmode_test example/high_level/sportmode_test.cpp)
add_executable(low_level example/low_level/low_level.cpp)
add_executable(stand_example_go2 example/low_level/stand_example_go2.cpp)
add_executable(stand_example_b2 example/low_level/stand_example_b2.cpp)
add_executable(wireless example/wireless/wireless.cpp)
add_executable(advanced_gamepad example/advanced_gamepad/main.cpp)
add_executable(state_machine_example example/state_machine/main.cpp)
add_executable(test_jsonize example/jsonize/test_jsonize.cpp)
add_executable(robot_state_client_example example/client/robot_state_client_example.cpp)
add_executable(sport_client_example example/client/sport_client_example.cpp)
add_executable(video_client_example example/client/video_client_example.cpp)
add_executable(vui_client_example example/client/vui_client_example.cpp)
add_executable(h1_arm_sdk_dds_example example/humanoid/high_level/h1_arm_sdk_dds_example.cpp)
add_executable(h1_loco_example_client example/humanoid/high_level/h1_loco_example_client.cpp)
add_executable(h1_low_level_example example/humanoid/low_level/humanoid.cpp)
29 changes: 29 additions & 0 deletions go2_gym_deploy/unitree_sdk2_bin/library/unitree_sdk2/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
BSD 3-Clause License

Copyright (c) 2016-2023 HangZhou YuShu TECHNOLOGY CO.,LTD. ("Unitree Robotics")
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.

3. Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24 changes: 24 additions & 0 deletions go2_gym_deploy/unitree_sdk2_bin/library/unitree_sdk2/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# unitree_sdk2
Unitree robot sdk version 2.

### Prebuild environment
* OS (Ubuntu 20.04 LTS)
* CPU (aarch64 and x86_64)
* Compiler (gcc version 9.4.0)

### Installation
```bash
sudo ./install.sh

```

### Build examples
```bash
mkdir build
cd build
cmake ..
make
```

### Notice
For more reference information, please go to [Unitree Document Center](https://support.unitree.com/home/zh/developer).
Loading

0 comments on commit 4adbe06

Please sign in to comment.