Hi. The pose calibration on my Notochord (stable/master) fails with a segmentation fault reported in web server logs. The Blender add-on also fails.
My setup has a minor tweak, as channel 2 isn't working, hence I've placed 'base' on channel '5'.
I've dumped the calibration data (csv & json) and fed it into pose-calib on my computer, that worked.
Maybe the error happens when applying the calibration...? I haven't tried to run pose-calib on the Pi yet.
So I switched to the development version's of the module and control-server:
- http://notochord.local/ now collides with a REST endpoint, but http://notochord.local/home works
- http://notochord.local/pose collides with a REST endpoint for the animation
- when i used the pose/ endpoints to run a calibration I got multiple
Fatal error, terminating: Invalid sensor calibration found (0x46001b), ver: -1291
messages.
- a call to /pose/data logs:
Empty DataFrame
Columns: [time(msec), node_label, q_w, q_x, q_y, q_z, g_x, g_y, g_z, a_x, a_y, a_z, m_x, m_y, m_z]
Index: []
- a call to /pose/index logs
Insights/Advices much appreciated. 🙂
P.S.
I'm back on the official release again and notochord-module
, file pyx/notochord/calibration.pyx
I added a check
def apply_calibration(pre_quat_dict, post_quat_dict):
if get_runtime().get_armature().get() == NULL:
raise Exception("No Armature")
and now get an exception instead of a segfault during /pose/run
.