jacobnzw / SSMToybox

Nonlinear Sigma-Point Kalman Filters based on Bayesian Quadrature
MIT License
12 stars 0 forks source link

Can't set radar location in Radar2DMeasurement #17

Closed jacobnzw closed 5 years ago

jacobnzw commented 5 years ago

radar_loc is not being set in the initializer.

    def __init__(self, noise_rv, dim_state, state_index=None, radar_loc=None):
        super(Radar2DMeasurement, self).__init__(noise_rv, dim_state, state_index)
        # set default radar location
        if radar_loc is None:
            self.radar_loc = np.array([0, 0])
jacobnzw commented 5 years ago

Already fixed and tested.