Ticket #1085 (new defect)

Opened 6 months ago

soy.controllers.Pathfollower segfaults

Reported by: DarrielKremov Owned by:
Priority: Medium Milestone: beta3
Component: soy.controllers Version: Trunk
Keywords: Cc:

Description

If I try to use soy.controllers.Pathfollower, I get segmentation fault.

Example code to get segfault:

#!/usr/bin/env python3

import soy
from time import sleep

scene = soy.scenes.Scene()
body = soy.bodies.Box(soy.atoms.Position((-3, 0.25, 0)),
			material=soy.materials.Colored('red'))
controller = soy.controllers.Pathfollower(scene, body, (soy.atoms.Position((10,10,10)), soy.atoms.Position((-3,5,12)), soy.atoms.Position((0,0,0))), 0.1)

if __name__ == '__main__' :
	while True:
		print("Current Position: {},".format(body.position))
		sleep(1)

Note: See TracTickets for help on using tickets.