Formulation

已查看 31 次
跳至第一个未读帖子

Sparsh Jain

未读,
2017年7月20日 08:05:512017/7/20
收件人 Ceres Solver
Question:
I am trying to understand DynamicAutoDiffCostFunction through the robot_pose_mle example as provided in the documentation. I was wondering that if I need to introduce Paramter constraints for parameter_blocks, then how will I have to formulate it? Since the SetParameterLowerBound accepts only parameters of the form *double.

Sameer Agarwal

未读,
2017年7月20日 08:45:032017/7/20
收件人 Ceres Solver
Sparsh,

 The parameter block constraints are set in Problem, how are they connected to DynamicAutoDiffCostFunction? are you worried about the template parameters ? you don't need to worry about them as evaluation of the cost function is decoupled from how parameters bounds are enforced. And the templated methods get instantiated with doubles and with Jets.

Sameer


On Thu, Jul 20, 2017 at 5:05 AM Sparsh Jain <spar...@gmail.com> wrote:
Question:
I am trying to understand DynamicAutoDiffCostFunction through the robot_pose_mle example as provided in the documentation. I was wondering that if I need to introduce Paramter constraints for parameter_blocks, then how will I have to formulate it? Since the SetParameterLowerBound accepts only parameters of the form *double.

--
You received this message because you are subscribed to the Google Groups "Ceres Solver" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ceres-solver...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ceres-solver/d6c8b8e8-b3df-47f7-bf2c-2d8e1ffcc98b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Sparsh Jain

未读,
2017年7月21日 07:19:322017/7/21
收件人 Ceres Solver
I think I framed my question a little wrong. In the DynamicAutoDiffCostFunction, is it possible to use both a parameter, whose size is known at runtime, and a parameter whose size i know beforehand? I need to keep the latter constant.

Sameer Agarwal

未读,
2017年7月21日 11:41:572017/7/21
收件人 Ceres Solver

I am still confused.
Do you want to keep the size constant or the value constant?
Both are possible.


Sparsh Jain

未读,
2017年7月23日 11:28:572017/7/23
收件人 Ceres Solver
I want to keep the size constant. One of the parameters have a variable size, and the other has a constant size. Is it possible to define them using DynamicAutoDiffCostFunction?
If yes, Please guide me how. Thank you

Sameer Agarwal

未读,
2017年7月23日 16:34:272017/7/23
收件人 Ceres Solver
Sparsh,
I am still not sure what he problem is that is holding you back. Just use DynamicAutoDiffCostFunction, it will do what you need.
Sameer


On Sun, Jul 23, 2017 at 8:28 AM Sparsh Jain <spar...@gmail.com> wrote:
I want to keep the size constant. One of the parameters have a variable size, and the other has a constant size. Is it possible to define them using DynamicAutoDiffCostFunction?
If yes, Please guide me how. Thank you

--
You received this message because you are subscribed to the Google Groups "Ceres Solver" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ceres-solver...@googlegroups.com.
回复全部
回复作者
转发
0 个新帖子