tecnalia-advancedmanufacturing-robotics / godel

ROS-Industrial Focused Technical Project: Robotic Blending
2 stars 1 forks source link

Add service to set scan poses #13

Closed asierfernandez closed 4 years ago

asierfernandez commented 4 years ago

Adds a service to choose different scan poses. If no service is called, scan poses calculated based on some parameters stored in parameter server. This process is not dynamic, so I added a service to include an option to set desired scan poses. For trajectory generation between poses, the same method has been kept.

hectorherrero commented 4 years ago

Tested providing 2 valid poses:

rosservice call /surface_blending_service/set_scan_poses "poses: header: seq: 0 stamp: secs: 0 nsecs: 0 frame_id: '' poses:

If invalid poses are given the scan process fails and waits until valid poses are provided.

Simply as a comment, generating valid quaternions by hand is complicated, I suppose the poses will be generated from another source or tool, right?

asierfernandez commented 4 years ago

Still need to be defined how scan poses will be generated. There are different options, a node could provide such service, poses could be defined within a yaml file, the state itself could compute some aleatory scan poses...

I don't know if there is any requirement for scan poses