Comments (4)
Hi, Clay! This seems like a good fix, thanks. My first thought is -- why not just change the output to lossless and not add a precision parameter? If there is no immediate need for reduced precision, let's not add the extra complexity. It could always be added later if a necessary use case is discovered. I don't think reduced file size is a compelling need.
With no additional parameter, I don't think a new unit test would be required. With an API change, I do think a small test would be required to ensure that it works and keeps working in the future.
Regards, Sherm
from simbody.
Sherm, thanks for the response. What you suggest { just changing the output to lossless always } would be simplest. And, as you say, it can change later pretty simply if a need arises.
Do you care about how I deal with the trailing whitespace in String.h?
I am inclined to do two PRs:
PR1 to get rid of the trailing whitespace in String.h (and perhaps also Xml.h), and
PR2 to make the output precision change to lossless.
from simbody.
Two PRs would be ideal, thanks.
from simbody.
#776 and #779 add the capacity to convert numerical types to SimTK::String
s and Xml::Element
values.
from simbody.
Related Issues (20)
- Usage of SimTK::Vec for custom types. HOT 1
- Incoming PR - Improvement to ExponentialSpringForce HOT 4
- The OBJ file parser should ignore all kinds of whitespace for face (`f`) commands HOT 2
- TestBigMatrix fails on mips64el and ppc64el architectures HOT 8
- Rack Pinion Mobilizer HOT 3
- Problem when weighting integration accuracy
- TestCustomConstraints (Failed) on x86_64
- "No such file or directory" HOT 6
- Visualizer crashes when drive letters don't match HOT 7
- Cannot compile in C++20 if a compilation unit uses `MultibodyGraphMaker.h`
- `getContiguousScalarData` has different behavior for `RowVector` and `RowVectorView` HOT 3
- Variable precision for String::String(const T& t) and Xml::setValueAs(const T& t) HOT 3
- Simbody Visualization not working on MacOS HOT 1
- Specifying XML output precision with an optional argument causes a bug for variables of type bool HOT 1
- TestXML fails on Windows 11, Visual Studio 2022 with a Release build. HOT 2
- Expose `SimbodyMatterSubsystemRep::multiplyByPVATranspose` to `SimbodyMatterSubsystem` HOT 2
- Visaulization HOT 1
- Simbody core aborted while using it with gazebo classic after loading a SDF. HOT 6
- Efficiently calculating a subset of a system's body and mobility forces HOT 2
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 simbody.