Skip to content

Configuration extraction & novel sampling#2

Open
slamajakub wants to merge 1 commit into
comrob:masterfrom
slamajakub:novel_sampling
Open

Configuration extraction & novel sampling#2
slamajakub wants to merge 1 commit into
comrob:masterfrom
slamajakub:novel_sampling

Conversation

@slamajakub

Copy link
Copy Markdown

Adding novel functionality -- vehicle configuration can be queried at a specific distance along the manuever, new sampling function sample_path which samples based on sampling step rather than number of samples (old function compute_sampling kept for back-compatibility). Other changes in old implementation such that new and updated functions are used to prevent code duplication.

…cs & changes related to usage of new functions
Comment thread src/dubinsmaneuver3d.jl
function compute_sampling(self::DubinsManeuver3D; numberOfSamples::Number = 1000)
Dlat, Dlon = self.path
lena = Dlon.maneuver.length
samplingStep = lena/(numberOfSamples-1)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not numerically stable. The sampling has been fixed in this commit.

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

Successfully merging this pull request may close these issues.

2 participants