surgical-robotics-ai / surgical_robotics_challenge

Interactive Robot Assisted Suturing Simulation
55 stars 43 forks source link

Error on loading the surgical robotics challenger simulator #7

Closed mikami520 closed 2 years ago

mikami520 commented 2 years ago

When use the command "./ambf_simulator --launch_file ~/ Desktop/surgical_robotics_challenge/launch.yaml -l 0,1,3,4,13,14 -p 200 -t 1", the program will give an error that is "terminate called after throwing an instance of 'YAML::TypedBadConversion' what(): yaml-cpp: error at line 0, column 0: bad conversion Aborted (core dumped)" Could you please help me solve this issue?

Screenshot from 2021-10-21 23-46-12

Screenshot from 2021-10-21 23-46-42

adnanmunawar commented 2 years ago

Thank you for raising this issue. Let me first confirm if you have 1) Checked out the ambf-2.0 branch and 2) Built it successfully as per the instructions

mikami520 commented 2 years ago

Thank you for raising this issue. Let me first confirm if you have

1. Checked out the `ambf-2.0` branch and

2. Built it successfully as per the [instructions](https://github.com/WPI-AIM/ambf/tree/ambf-2.0)

I did follow the instruction, the ambf-2.0 can work on the simple example like "./ambf_simulator -l 4", but only not work on the surgical challenge examples.

adnanmunawar commented 2 years ago

Can you try building AMBF once more by going to the ambf/build folder and running cmake followed by make.

mikami520 commented 2 years ago

Can you try building AMBF once more by going to the ambf/build folder and running cmake followed by make.

I am sorry, I just use ambf-1.0 instead of ambf-2.0. The issue has been solved, thanks!