-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SafetyObserverCodeGeneration #34
Comments
Just for information, who is publishing |
There's a node called https://github.com/rosin-project/metacontrol_sim/blob/MVP_world/scripts/safety_distance_publisher.py It uses filtered laser data to get the closest distance |
@darkobozhinoski Thanks for the information! Solved by: rosin-project/rosin-experiments#5 The resulted auto-generated model file fits perfectly to the observer code:
and the autogenerated python code looks:
this confirms that the observer generator works fine and the global RosSystem model is correct! 🎉 🎉 NOTE: I had to add two new nodes that correspond to gazebo plugins (the simulation of the base controllers and the imu sensor), but I think that make sense to have both there. |
These are the topics to which the observer needs to subsbscirbe:
topics = [("/odom", Odometry), ("/imu/data", Imu), ("/d_obstacle", Float32)]
The code to the observer is here
The text was updated successfully, but these errors were encountered: