Added the simulation for the overarching simulation#27
Added the simulation for the overarching simulation#27ste93 wants to merge 42 commits intoconvince-project:mainfrom
Conversation
Signed-off-by: Stefano Bernagozzi <stefano.bernagozzi@iit.it>
Signed-off-by: Stefano Bernagozzi <stefano.bernagozzi@iit.it>
Signed-off-by: Stefano Bernagozzi <stefano.bernagozzi@iit.it>
Signed-off-by: Stefano Bernagozzi <stefano.bernagozzi@iit.it>
…r, and modified btcpp_executor.cpp Signed-off-by: Beniamino Squitieri <beniamino.squitieri@iit.it>
Signed-off-by: Beniamino Squitieri <beniamino.squitieri@iit.it>
Signed-off-by: Beniamino Squitieri <beniamino.squitieri@iit.it>
880cf5a to
818dfb9
Compare
Signed-off-by: Beniamino Squitieri <beniamino.squitieri@iit.it>
Signed-off-by: Stefano Bernagozzi <stefano.bernagozzi@iit.it>
Signed-off-by: Stefano Bernagozzi <stefano.bernagozzi@iit.it>
Signed-off-by: Stefano Bernagozzi <stefano.bernagozzi@iit.it>
Signed-off-by: Beniamino Squitieri <beniamino.squitieri@iit.it>
Signed-off-by: Stefano Bernagozzi <stefano.bernagozzi@iit.it>
Signed-off-by: Stefano Bernagozzi <stefano.bernagozzi@iit.it>
Signed-off-by: Stefano Bernagozzi <stefano.bernagozzi@iit.it>
Signed-off-by: Beniamino Squitieri <beniamino.squitieri@iit.it>
Signed-off-by: Beniamino Squitieri <beniamino.squitieri@iit.it>
Signed-off-by: Beniamino Squitieri <beniamino.squitieri@iit.it>
Signed-off-by: Beniamino Squitieri <beniamino.squitieri@iit.it>
…or changes Increase RobotState publish rate in tutorial_sim run (state_pub_rate=5.0) to improve timing of dynamic Place resolution. Make translate_component object resolution robust with current manipulated_object, default fallback, last seen value, and short wait window. Keep forwarding semantics unchanged and update simulation/tutorial_sim READMEs with clear behavior and run guidance. Signed-off-by: Beniamino Squitieri <beniamino.squitieri@iit.it>
|
This PR is about all the changes that have been done in order to make all the BT working in simulation folder with pyrobotsim tools. |
Signed-off-by: Beniamino Squitieri <beniamino.squitieri@iit.it>
Signed-off-by: Beniamino Squitieri <beniamino.squitieri@iit.it>
|
Don't think this causes any issues on my end - for reference the PR for the refine-plan portion of the demo is here: #28 |
Signed-off-by: Enrico Ghiorzi <enrico.ghiorzi@edu.unige.it>
Signed-off-by: Karim Pedemonte <karim.pedemonte@edu.unige.it>
…cution by fixing workspace/container startup configuration, adding a single-command orchestration to launch the full stack with selectable behavior tree and automatic shutdown on completion, resolving missing runtime dependencies, hardening node shutdown/reset handling to avoid teardown errors, reducing duplicate ROS logging noise, and correcting location-search behavior to use deterministic blackboard-driven progression with simulator-valid targets while preserving the original BT logic; additionally migrate the custom place skill definition to the updated model format. Signed-off-by: Beniamino Squitieri <beniamino.squitieri@iit.it>
- Add xml properties to main_locations - Add xml properties to main_locations_failures_unhandled - Add xml properties to main_locations_w_failures Signed-off-by: Enrico Ghiorzi <enrico.ghiorzi@edu.unige.it>
ea503af to
b6c55ac
Compare
…cution by fixing workspace/container startup configuration, adding a single-command orchestration to launch the full stack with selectable behavior tree and automatic shutdown on completion, resolving missing runtime dependencies, hardening node shutdown/reset handling to avoid teardown errors, reducing duplicate ROS logging noise, and correcting location-search behavior to use deterministic blackboard-driven progression with simulator-valid targets while preserving the original BT logic; additionally migrate the custom place skill definition to the updated model format. Signed-off-by: Beniamino Squitieri <beniamino.squitieri@iit.it>
b6c55ac to
4fbd8b9
Compare
Signed-off-by: Enrico Ghiorzi <enrico.ghiorzi@edu.unige.it>
…tieri/data-model into fix/overarching-simulation Signed-off-by: Enrico Ghiorzi <enrico.ghiorzi@edu.unige.it>
53acf0c to
715c3e2
Compare
Signed-off-by: Beniamino Squitieri <beniamino.squitieri@iit.it>
Signed-off-by: Beniamino Squitieri <beniamino.squitieri@iit.it>
…rticular the bt_plugin bt_ros2_action.ascxml has been added to fix this requirement Signed-off-by: Beniamino Squitieri <beniamino.squitieri@iit.it>
Strings `fridge` and `dining_table` were missing single quotes. Signed-off-by: Enrico Ghiorzi <enrico.ghiorzi@edu.unige.it>
|
@ste93 @BeniaminoSquitieri I pushed a small fix to the policies that apparently fixed the base version of the model ( Any idea what this might be about? |
…properties. Signed-off-by: Enrico Ghiorzi <enrico.ghiorzi@edu.unige.it>
|
The last commit fixes the roaml issues I had and makes the models work as intended when verified with Scan. |
- The location is called `'table'` in the model, not `'dining_table'` Signed-off-by: Enrico Ghiorzi <enrico.ghiorzi@edu.unige.it>
- In the model, the snack is dropped on the table, not taken to the start location Signed-off-by: Enrico Ghiorzi <enrico.ghiorzi@edu.unige.it>
… all BTs (without XML changes), aligned detect/pick fallback behavior and reduced noisy warnings, exposed the same option in the launch file, cleaned duplicated README instructions, and clarified that the selected object must already be spawned in the pickup location (with reference to the world config file) Signed-off-by: Beniamino Squitieri <beniamino.squitieri@iit.it>
|
Compared to my last test, this branch now breaks verification because of wrong quotes. Model will have lines such as: |
|
Also, trace shows robot drifting to -1000 which I think it was never supposed to do: Time, Origin, Target, Event, Values, parent: string, x: float64, y: float64
1000, world, NONE, topic_robot_loc_msg, "[ros_fields__parent: 1, ros_fields__x: -990, ros_fields__y: 0]", 1, 4, 2 |
|
After a little investigation, I think the culprit is in the policy <NavigateToLocation name="navigate_to_obj" location="'fridge'" />requesting navigation to <ros_action_handle_goal name="act_nav" target="handle_nav_request">
<assign location="goal_id" expr="_action.goal_id" />
<if cond="_goal.location_id == 'start'">
<assign location="req_loc" expr="location_start" />
<elseif cond="_goal.location_id == 'table'" />
<assign location="req_loc" expr="location_table" />
<else/>
<assign location="req_loc.x" expr="-1000" /> <!-- Dummy x value, should never happen! -->
</if>
<ros_action_accept_goal name="act_nav" goal_id="goal_id" />
</ros_action_handle_goal>I don't know if this has to be fixed changing the BT or including the |
|
replicated in convince-project/overview#37 |
Added the simulation with pyrobosim