Skip to content

Commit

Permalink
broken unitree interface
Browse files Browse the repository at this point in the history
  • Loading branch information
wdc3iii committed Jan 26, 2025
1 parent c0838be commit ed29f14
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion obelisk/cpp/zoo/hardware/robots/unitree/go2_interface.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "unitree_interface.h"

//IDL
// IDL
#include <unitree/idl/go2/LowState_.hpp>
#include <unitree/idl/go2/LowCmd_.hpp>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# pragma once
#include "obelisk_robot.h"
#include "obelisk_ros_utils.h"
#include "obelisk_sensor_msgs/msg/obk_joint_encoders.h"
Expand Down
1 change: 1 addition & 0 deletions obelisk/cpp/zoo/include/unitree_example_controller.h
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ namespace obelisk {
// "right_wrist_yaw_joint",
// };

// TODO: identify robot from context?
static constexpr int MOTOR_NUM = 12;
const std::array<std::string, MOTOR_NUM> JOINT_NAMES = {
"FR_hip_joint",
Expand Down

0 comments on commit ed29f14

Please sign in to comment.