1
創建問題的代碼的一部分被粘貼到下方,並且附加運行代碼期間發生的錯誤。請幫助,如果有人有任何想法解決這個'numpy.ndarray'對象不可調用錯誤3
from numpy import*
import numpy as np
from scipy import integrate
from matplotlib.pylab import*
from numpy import matrix
from numpy import linalg
import scipy
import mcat
import ompc
from matplotlib import pyplot
#Radius of the wheel
rw = 3.25
#Distance between two wheels
lw = 11.2
#sampling time interval
deltat = 0.01
#The initial position of 3 landmarks and the robot (0,0,pi/2)
x=np.empty((100,1,9))
x(mslice[:], mslice[:], 1).lvalue = mcat([0, OMPCSEMI, 0, OMPCSEMI, 0, OMPCSEMI, 15.5, OMPCSEMI, 23.9, OMPCSEMI, 21.8, OMPCSEMI, 35.6, OMPCSEMI, 23.3, OMPCSEMI, 40.7])
#The center of 3 landmarks
L = mcat([15.5, 23.9, OMPCSEMI, 21.8, 35.6, OMPCSEMI, 23.3, 40.7])
D = mcat([1, 0, OMPCSEMI, 0, 1])
錯誤:
嘗試並將您的錯誤消息包含在文本中,而不是圖片:它更容易閱讀並使其可通過搜索引擎進行索引 –