Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
d42e0de
Added simultor functions to reset
Jul 19, 2022
796cd48
orca radius for new agents changed from 0.7 to 0.4, to help it pass b…
Jul 19, 2022
171f1fb
Added methods, structure for random scenario generation start and goa…
Jul 20, 2022
1fef809
Made CoHAN, Inhus and rvo2 humans take random start and goal positions
Jul 22, 2022
41a9d49
All agents velocity set to zero before simulator start point reset
Jul 25, 2022
1ac335c
Added logic for start and end positions to be around 5 meters distanc…
Jul 25, 2022
b8e6a97
Added min and max distance between generating start and goal poses, m…
Jul 26, 2022
b31a3dd
Added variables for rvo2 simulator parameters, executing the plan onl…
Jul 27, 2022
90c069d
Made minimum distance between the agents as 1.25 meters
Jul 27, 2022
31d16be
Goal as intermediate queue and intermediate commit
Jul 28, 2022
326b137
Intermediate commit
Jul 28, 2022
995f46a
format & update random scenario goal selection
franklinselva Jul 28, 2022
fff051f
formatted using black
franklinselva Jul 28, 2022
6fd9f08
changes for goals
Jul 28, 2022
b0234c0
add multiple goal positions for agents
franklinselva Jul 28, 2022
98b5b12
working random scenario generation
Jul 28, 2022
002c197
Working code for long random scenario generation
Jul 28, 2022
650247a
Marker added for tracking agents, need to add marker arrow properly
Aug 10, 2022
069d1d4
Agent visualisation
Sep 6, 2022
928a51c
Parameter changes and changes in source code for agent behaviour
Sep 6, 2022
43a5553
gui test
Sep 6, 2022
5184a76
Changes in parameter yaml file and a seperate configuration file to c…
Sep 6, 2022
615b589
simple movebase trial run changes
Sep 6, 2022
6bbda6a
Added changes for randomisation, costmaps, test scripts and map images
Sep 6, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 56 additions & 0 deletions DEADJOE
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@

*** These modified files were found in JOE when it aborted on Wed Jul 27 18:06:39 2022
*** JOE was aborted because the terminal closed

*** File '/home/vvigneshba/ros_ws/InHuS_Social_Navigation/.git/COMMIT_EDITMSG'
#
# Committer: Vijayan Vignesh-Balaji <vvigneshba@esparrou.laas.fr>
#
# On branch random_scenario_generation
# Changes to be committed:
# modified: random_scenario_generation.py
#
# Changes not staged for commit:
# modified: ../../../../agents_layer/src/agents_layer.cpp
# modified: ../../../../cohan_planner_multi/hateb_local_planner/src/visualization.cpp
# modified: ../../../../inhus_system/inhus_navigation/maps/laas_adream/goals.xml
# modified: ../../../../inhus_system/inhus_navigation/rviz/inhus.rviz
# modified: ../configs/data_gui.py
# modified: ../configs/laas_adream.yaml
# modified: ../configs/publish_circles.py
# modified: ../launch/global_costmap.yaml
# modified: ../scenarios/pr2_laas_adream_human.py
# modified: ../test.py
#
# Untracked files:
# ../configs/laas_adream_original.yaml
# ../configs/test.yaml
# laas_adream.jpg
# obstcale_extraction.py
# ref-packages.txt
# transformations.py
#

*** File '(Unnamed)'
sda
cx
cxx
cxxcccc

*** File '(Unnamed)'
/home/vvigneshba/iGibson/.git/COMMIT_EDITMSG
/home/vvigneshba/iGibson/.git/COMMIT_EDITMSG
* Build Log *
/home/vvigneshba/ros_ws/cohan_multi_ws/src/cohan_planner_multi/.git/COMMIT_EDITMSG
* Build Log *
* Build Log *
* Build Log *
* Build Log *
* Build Log *
/home/vvigneshba/ros_ws/InHuS_Social_Navigation/.git/COMMIT_EDITMSG

*** File '* Startup Log *'
Processing '/etc/joe/editorrc'...
Processing '/etc/joe/ftyperc'...
Finished processing /etc/joe/ftyperc
Finished processing /etc/joe/editorrc
4 changes: 2 additions & 2 deletions src/agents_layer/src/agents_layer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@ void AgentsLayer::updateCosts(costmap_2d::Costmap2D& master_grid, int min_i, int

if (inrad > rad)
continue;
double val = 254;
unsigned char cvalue = (unsigned char) val;
// double val = costmap_2d::LETHAL_OBSTACLE;
unsigned char cvalue = costmap_2d::LETHAL_OBSTACLE; //(unsigned char) val;
costmap->setCost(i + mx, j + my, std::max(cvalue, old_cost));
}
}
Expand Down
15 changes: 11 additions & 4 deletions src/cohan_planner_multi/hateb_local_planner/src/visualization.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -740,10 +740,17 @@ void TebVisualization::publishTrackedAgents(const cohan_msgs::TrackedAgentsConst
arrow.scale.z = 0.05;

// Set the color -- be sure to set alpha to something non-zero!
marker.color.r = 0.0f;
marker.color.g = 1.0f;
marker.color.b = 0.0f;
marker.color.a = 1.0;
if(i == 1) {
marker.color.r = 1.0f;
marker.color.g = 0.0f;
marker.color.b = 1.0f;
marker.color.a = 1.0;
} else {
marker.color.r = 0.0f;
marker.color.g = 1.0f;
marker.color.b = 0.0f;
marker.color.a = 1.0;
}

arrow.color.r = 1.0f;
arrow.color.g = 1.0f;
Expand Down
2 changes: 1 addition & 1 deletion src/inhus_system/inhus/launch/boss.launch
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<launch>
<arg name="ns_human" default="human1"/>
<arg name="ns_robot" default=""/>
<arg name="ns_robot" default="smb"/>
<!-- ns_robot = "" or "smb" -->
<arg name="map_name" default="laas_adream"/>

Expand Down
4 changes: 2 additions & 2 deletions src/inhus_system/inhus/src/humanBehaviorModel_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1127,10 +1127,10 @@ void HumanBehaviorModel::testSeeRobot()

// check if the robot is in the field of view of the human
// (without obstacles)
if(this->testFOV(robot_pose_offset, human_pose_offset, fov_))
if(true || this->testFOV(robot_pose_offset, human_pose_offset, fov_))
{
// check if there are obstacles blocking the human view of the robot
if(this->testObstacleView(human_pose_offset, robot_pose_offset))
if(true || this->testObstacleView(human_pose_offset, robot_pose_offset))
{
// the human sees the robot
//ROS_INFO("HBM: I SEE");
Expand Down
4 changes: 2 additions & 2 deletions src/inhus_system/inhus/src/supervisor_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ void Supervisor::FSM()
}

// Check if blocked
if(ros::Time::now() - last_check_ > check_freq_.expectedCycleTime())
/*if(ros::Time::now() - last_check_ > check_freq_.expectedCycleTime())
{
ros::spinOnce();
inhus::ActionBool srv;
Expand All @@ -235,7 +235,7 @@ void Supervisor::FSM()
global_state_ = SUSPENDED;
}
last_check_ = ros::Time::now();
}
}*/
}
break;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ static_layer:

inflater_layer:
enabled: true
inflation_radius: 0.6 # 1.75 # max. distance from an obstacle at which costs are incurred for planning
inflation_radius: 1,0 #0.6 # 1.75 # max. distance from an obstacle at which costs are incurred for planning
cost_scaling_factor: 9.0 # 2.58 # exponential rate at which the obstacle cost drops off (default: 10)
inflate_unkown: true

Expand All @@ -25,7 +25,7 @@ obstacle_layer:
scan:
data_type: LaserScan
topic: robot_pose_LaserScan
marking: true
marking: false
clearing: true
inf_is_valid: true
min_obstacle_height: 0.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ global_costmap:
robot_base_frame: human1/base_footprint
update_frequency: 10.0
publish_frequency: 10.0
robot_radius: 0.3
robot_radius: 0.5 #0.3

plugins:
- {name: static_layer, type: "costmap_2d::StaticLayer"}
- {name: obstacle_layer, type: "costmap_2d::ObstacleLayer"}
- {name: inflater_layer, type: "costmap_2d::InflationLayer"}
# - {name: agents_layer, type: "agents_layer::AgentsLayer"} # ADDED CAN BE REMOVED
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ TebLocalPlannerROS:

# Obstacles

min_obstacle_dist: 0.3
min_obstacle_dist: 0.7 #0.3
inflation_dist: 1.0
include_costmap_obstacles: true
obstacle_association_force_inclusion_factor: 0.0
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<launch>

<!-- Rviz -->
<node name="rviz" pkg="rviz" type="rviz" args="-d inhus.rviz" />

</launch>
Loading