-
Notifications
You must be signed in to change notification settings - Fork 11
rotors driver first prototype #176
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
Conversation
iamarkaj
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove the unnecessary comments and spaces. The "firefly" model is missing inside drone_assets.
| return True, 0 | ||
| elif not req and 0.0<=self.current_z<0.3: | ||
| rospy.loginfo("Firefly Disarming") | ||
| self.__is_armed = False |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure if disarming when I might be flying is a good idea. If I'm landing at 0.2m height I'll be disarmed but flying, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
solved in latest changes..these were some unresolved contradictions and I've solved with little changes
|
|
||
| self.frame_id = self.current_state.header.frame_id | ||
|
|
||
| if self.current_z<0.1: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not bad, but it can be done better as finite state machine. Called from arming and takeoff/land methods
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
solved in latest commits
for interfacing drone wrapper and rotors sim