-
-
Save qiaoxu123/75fec9fab77680966b5629430f0ec2b6 to your computer and use it in GitHub Desktop.
NameError Traceback (most recent call last)
in
----> 1 class Bicycle(Bicycle):
2 def step(self, v, w):
3 self.xc = self.xc + v * np.cos(self.theta + self.beta) * self.sample_time
4 self.yc = self.yc + v * np.sin(self.theta + self.beta) * self.sample_time
5 self.theta = self.theta + ((v * np.cos(self.beta) * np.tan(self.delta)/self.L)) * self.sample_timeNameError: name 'Bicycle' is not defined
how to remove this error
just run the former cells
can you help me . i face few problem. i do not get it where this file is saved and i face one problem
NameError Traceback (most recent call last)
in
1 sample_time = 0.01
2 time_end = 30
----> 3 model.reset()
4
5 t_data = np.arange(0,time_end,sample_time)
NameError: name 'model' is not defined
In 121, I am getting this message
File "", line 17
model.xc = 0
^
IndentationError: unexpected indent
The order of compilation is what decides that part
make sure you compiled the cell above the cell where you're typing