Skip to content

Commit

Permalink
Merge pull request #1161 from cmastalli/devel
Browse files Browse the repository at this point in the history
  • Loading branch information
cmastalli authored Aug 24, 2023
2 parents 950d5b8 + c514891 commit f403e31
Show file tree
Hide file tree
Showing 9 changed files with 23 additions and 20 deletions.
2 changes: 1 addition & 1 deletion examples/notebooks/acrobot_urdf.ipynb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"cells": [
"cells": [
{
"cell_type": "markdown",
"metadata": {},
Expand Down
2 changes: 1 addition & 1 deletion examples/notebooks/arm_manipulation.ipynb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"cells": [
"cells": [
{
"cell_type": "markdown",
"metadata": {},
Expand Down
2 changes: 1 addition & 1 deletion examples/notebooks/bipedal_walking.ipynb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"cells": [
"cells": [
{
"cell_type": "markdown",
"metadata": {},
Expand Down
2 changes: 1 addition & 1 deletion examples/notebooks/cartpole_swing_up.ipynb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"cells": [
"cells": [
{
"attachments": {
"image.png": {
Expand Down
2 changes: 1 addition & 1 deletion examples/notebooks/cartpole_swing_up_sol.ipynb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"cells": [
"cells": [
{
"attachments": {
"image.png": {
Expand Down
2 changes: 1 addition & 1 deletion examples/notebooks/introduction_to_crocoddyl.ipynb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"cells": [
"cells": [
{
"cell_type": "markdown",
"metadata": {},
Expand Down
2 changes: 1 addition & 1 deletion examples/notebooks/unicycle_towards_origin.ipynb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"cells": [
"cells": [
{
"attachments": {
"image.png": {
Expand Down
2 changes: 1 addition & 1 deletion examples/notebooks/whole_body_manipulation.ipynb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"cells": [
"cells": [
{
"cell_type": "markdown",
"metadata": {},
Expand Down
27 changes: 15 additions & 12 deletions unittest/test_actuation.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
///////////////////////////////////////////////////////////////////////////////
// BSD 3-Clause License
//
// Copyright (C) 2019-2023, University of Edinburgh
// Copyright (C) 2019-2023, University of Edinburgh, Heriot-Watt University
// Copyright note valid unless otherwise stated in individual files.
// All rights reserved.
///////////////////////////////////////////////////////////////////////////////
Expand Down Expand Up @@ -219,18 +219,21 @@ bool init_function() {
register_actuation_model_unit_tests(ActuationModelTypes::ActuationModelFull,
StateModelTypes::all[i]);
}
for (size_t i = 0; i < StateModelTypes::all.size(); ++i) {
if (StateModelTypes::all[i] != StateModelTypes::StateVector &&
StateModelTypes::all[i] != StateModelTypes::StateMultibody_Hector) {
register_actuation_model_unit_tests(
ActuationModelTypes::ActuationModelFloatingBase,
StateModelTypes::all[i]);
register_actuation_model_unit_tests(
ActuationModelTypes::ActuationModelSquashingFull,
StateModelTypes::all[i]);
}
}

register_actuation_model_unit_tests(
ActuationModelTypes::ActuationModelFloatingBase,
StateModelTypes::StateMultibody_HyQ);
register_actuation_model_unit_tests(
ActuationModelTypes::ActuationModelFloatingBase,
StateModelTypes::StateMultibody_Talos);
register_actuation_model_unit_tests(
ActuationModelTypes::ActuationModelFloatingBase,
StateModelTypes::StateMultibody_RandomHumanoid);
register_actuation_model_unit_tests(
ActuationModelTypes::ActuationModelSquashingFull,
StateModelTypes::StateMultibody_TalosArm);
ActuationModelTypes::ActuationModelMultiCopterBase,
StateModelTypes::StateMultibody_Hector);
return true;
}

Expand Down

0 comments on commit f403e31

Please sign in to comment.