Yangbo Long
  • Male
  • United States
Share Twitter

Yangbo Long's Friends

  • Qingchen Liu
  • Altaf
  • Nate Miller
  • Hindole Dutta
  • vaqas afzal
  • Andreas M. Antonopoulos
  • entropia666
  • Igor van Airde
  • Ed Kirk
  • Arash Kalantari
  • Kirill
  • Andrew Tridgell
  • Eloi Pereira
  • Iman Sadeghzadeh
  • palo sestak

Yangbo Long's Groups

Yangbo Long's Discussions

IR sensor implementation problem

Started this discussion. Last reply by Reck Jan 16. 4 Replies

Hi-,Recently I tried to add IR sensors to APM board for obstacle avoidance. I am using an APM1 board, and an expansion port on the IMU shield board to receive analog-in data from an IR sensor. A…Continue

 

Yangbo Long's Page

Latest Activity

Yangbo Long replied to Aryeh Marks's discussion Changing Control Allocation
"How is your control allocation going on? Did you implement the pseudo inverse method onboard? "
Feb 20
Reck replied to Yangbo Long's discussion IR sensor implementation problem
"Hi! I try to implement my IR sensors on my code and wondered where you put those lines in Attitude.pde : if(obstacle)target_angle += 3000; // increase roll angle by 30 deg if obstacle detected, to keep away from the obstacle Did you create a new…"
Jan 16
Yangbo Long replied to John Whitney's discussion all sensors are zero??? in the group ArduCopter User Group
"Try upload the firmware using the mission planner, instead of the Arduino IDE. You might get it working this way."
Nov 25, 2012
Yangbo Long replied to Yangbo Long's discussion IR sensor implementation problem
"Hi Chris, I have solved the problem by replacing AP_AnalogSource_ADC with class AP_AnalogSource_Arduino when defining object SharpIR_analog_source. Now the IR sensor works fine. But isn't the AP_AnalogSource_ADC class for APM1?"
Nov 25, 2012

3D Robotics
Chris Anderson replied to Yangbo Long's discussion IR sensor implementation problem
"That was for the original ArduPilot (not Mega). They used differential IR sensors. These IR sensors are different, and are the ones we already use for distance/obstacle sensing on ArduRover. "
Nov 24, 2012
Yangbo Long posted a discussion

IR sensor implementation problem

Hi-,Recently I tried to add IR sensors to APM board for obstacle avoidance. I am using an APM1 board, and an expansion port on the IMU shield board to receive analog-in data from an IR sensor. A Maxsonar is hook up too.Then I used the visual micro debugger to read out the variable values. I found that SharpIR_dist kept being 20 without any change, which means the IR sensor is never working. Any help? Thanks in advance.The codes I added in the program are as below:In the ArduCopter.pde:#define…See More
Nov 24, 2012
Yangbo Long replied to Seth Bourne's discussion Using Eclipse for ArduPilot Mega Development in the group Learning to program the Ardupilot Mega
"Aaron, Thank you so much. In the past, there were just a lot of errors using Eclipse. Now everything is good, errors no longer exist, only some warnings are there."
Aug 21, 2012
Yangbo Long commented on Igor van Airde's blog post ArduCopter: Changing from PI to PID to improve stability
"@Roy, palo sestak has told me where these objects are defined. Many thanks to him. Thank you all well. Actually in your original assumptation, what you described is a trajectory tracking problem, i.e., tracking a desired attitude with a speed of 10…"
Aug 1, 2012
Yangbo Long commented on Igor van Airde's blog post ArduCopter: Changing from PI to PID to improve stability
"Hi Roy, I read the discussion and comments here. I also read the PID libraries. But I have difficulities to find these functions or objects:wrap_180, constrain, ahrs.roll_sensor, roll_rate_d_filter.applyBecause I failed to set up Eclipse on my…"
Jul 28, 2012
Yangbo Long replied to Seth Bourne's discussion Using Eclipse for ArduPilot Mega Development in the group Learning to program the Ardupilot Mega
"How do you feel using Netbeans for code scanning? Is it convenient?"
Jul 27, 2012
Yangbo Long replied to rick's discussion Arducopter ESC PWM update rate
"Hi Jasonshort, I noticed that for the quadrotor configuration, pin 1-4 output 490hz pwm signals, pin 5-6 output 50hz pwm, while pin 7-8 don't output any signal (always low). If I want to add one more channel to output 490 hz pwm, what changes…"
Jul 4, 2012

Profile Information

About Me:
A phd student, working on small UAV.
Tell us a bit about your UAV interest
Nonlinear control design and implementation; over-actuated system optimization.

Comment Wall

  • No comments yet!

You need to be a member of DIY Drones to add comments!

Join DIY Drones

 
 
 

Social Networking

Contests

Season Two of the Trust Time Trial (T3) Contest has now begun. The fourth round is an accuracy round for multicopters, which requires contestants to fly a cube. The deadline is April 14th.

A list of all T3 contests is here

Advertisement

© 2013   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service