Raúl
Moderator
 Moderator
| Posts: 591 |  | Karma: 10
|
Re:simulated sonar and it being on a robot - 2008/10/12 13:27
Yes, it would work in the simulation environment without a robot. However, the code would had to be changed in order in insert the sonar entity as a parent object, and not a child of the robot base. The drawback of this approach would be that the sonar would remain static in place. But if you want to use it as a movement detector, it will do the job.
The differences between my simulated sonar and your sonar data reader are:
- The simulated sonar has a simulation entity associated. - The simulated sonar calculate sonar range measurements based on a raytracing procedure done in the simulation. - The sonar log reader retrieve the range data just by reading a file.
Raúl Arrabales Moreno. conscious-robots.com/raul |