-
Notifications
You must be signed in to change notification settings - Fork 26
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
additional_data leads to configuration error #1005
Comments
Hey @Kazadhum , I would say that if we deprecated it then perhaps its better not to include it again. |
I would propose that you do a new field called something like continuous data or something, How do you propose to store the (continuous) imu messages? |
Yes, I don't need it, so I think I agree with you that it's not worth including again.
This is exactly what I have implemented at the moment. So I have a top-level |
Removed the commented additional_data field that was added for testing after deciding to not implement it.
Sounds good. But the imu should be the sensor name and as such should be an instance like name, e.g. arm imu or imu 1. One other thing. How will you have the collection stamp? From the data in the collections, i.e., transforms, or sensor data ... |
You're right, changing this in the configuration...
Currently, it looks like this: I believe this is the same organization as in the collections for other sensors, with the sensor data at the same level as the header. |
Renamed 'imu' sensor to 'imu_hand', to be more explicit.
Yes, that's it. Thanks. |
Thank you! Closing this issue now... |
Hi @miguelriemoliveira!
As discussed in #1000, I'm implementing continuous data collection for the additional data, just like I did for the regular sensor data. So, I added the following to my config.yaml for testing:
As a small aside, I got this structure from these lines of code:
atom/atom_calibration/src/atom_calibration/collect/data_collector.py
Lines 295 to 299 in 7122ad1
Upon trying to configure, this error popped up and the configuration failed:
I traced the origin of this error back to this:
atom/atom_core/src/atom_core/config_io.py
Lines 40 to 46 in 7122ad1
And so, it seems like the template for configuration file does not have the
additional_data
field.I opened this issue to discuss whether or not it is worth it to include it again. It should be relatively easy to do, but I ask because maybe it was deleted from the template for a reason, and ultimately would only be useful for when we want to capture data from a sensor the pose of which we do not want to calibrate. However, at least the data collector script seems ready to receive
additional_data
in the configuration. To maintain backwards compatibility, I would have to add an exception to that error in theverifyConfig()
function, like I did for thecontinuous
sub-field.What do you think I should do?
The text was updated successfully, but these errors were encountered: