Comments (5)
In an effort of helping resolving this issue. I noticed that there is Test for DiscreteArray
and DiscreteTrajectory
. But there is no Test for DiscreteTrajectoryBase
.
Is this the reason that this bug was not discovered before? Should DiscreteTrajectoryBaseTest.cpp be created?
from control-toolbox.
from control-toolbox.
Thank you @markusgft . I was creating the unit test for DiscreteTrajectoryBase
, and realized that ct_core/test/DiscreteTrajectoryTest.cpp
is actually testing DiscreteTrajectoryBase
. Because
// trajectory containers with zoh and linear interpolation
StateTrajectory<2> stateTrajectory_zoh(timeArray, stateArray, InterpolationType::ZOH);
StateTrajectory<2> stateTrajectory_lin(timeArray, stateArray, InterpolationType::LIN);
The StateTrajectory
is a derived class from DiscreteTrajectoryBase.
My question, should DiscreteTrajectoryTest.cpp
be renamed as DiscreteTrajectoryBaseTest.cpp
?
Thank you.
from control-toolbox.
I'm about to create a test case to produce a situation of this bug, and I realized that tpl::TimeArray<SCALAR>
has a length of a minimum of 2. It doesn't seem possible that time
could be empty. But I believe from the unit test point of view, the unit shall cover that. Could you please clarify? Thanks.
from control-toolbox.
Thanks for raising the issue. I believe that someone needs to take a more detailed look and check what is really going on. I currently have no time to reproduce the failures, unfortunately.
from control-toolbox.
Related Issues (20)
- Failed to generate .kindsl model from the .urdf models provided HOT 2
- Status of the overall project HOT 3
- Cloning and extracting zip fails HOT 5
- matplotlib import error HOT 5
- Building Examples with catkin HOT 3
- Can I define an end-effector on my base link?
- Clarity regarding MPC tutorial example NLOC_MPC HOT 2
- Can I use it for a hexapod robot HOT 1
- Documentation of ct_core
- How to add MPC as a member in a class? HOT 2
- Can this be used for a differential drive wheeled robot? HOT 1
- DynamicRiccatiEquation - reference for implementation
- Ccc
- Activation function time does not move according to MPC progress HOT 1
- Installation error with blasfeo HOT 2
- changeInitialState in Dms does not work
- Using plain cmake build fails on Debian Stretch 9: "In function ‘void irb4600_ik::ComputeFk..."
- where can we find the demo code about "a 6-dof arm avoid a dynamic obstacle in a go-to task"
- custom system dynamic for 6dof Robot MPC
- Can it work on the Ubuntu 20.04? How to do it? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from control-toolbox.