Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
YHFone committed Apr 24, 2024
1 parent a081a19 commit f83fd85
Show file tree
Hide file tree
Showing 6 changed files with 101 additions and 227 deletions.
18 changes: 18 additions & 0 deletions .vscode/c_cpp_properties.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"configurations": [
{
"name": "linux-gcc-x64",
"includePath": [
"${workspaceFolder}/**"
],
"compilerPath": "/usr/bin/gcc",
"cStandard": "${default}",
"cppStandard": "${default}",
"intelliSenseMode": "linux-gcc-x64",
"compilerArgs": [
""
]
}
],
"version": 4
}
24 changes: 24 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "C/C++ Runner: Debug Session",
"type": "cppdbg",
"request": "launch",
"args": [],
"stopAtEntry": false,
"externalConsole": false,
"cwd": "/home/yhfone/livelybot_dynamic_control/legged_controllers/src",
"program": "/home/yhfone/livelybot_dynamic_control/legged_controllers/src/build/Debug/outDebug",
"MIMode": "gdb",
"miDebuggerPath": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
]
}
]
}
59 changes: 59 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
{
"C_Cpp_Runner.cCompilerPath": "gcc",
"C_Cpp_Runner.cppCompilerPath": "g++",
"C_Cpp_Runner.debuggerPath": "gdb",
"C_Cpp_Runner.cStandard": "",
"C_Cpp_Runner.cppStandard": "",
"C_Cpp_Runner.msvcBatchPath": "C:/Program Files/Microsoft Visual Studio/VR_NR/Community/VC/Auxiliary/Build/vcvarsall.bat",
"C_Cpp_Runner.useMsvc": false,
"C_Cpp_Runner.warnings": [
"-Wall",
"-Wextra",
"-Wpedantic",
"-Wshadow",
"-Wformat=2",
"-Wcast-align",
"-Wconversion",
"-Wsign-conversion",
"-Wnull-dereference"
],
"C_Cpp_Runner.msvcWarnings": [
"/W4",
"/permissive-",
"/w14242",
"/w14287",
"/w14296",
"/w14311",
"/w14826",
"/w44062",
"/w44242",
"/w14905",
"/w14906",
"/w14263",
"/w44265",
"/w14928"
],
"C_Cpp_Runner.enableWarnings": true,
"C_Cpp_Runner.warningsAsError": false,
"C_Cpp_Runner.compilerArgs": [],
"C_Cpp_Runner.linkerArgs": [],
"C_Cpp_Runner.includePaths": [],
"C_Cpp_Runner.includeSearch": [
"*",
"**/*"
],
"C_Cpp_Runner.excludeSearch": [
"**/build",
"**/build/**",
"**/.*",
"**/.*/**",
"**/.vscode",
"**/.vscode/**"
],
"C_Cpp_Runner.useAddressSanitizer": false,
"C_Cpp_Runner.useUndefinedSanitizer": false,
"C_Cpp_Runner.useLeakSanitizer": false,
"C_Cpp_Runner.showCompilationTime": false,
"C_Cpp_Runner.useLinkTimeOptimization": false,
"C_Cpp_Runner.msvcSecureNoWarnings": false
}
218 changes: 0 additions & 218 deletions legged_controllers/src/test_pinocchio.cpp

This file was deleted.

8 changes: 0 additions & 8 deletions legged_estimation/src/StateEstimateBase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -204,14 +204,6 @@ void StateEstimateBase::estContactForce(const ros::Duration& period)
estContactforce_(6 * 2 + 2 + i) = estContactforce_.segment<6>(6 * i).norm();
}

// std_msgs::Float64MultiArray est_contactforce_msg;
// est_contactforce_msg.data.resize(6 * 2 + 4);
// std::cout<<"estContactforce: ";
// for(int i=0; i<16; i++){
// std::cout<<estContactforce_(i)<<" ";
// }
// std::cout<<std::endl;
// estContactforce_pub_.publish(est_contactforce_msg);
}

contact_flag_t StateEstimateBase::estContactState(const scalar_t& time)
Expand Down
1 change: 0 additions & 1 deletion legged_hw/src/LeggedHW.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ bool LeggedHW::init(ros::NodeHandle& root_nh, ros::NodeHandle& /*robot_hw_nh*/)
}

motorsInterface=std::make_shared<lively_robot::robot>();
// imuInterface=std::make_shared<FDILink::ahrsBringup>();

registerInterface(&jointStateInterface_);
registerInterface(&hybridJointInterface_);
Expand Down

0 comments on commit f83fd85

Please sign in to comment.