Git Product home page Git Product logo

Comments (11)

andreadelprete avatar andreadelprete commented on September 26, 2024

I don't have a strong opinion on this, so I'd tend to agree with you, unless somebody thinks this is a good idea. I suggest to wait a couple of days to make sure nobody is against this for some good reasons, and then you can change it.

from tsid.

jcarpent avatar jcarpent commented on September 26, 2024

I think the naming pos, vel and acc are misleading in fact. Another naming would be expected here I would say.

from tsid.

andreadelprete avatar andreadelprete commented on September 26, 2024

Maybe we could replace vel with rate_of_change? But what could we use to replace pos? And acc?

from tsid.

pFernbach avatar pFernbach commented on September 26, 2024

It could be value, time_derivative,
time_second_derivative ?

from tsid.

andreadelprete avatar andreadelprete commented on September 26, 2024

I like value! Maybe I'd go for first_time_derivative and second_time_derivative though.

from tsid.

jcarpent avatar jcarpent commented on September 26, 2024

Yes, I do agree that value seems more appropriete.

from tsid.

andreadelprete avatar andreadelprete commented on September 26, 2024

@pFernbach Do you plan to do the PR? Or should I do it instead?

from tsid.

pFernbach avatar pFernbach commented on September 26, 2024

Sorry I forgot about, I'll do it next week. Do you confirm the following changes:

  • rename TrajectorySample::pos, vel, acc to value, time_derivative, second_time_derivative
  • Adapt all the C++ code
  • Set the current python API with pos, vel, acc deprecated and add a new one with value, time_derivative, second_time_derivative

from tsid.

andreadelprete avatar andreadelprete commented on September 26, 2024

Yes, that was the plan, but now that I think about it, since a trajectory is a function of time only, maybe we don't need to specify that the derivatives are wrt time. Therefore, we could simplify the names to value, derivative, second_derivative. What do you think?

from tsid.

pFernbach avatar pFernbach commented on September 26, 2024

Yes it make sense, I don't think that there could be any confusion.

from tsid.

andreadelprete avatar andreadelprete commented on September 26, 2024

Shall we close this now?

from tsid.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.