Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RobCoGen unexpected number of elements in matrix + J #193

Open
Nickick-ICRS opened this issue May 10, 2021 · 4 comments
Open

RobCoGen unexpected number of elements in matrix + J #193

Nickick-ICRS opened this issue May 10, 2021 · 4 comments

Comments

@Nickick-ICRS
Copy link

Hi! I've hit a problem trying to generate the RobCoGen files. At first I got everything to generate fine, but I was using 0.5.2, which caused issues as the tpl namespace didn't exist.

Switching to the expected 0.4ad.0 and readjusting config parameters (including the fix in issue #166 ), I can generate everything except the Jacobians. This issue persists whether I try to generate full Jacobians from e.g. my world frame to my end effector, or whether I split them up (the way I have the transforms split up - world_x_a and a_x_end_effector etc.)

The exception I'm getting after running 0, 1, 4 (or 0, 1, 5, 6, 7) is:

Exception in thread "main" java.lang.RuntimeException: Unexpected number of elements in row 5 of the matrix + J. Expected 5, found 7
	at iit.dsl.maxdsl.utils.MaximaConversionUtils.getMatrix(Unknown Source)
	at iit.dsl.generator.maxima.Converter.getJacobianText(Unknown Source)
	at iit.dsl.generator.cpp.kinematics.Jacobians.localClassesDefinitions(Unknown Source)
	at iit.dsl.generator.cpp.kinematics.Jacobians.sourceFile(Unknown Source)
	at iit.dsl.generator.cpp.Generator.generateJacobiansFiles(Unknown Source)
	at iit.robcogen.KinDSLWrapper.generate(Unknown Source)
	at iit.robcogen.KinDSLWrapper.generate(Unknown Source)
	at iit.robcogen.Generator.main(Unknown Source)

Any ideas what is causing this and how to fix it? My robot is kind of a 2 branched tree if that helps.

@csufangyu
Copy link

I get the same problem,have you solved it?

@JuliusSustarevas
Copy link

I have a similar error, but its in matrix + trigsimp.

@markusgft
Copy link
Member

markusgft commented Jul 29, 2021 via email

@JuliusSustarevas
Copy link

JuliusSustarevas commented Jul 29, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants