Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'Series' object has no attribute 'data' #9

Open
sujeet33 opened this issue Sep 12, 2021 · 0 comments
Open

'Series' object has no attribute 'data' #9

sujeet33 opened this issue Sep 12, 2021 · 0 comments

Comments

@sujeet33
Copy link

preparing data...
data prepared
identifying attitude dynamics...
Traceback (most recent call last):
File "/home/sujeet/anaconda3/envs/ulog_tools/bin/ulog_tools_pid_design", line 8, in
sys.exit(main())
File "/home/sujeet/anaconda3/envs/ulog_tools/lib/python3.7/site-packages/ulog_tools/control_opt.py", line 73, in main
res = ut.sysid.attitude_sysid(data, plot=args.plot, verbose=args.verbose)
File "/home/sujeet/anaconda3/envs/ulog_tools/lib/python3.7/site-packages/ulog_tools/_sysid.py", line 223, in attitude_sysid
y=series_diff(bandpass.apply(data['f_gyro_rad_0'])),
File "/home/sujeet/anaconda3/envs/ulog_tools/lib/python3.7/site-packages/ulog_tools/_sysid.py", line 42, in series_diff
dx = np.gradient(series.data, order)
File "/home/sujeet/anaconda3/envs/ulog_tools/lib/python3.7/site-packages/pandas/core/generic.py", line 5487, in getattr
return object.getattribute(self, name)
AttributeError: 'Series' object has no attribute 'data'

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

No branches or pull requests

1 participant