39 Commits

Author SHA1 Message Date
Aik-Siong Koh
b9ba0976f2 Replace assert(false) with throw SimulationStoppingError(To be implemented.) 2025-09-16 11:32:22 -05:00
Benjamin Nauck
09d6175a2b Remove warning about unused variables (#87) 2025-01-21 11:40:11 -07:00
huguesdpdn
2e3659c4bc Fix compilation under gcc7.5 (#81)
* Correct typo in individual license file name

* Fix compilation under GCC 7.5 for Ubuntu
2024-11-04 23:00:12 +08:00
aiksiongkoh
6bf651cd31 Cmake gtest (#79)
* Check rackpin and gear for zero radii

* rebase zero-radii-check (#69)

* contributing

* Update push-freecad.yml

updated actions/checkout to v4

* dragging log for debugging

* fix calcdxNorm crash

* setDebug and remove MBDyn*

* Update cmakelists.txt

* fix includes for gcc-14

gcc-14 is more disciplined about not including <algorithm> transitively.

* fix runDragStep

* backhoe files (#65)

* Mark unused variables to silence compiler warnings. (#64)

* Backhoe issues (#67)

* backhoe issues

* runDragStep edit

* backhoe issues

* runDragStep edit

* Reduce large drag step progressively until convergence.

* Switch to using built-in M_PI, even on MSVC (#68)

---------

Co-authored-by: Brad Collette <bradcollette@pop-os.localdomain>
Co-authored-by: mosfet80 <realeandrea@yahoo.it>
Co-authored-by: PaddleStroke <pierrelouis.boyer@gmail.com>
Co-authored-by: Jed Brown <jed@jedbrown.org>
Co-authored-by: sliptonic <shopinthewoods@gmail.com>
Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>

* in progress

* Gtest added

* With changes from Assembly

* WinMerge main and this branch

* Add flag for GTest

* Flag to suppress OndselSolverMain

* rebase zero-radii-check (#69)

* contributing

* Update push-freecad.yml

updated actions/checkout to v4

* dragging log for debugging

* fix calcdxNorm crash

* setDebug and remove MBDyn*

* Update cmakelists.txt

* fix includes for gcc-14

gcc-14 is more disciplined about not including <algorithm> transitively.

* fix runDragStep

* backhoe files (#65)

* Mark unused variables to silence compiler warnings. (#64)

* Backhoe issues (#67)

* backhoe issues

* runDragStep edit

* backhoe issues

* runDragStep edit

* Reduce large drag step progressively until convergence.

* Switch to using built-in M_PI, even on MSVC (#68)

---------

Co-authored-by: Brad Collette <bradcollette@pop-os.localdomain>
Co-authored-by: mosfet80 <realeandrea@yahoo.it>
Co-authored-by: PaddleStroke <pierrelouis.boyer@gmail.com>
Co-authored-by: Jed Brown <jed@jedbrown.org>
Co-authored-by: sliptonic <shopinthewoods@gmail.com>
Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>

* in progress

* Gtest added

* With changes from Assembly

* Add flag for GTest

* Flag to suppress OndselSolverMain

---------

Co-authored-by: Brad Collette <bradcollette@pop-os.localdomain>
Co-authored-by: mosfet80 <realeandrea@yahoo.it>
Co-authored-by: PaddleStroke <pierrelouis.boyer@gmail.com>
Co-authored-by: Jed Brown <jed@jedbrown.org>
Co-authored-by: sliptonic <shopinthewoods@gmail.com>
Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>
2024-08-30 15:19:30 -06:00
huguesdpdn
20845a39cc Correct compilation warnings with exceptions (#76) 2024-08-15 16:38:24 -06:00
aiksiongkoh
3d6a23a678 Cmake gtest (#72)
* Check rackpin and gear for zero radii

* rebase zero-radii-check (#69)

* contributing

* Update push-freecad.yml

updated actions/checkout to v4

* dragging log for debugging

* fix calcdxNorm crash

* setDebug and remove MBDyn*

* Update cmakelists.txt

* fix includes for gcc-14

gcc-14 is more disciplined about not including <algorithm> transitively.

* fix runDragStep

* backhoe files (#65)

* Mark unused variables to silence compiler warnings. (#64)

* Backhoe issues (#67)

* backhoe issues

* runDragStep edit

* backhoe issues

* runDragStep edit

* Reduce large drag step progressively until convergence.

* Switch to using built-in M_PI, even on MSVC (#68)

---------

Co-authored-by: Brad Collette <bradcollette@pop-os.localdomain>
Co-authored-by: mosfet80 <realeandrea@yahoo.it>
Co-authored-by: PaddleStroke <pierrelouis.boyer@gmail.com>
Co-authored-by: Jed Brown <jed@jedbrown.org>
Co-authored-by: sliptonic <shopinthewoods@gmail.com>
Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>

* in progress

* Gtest added

---------

Co-authored-by: Brad Collette <bradcollette@pop-os.localdomain>
Co-authored-by: mosfet80 <realeandrea@yahoo.it>
Co-authored-by: PaddleStroke <pierrelouis.boyer@gmail.com>
Co-authored-by: Jed Brown <jed@jedbrown.org>
Co-authored-by: sliptonic <shopinthewoods@gmail.com>
Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>
2024-07-30 14:45:59 -06:00
Pieter Hijma
2b48cda825 Fix various compiler warnings 2024-06-27 20:45:29 +02:00
aiksiongkoh
9058e0849d Backhoe issues (#67)
* backhoe issues

* runDragStep edit

* backhoe issues

* runDragStep edit

* Reduce large drag step progressively until convergence.
2024-06-24 22:24:38 -06:00
Chris Hennes
79a1e4ed4c Mark unused variables to silence compiler warnings. (#64) 2024-06-24 17:23:28 -06:00
aiksiongkoh
a0ed650e0e backhoe files (#65) 2024-06-23 19:13:04 -06:00
Aik-Siong Koh
a36daffb8d fix runDragStep 2024-06-11 17:33:40 -05:00
Aik-Siong Koh
aa0d5ada2e setDebug and remove MBDyn* 2024-04-25 13:35:10 -06:00
Aik-Siong Koh
18a8b5cecf fix calcdxNorm crash 2024-04-24 16:22:29 -06:00
Aik-Siong Koh
5e19e4acd2 dragging log for debugging 2024-04-22 14:44:10 -06:00
Aik-Siong Koh
8d3aecbcfb Limits output issue. 2024-04-08 23:01:06 -06:00
Aik-Siong Koh
55963abe51 rackPin issue. 2024-04-08 21:54:34 -06:00
Aik-Siong Koh
c3c6903f1f setmotionJoint and TranslationLimit 2024-04-03 13:56:16 -06:00
Aik-Siong Koh
ad4a563b42 Implement Limits 2024-04-03 08:56:40 +02:00
Aik-Siong Koh
3a9e7cecab size_t and const 2024-04-03 08:56:40 +02:00
Aik-Siong Koh
85557e1fa4 AllowRotation and size_t 2024-04-03 08:56:40 +02:00
aiksiongkoh
fe99ad2593 Solve dragging (#47)
runPreDrag, runDragStep, runPostDrag, PosICDragNewtonRaphson
2024-01-11 14:28:38 +01:00
Aik-Siong Koh
5907363be7 rackscrew.asmt now runs.
CMakeLists.txt

gitignore

rackscrew.asmt now runs.

CMakeLists.txt

remove cached assembly.asmt
2023-12-13 14:52:16 -06:00
Aik-Siong Koh
2bb83b82c0 CompoundJoints debugged 2023-12-12 15:27:26 -07:00
John Dupuy
87ed8700e2 modify code to suppress or fix warnings in gcc and clang (#41)
* first fix to start branch PR

* explicit conversion from sizet to int

* Array.h and DiagonalMatrix.h

* many sizet to int conversions

* removed some unused variables and added expl overrides

* removed many unused parameters

* more typing

* even more

* last of the easy changes
2023-12-08 10:00:00 -07:00
Aik-Siong Koh
2a3e026ee0 move includes 2023-12-01 00:36:06 -07:00
Aik-Siong Koh
c11cbc2c72 #include "ASMTKinematicIJ.h" 2023-12-01 00:20:50 -07:00
Aik-Siong Koh
7083905e59 MacOS edits 2 2023-11-30 22:25:48 -07:00
Aik-Siong Koh
9b1529f3ed Templates working again 2023-11-30 20:58:49 -07:00
Aik-Siong Koh
e0241dd6d2 New joints for ASMT and MBDyn
GearJoint, RackPinion, Screw, Planar and MBDynCase3orig.mbd
MBDyn Sperical Hinge
2023-11-29 09:40:30 -07:00
PaddleStroke
6f4fca7efb Werner compil warning (#32)
* Replace int by size_t in for loops.

* Various dtor missing and some other warning fixes.

* fixed size_t vs int

* fixed size_t vs int

---------

Co-authored-by: Paddle <PaddleStroke@users.noreply.github.com>
Co-authored-by: Aik-Siong Koh <askoh@askoh.com>
2023-11-16 13:32:13 -07:00
Aik-Siong Koh
9e3d6b336b Good version for ASMT and MBDyn 2023-11-14 09:33:24 -07:00
Aik-Siong Koh
678d03db1f ASMT output, MBDyn input and output done. 2023-11-14 09:05:46 -07:00
John Dupuy
c406ad8b00 DiagonalMatrix is now double only also. 2023-11-06 19:44:07 -06:00
John Dupuy
67bef75bab hides FullMatrix; instances FullMatrixDouble FullMatrixFullMatrixDouble 2023-11-03 21:16:49 -05:00
John Dupuy
8dbb49d032 stopping point 2023-11-03 13:57:11 -05:00
Aik-Siong Koh
4360daddf3 OndselSolver can read and write *.asmt files 2023-10-19 10:51:51 -06:00
Aik-Siong Koh
84cb979354 crank_slider.mbd MBDyn file working 2023-10-17 07:57:02 -06:00
Paddle
61943686c4 Adds 'solve' function to ASMTAssembly.
Simplify runSinglePendulumSuperSimplified() more
2023-10-09 16:56:43 +02:00
Paddle
9fd22a5504 Change the project name from MbDCode to OndselSolver. 2023-10-04 18:35:36 +02:00